With Mailchimp, your automations add members to an audience, add and remove tags and send events that start a journey in Mailchimp. In the other direction, Mailchimp reports subscribes, unsubscribes, profile changes and undeliverable addresses so your member area can react to them.
Connect
- In Mailchimp, open Profile from your profile picture, then Extras and API keys. Click Create A Key and copy the key.
- In your member area, open Settings, then Integrations, and click Add Integration.
- Choose Mailchimp, paste the API key and save.
The data center is at the end of the key, for example -us6. Your member area
reads it on its own.
Actions in automations
Under Automations, add an action step, choose Mailchimp and the audience.
| Action | What happens |
|---|---|
| Create or Update Subscriber | Adds the member with first and last name and the fields from the Field mapping. Optionally with tags. |
| Add Tag | Adds one or more tags. |
| Remove Tag | Removes tags again. |
| Unsubscribe | Unsubscribes the contact from marketing emails. |
| Delete Contact | Deletes the contact for good, for example after a GDPR request. |
| Track Event | Sends an event such as course_completed to the contact. Use it to start a journey in Mailchimp. |
In the Field mapping, pick a Mailchimp field on the left, for example
PHONE, and enter a value or placeholder on the right, for example
{settings.phone}.
Address fields are not in the list: Mailchimp expects street, city and postal code separately and drops a single text. Create separate text fields for the address instead, for example ZIP and CITY.
If you turn on Send a confirmation email (double opt-in), Mailchimp only marks new contacts as subscribed once they confirm. Until then they are pending.
Track Event needs an event name of 2 to 30 letters, numbers, - or _.
Under Event properties you can pass values along, for example course
with Yoga or name with . The contact must already be in the audience. Put a
Create or Update Subscriber step before it.
If a call fails, the run shows as failed under Automations, with Mailchimp's answer.
React to events from Mailchimp
- When you save the connection, your member area creates a webhook in every audience on its own. You find it in Mailchimp under Audience, Settings, Webhooks. This webhook does not report changes your member area makes itself through the API, so no loops occur.
- Under Automations, create an automation with the Contact Event trigger from Mailchimp and choose the Event.
| Event in Mailchimp | Event in the trigger |
|---|---|
| Subscribes | Subscribed |
| Unsubscribes | Unsubscribed |
| Profile updates, Email changed | Profile updated |
| Cleaned address | Email bounced |
If you create a new audience in Mailchimp, save the connection under Integrations once more. The new audience then gets its webhook too.
When something does not arrive
- The audience picker shows an error. The API key is invalid or was deleted in Mailchimp. Create a new one and save the connection again.
- Track Event fails saying the contact is not in the audience. Put a Create or Update Subscriber step for the same audience before it.
- An event from Mailchimp does not start an automation. Check in Mailchimp under Audience, Settings, Webhooks that your member area's webhook exists. If it is missing, save the connection again. Steps that act on a member need a member with the same email address.
- A contact does not show up. Mailchimp does not re-add addresses it has cleaned as undeliverable or that unsubscribed themselves.