Mailchimp Sync: Audiences, Tags, Campaign Stats, Webhooks & E-commerce Revenue
by Viyug Infotech https://viyuginfotech.com$ 75.60

Audiences, campaigns and shop revenue in agreement.
Audiences linked to mailing lists, tags from Odoo filters, campaigns with their statistics, verified webhooks and an e-commerce store that shows which campaign earned the order. A Mailchimp account is required.
Two-way membersCampaign statsShop revenue
Free setup call with every purchase
After you buy, book a free 30-minute online call: we install the app with you and set it up for your company. Questions are answered within 24 hours, Monday to Saturday, at support@viyuginfotech.com or on WhatsApp (QR code at the end of this page).
Your list stays clean on both sides
Customers sign up in Odoo, unsubscribe in Mailchimp and buy in your shop. One sync keeps all three in agreement.
Before
- Contacts exported to CSV and imported by hand
- Unsubscribes in Mailchimp mailed again from Odoo
- Campaign results only visible in Mailchimp
- No idea which email brought the order
After
- Members and tags follow your contacts and filters
- Unsubscribes and bounces opt the contact out in Odoo
- Opens, clicks and revenue on every campaign and contact
- Orders carry the campaign that brought them
What you get
Audiences and mailing lists
Link each Mailchimp audience to an Odoo mailing list and, if you like, to a contact filter. New Odoo contacts join the audience, new Mailchimp members join the list.
Two-way member sync
Odoo sends new and changed members in batches of 500. Mailchimp changes come back every 30 minutes and at once through the webhook.
Mailchimp owns the status
Odoo sets the status only for new members (subscribed, double opt-in or transactional). Unsubscribes and cleaned addresses in Mailchimp opt the contact out in Odoo.
Merge fields to any field
Import the merge fields of the audience and map each to any contact field. Mark simple fields two-way so profile edits in Mailchimp update Odoo.
Tags from Odoo filters
A tag rule names a Mailchimp tag and the contact tags or filter that earn it. Odoo adds the tag when a member matches and removes it when they stop matching.
Campaigns from Odoo
Write or pick a Mailchimp template, choose the audience and a segment or tag, send a test, schedule on a quarter hour or send now after Mailchimp's own checklist.
Statistics and activity
Opens, clicks, bounces, unsubscribes and revenue per campaign, plus every open, click and bounce per recipient, linked to the contact.
E-commerce store
Products with variants, confirmed orders with payment and delivery status, and idle website carts for abandoned cart emails. Carts disappear once they become orders.
Revenue attribution
A click in a Mailchimp email lands with the campaign id; Odoo keeps it on the order and sends it with the order, so Mailchimp and Odoo both show campaign revenue.
Webhooks that cannot lie
The webhook address carries a secret token, and Odoo re-reads the member from the API before changing anything. Changes made by Odoo itself are not echoed back.
Queue with retry and dead letter
Rate limits pause the account, temporary errors retry with growing delays, refused addresses go to a review list with the reason from Mailchimp.
Batch operations
Export years of products and orders with Mailchimp batch operations while the store is marked as syncing, so old orders do not fire automations.
How it compares
| Feature | This app | Typical alternatives |
|---|---|---|
| API key readable by administrators only | Yes | Plain settings field |
| Subscription status owned by Mailchimp, never overwritten | Yes | Often overwritten |
| Webhook verified by re-reading the member | Yes | Payload trusted |
| Tags added and removed from Odoo filters | Yes | Import only |
| Merge fields mapped to any field, two-way | Yes | One way |
| Campaign revenue from email clicks on the order | Yes | No |
| Abandoned carts from website quotations | Yes | No |
| Opens, clicks and bounces per contact | Yes | Sometimes |
| Send checklist checked before sending | Yes | No |
| Permanent GDPR delete from the contact | Yes | No |
| Status differences report | Yes | No |
| Batch operations with per-item results | Yes | No |
| Payload preview per member | Yes | No |
How it works
Odoo to Mailchimp
Every 5 minutes changed contacts, opt-outs, tags, products, orders and idle carts are queued and sent in batches.
Mailchimp to Odoo
Webhooks and a pull every 30 minutes bring status changes, profile edits, campaign statistics and email activity.
Safety net
Payload hashes skip unchanged data, rate limits pause the account, failures retry and land in a review list.
Setup in 5 steps
- Install the app and open Mailchimp, Configuration, Connect Mailchimp.
- Paste your API key and press Test connection.
- Choose the audience and the Odoo mailing list (or let the wizard create one).
- Map merge fields and add tag rules on the audience.
- Optional: create the e-commerce store and press Export history.
Workflow walkthrough
Fictional companies, people and messages.
Paste the API key
Configuration, Connect Mailchimp. Paste the key from your Mailchimp profile and press Test connection: Odoo checks it and reads your audiences.

Choose the audience
Pick the audience, create or link an Odoo mailing list, decide whether contacts are sent too and let the wizard register the webhook and import the members.

The account at a glance
Members, campaigns, records to review and queued webhook events. Import audiences, campaigns and templates at any time.

Rules of the audience
Who goes out (the mailing list and an optional contact filter), what comes back (two-way profile, blacklist rules) and the live Mailchimp numbers.

Map merge fields
Every merge field of the audience with the Odoo field that fills it. City here is two-way: a change in Mailchimp updates the contact.

Tags from Odoo
VIP customers get the VIP tag, companies the Wholesale tag. Members that no longer match lose the tag on the next run.

Every member with its status
Mailchimp status, rating, open rate and sync state. A refused address and a rate-limited one wait in red with the reason.

Exactly what is sent
The payload preview shows the merge fields, the status for new members, the Odoo opt-out and the tags of this member.

Webhook events
Unsubscribe, profile, cleaned and email change events from Mailchimp. Each one is verified by reading the member again.

Status differences
Addresses that Odoo opts out but Mailchimp still has subscribed, or the reverse, so nobody is mailed by mistake.

Prepare a campaign
Audience, VIP tag as segment, subject, sender and content. Save it to Mailchimp, send a test, schedule or send.

Campaign statistics
Delivery, engagement and revenue imported from Mailchimp next to the orders Odoo attributes to the campaign.

Opens, clicks and bounces
Per recipient and campaign, with the clicked link, linked to the contact.

E-commerce store
Products, orders and open carts sent to the Mailchimp store of the audience, with the history export in batches.

Store sync queue
Every product, order and cart with its state. A refused product shows the reason and retries later.

Mailchimp on the contact
Audiences, status, rating and tags of the person, the latest opens and clicks, and a permanent delete button for privacy requests.

Sync log
Every call that failed or changed something, with the HTTP status.

Questions
What do I need on the Mailchimp side?
A Mailchimp account (the free plan works for audiences, tags, campaigns and statistics) and an API key from Profile, Extras, API keys. The key ends with your data center, for example -us21.
Is the key safe?
The key is stored in a field that only Mailchimp administrators in Odoo can read. Other users see the connection status, not the key.
Will Odoo resubscribe people who unsubscribed?
No. Mailchimp owns the subscription status. Odoo only sets the status of members that do not exist yet, and it sends an unsubscribe when a contact is opted out or blacklisted in Odoo.
Does the webhook need a public URL?
Yes, Mailchimp must reach your Odoo. Without it everything still works: member changes are pulled every 30 minutes.
Does it need Enterprise or eCommerce?
No. It works on Community and Enterprise with Email Marketing and Sales. Abandoned carts and campaign clicks on the shop need the website shop; delivery status appears when Inventory is installed.
How are existing contacts and orders loaded?
Export all contacts on the audience queues every member, sent in batches of 500. Export history on the store sends products and old orders with Mailchimp batch operations.
What happens on errors or rate limits?
Rate limits pause the account and the queue continues later. Temporary errors retry with growing delays; refused records go to a review list with the reason and a Send again button.
Multi-company?
Yes. Accounts, audiences, members, campaigns and stores belong to a company and follow the company rules.
Need a hand?
Questions about your audience setup? Write to us and Viyug Infotech will get back to you.
Email support: support@viyuginfotech.com
Website: viyuginfotech.com
Scan with your phone to chat on WhatsApp or write us an email:

+91 83207 42187

Send us an email
Release notes
Initial release
- Setup wizard, audiences linked to mailing lists and contact filters
- Two-way members, merge fields, tag rules, segments
- Campaigns, templates, statistics and email activity
- Verified webhooks for subscribe, unsubscribe, profile, email change and cleaned
- E-commerce store with products, orders, carts, revenue attribution and batch history export
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Contacts (contacts)
• Discuss (mail) • Email Marketing (mass_mailing) • Invoicing (account) |
| Lines of code | 2894 |
| Technical Name |
viyug_mailchimp_sync |
| License | OPL-1 |
| Website | https://viyuginfotech.com |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module