Mailchimp is a popular marketing automation platform and email marketing service used by businesses to manage and talk to contacts (clients, customers, or other interested parties) using mailing lists and email marketing campaigns. Use this connector to sort your contacts based on their interests and preferences.
Mailchimp Interest Categories uses audiences, groups, and interest categories (also known as group names or group titles). Each Mailchimp group is a list of interest categories. Contacts are associated with an interest category when they subscribe to one or more interest categories through a signup form on your website. Within an audience, you can also organize the contacts into groups and associate them with interest categories, and these can then be used to create segments. You can use these audiences to broadcast targeted campaign emails to the subscribed contacts.
This Adobe Experience Platform destination uses the Mailchimp batch subscribe or unsubscribe API API to create interest categories and then add contacts from each of the selected Platform audiences into a corresponding interest category. You can add new contacts or update the information of existing Mailchimp contacts, then add or remove them from their desired groups within an existing Mailchimp audience after activating them within a new segment. Mailchimp Interest Groups uses the selected audience names from Platform as interest categories within Mailchimp.
To help you better understand how and when you should use the Mailchimp Interest Categories destination, here is a sample use case that Adobe Experience Platform customers can solve by using this destination.
The sales department of a sport goods website wants to broadcast an email-based marketing campaign to a list of contacts who have self-identified themselves as being interested in soccer. The lists of contacts are segregated as batches in the data export received from the development team of the website and therefore need to be tracked. The team identifies an existing Mailchimp audience and starts building the Experience Platform audiences into which the contacts from each list are added. After sending these audiences to Mailchimp Interest Categories, if any contacts do not exist in the selected Mailchimp audience they get added to a group with the audience name that the contact belongs to. If any contacts already exist in the Mailchimp audience or group, then their information is updated. Once the data is sent over to Mailchimp Interest Categories, the Sales team can select and send the marketing campaign email to the soccer interest group within the Mailchimp audience.
Refer to the sections below for any prerequisites that you need to set up in Experience Platform and Mailchimp and for information that you must gather before working with the Mailchimp Interest Categories destination.
Before activating data to the Mailchimp Interest Categories destination, you must have a schema, a dataset, and segments created in Experience Platform.
Note the following prerequisites in order to export data from Platform to your Mailchimp account:
Before you can create a Mailchimp Interest Categories destination, you must first ensure that you have a Mailchimp account. If you do not have one already, visit the Mailchimp signup page to register and create your account.
You need your Mailchimp API key to authenticate the Mailchimp Interest Categories destination against your Mailchimp account. The API key serves as the Password when you authenticate the destination.
If you do not have your API key, Sign in to your account and refer to the Mailchimp Generate your API key documentation to create one.
An example of an API key is 0123456789abcdef0123456789abcde-us14
.
If you generate the API key, write it down as you will not be able to access it after generation.
Next, you must identify your Mailchimp data center. To do this, log in to your Mailchimp account and navigate to the API keys section of your account.
The value is the first part of the URL you see in your browser. If the URL is https://us14
.mailchimp.com/account/api/, then the data center is us14
.
It’s also appended to your API key in the form key-dc; if your API key is 0123456789abcdef0123456789abcde-us14
, then the data center is us14
.
Write down the data center value (us14
in this example), you need this value when you fill in destination details.
If you require further guidance, refer to the Mailchimp Fundamentals documentation.
Each of your Mailchimp audiences can contain up to 60 group names (or interest categories) in a single group or across several groups within the same audience. Refer to Mailchimp groups for any clarifications required. When you reach this limit, you get a 400 BAD_REQUEST Cannot have more than 60 interests per list (Across all categories)
message as an error response from the Mailchimp API.
Additionally, refer to the Mailchimp rate limits for detailed information about the limits imposed by the Mailchimp API.
Mailchimp supports the activation of identities described in the table below. Learn more about identities.
Target Identity | Description | Considerations |
---|---|---|
Contact email Address | Mandatory |
Refer to the table below for information about the destination export type and frequency.
Item | Type | Notes |
---|---|---|
Export type | Profile-based |
|
Export frequency | Streaming | Streaming destinations are “always on” API-based connections. When a profile is updated in Experience Platform based on audience evaluation, the connector sends the update downstream to the destination platform. Read more about streaming destinations. |
To connect to the destination, you need the View Destinations and Manage Destinations access control permissions. Read the access control overview or contact your product administrator to obtain the required permissions.
To connect to this destination, follow the steps described in the destination configuration tutorial. In the configure destination workflow, fill in the fields listed in the two sections below.
Within Destinations > Catalog, search for Mailchimp Interest Categories. Alternatively, you can locate it under the Email marketing category.
To authenticate to the destination, fill in the required fields below and select Connect to destination.
Field | Description |
---|---|
Username | Your Mailchimp Interest Categories username. |
Password | Your Mailchimp API key, which you had noted down in the Gather Mailchimp credentials section. Your API key takes the form of {KEY}-{DC} , where the {KEY} portion refers to the value noted down in the Mailchimp API key section and the {DC} portion refers to the Mailchimp data center. You can provide either the {KEY} portion or the entire form.For example, if your API key is 0123456789abcdef0123456789abcde-us14 ,you could provide either 0123456789abcdef0123456789abcde or 0123456789abcdef0123456789abcde-us14 as the value. |
If the details provided are valid, the UI displays a Connected status with a green check mark. You can then proceed to the next step.
To configure details for the destination, fill in the required and optional fields below. An asterisk next to a field in the UI indicates that the field is required.
Field | Description |
---|---|
Name | A name by which you will recognize this destination in the future. |
Description | A description that will help you identify this destination in the future. |
Data center | Your Mailchimp account data center . Refer to the Identify Mailchimp data center section for any guidance. |
Audience Name (Please select Data center first) | After you select your Data center, this dropdown is automatically populated with the audience names from your Mailchimp account. Select the audience that you want to update with data from Platform. |
Interest Category (Please select Data center and Audience Name first) | After you select your Audience Name, this dropdown is automatically populated with the interest group category names from your Mailchimp account. Select the category name that you want to update with data from Platform. |
If the API key you provided in the Password field or the Data center value are incorrect, the UI displays a Mailchimp API error response: No options are available. Please verify the values selected for the following dependent fields: dataCenter
as shown below. In this case, you are not be able to select a value from the Audience Name (Please select Data center first) field. To fix this error, provide the correct values.
You can enable alerts to receive notifications on the status of the dataflow to your destination. Select an alert from the list to subscribe to receive notifications on the status of your dataflow. For more information on alerts, see the guide on subscribing to destinations alerts using the UI.
When you are finished providing details for your destination connection, select Next.
Read Activate profiles and audiences to streaming audience export destinations for instructions on activating audiences to this destination.
To correctly send your audience data from Adobe Experience Platform to the Mailchimp Interest Categories destination, you must go through the field mapping step. Mapping consists of creating a link between your Experience Data Model (XDM) schema fields in your Platform account and their corresponding equivalents from the target destination.
To correctly map your XDM fields to the Mailchimp Interest Categories destination fields, follow the steps below:
In the Mapping step, select Add new mapping. You can now see a new mapping row on the screen.
In the Select source field window, choose the Select attributes category and select the XDM attribute or choose the Select identity namespace and select an identity.
In the Select target field window, choose the Select identity namespace and select an identity or choose Select attributes category and select from the list of attributes populated from the Mailchimp API. Any custom attributes that you have added to the selected Mailchimp Audience will also be available for selection as target fields.
The mappings available between your XDM profile schema and Mailchimp Interest Categories are as below:
Source Field | Target Field | Notes |
---|---|---|
IdentityMap: Email |
Identity: email |
Mandatory: Yes |
xdm: person.name.firstName |
Attribute: FNAME |
|
xdm: person.name.lastName |
Attribute: LNAME |
|
xdm: person.birthDayAndMonth |
Attribute: BIRTHDAY |
Additionally, ADDRESS
is a special target field known as a merge field
within your Mailchimp audience. The Mailchimp documentation defines the required keys as addr1
, city
, state
, and zip
, and the optional keys addr2
and country
. The values for these fields must be strings. If any of the ADDRESS
field mappings are present, the destination passes the ADDRESS
object to the Mailchimp API for update. Any ADDRESS
fields that are not mapped has its value default to NULL
except for country which defaults to US
.
The mappings available for the ADDRESS
field are as below:
Source Field | Target Field |
---|---|
xdm: workAddress.street1 |
Attribute: ADDRESS.addr1 |
xdm: workAddress.street2 |
Attribute: ADDRESS.addr2 |
xdm: workAddress.city |
Attribute: ADDRESS.city |
xdm: workAddress.state |
Attribute: ADDRESS.state |
xdm: workAddress.postalCode |
Attribute: ADDRESS.zip |
xdm: workAddress.country |
Attribute: ADDRESS.country |
For example, you want to update the value for country
with the contact’s existing address field addr1
, city
, state
, and zip
values as 132, My Street, Kingston
, New York
, New York
and 12401
. To update the country
you must pass the existing values with changes (if any) and the new value for country. So the values in your dataset should be 132, My Street, Kingston
, New York
, New York
, 12401
, and US
. To reiterate, if you only pass country
and do not provide values for addr1
, city
, state
, and zip
they will be overwritten by NULL
.
An example with the completed mappings is shown below:
When you have finished providing the mappings for your destination connection, select Next.
To validate that you have correctly set up the destination, follow the steps below:
All Adobe Experience Platform destinations are compliant with data usage policies when handling your data. For detailed information on how Adobe Experience Platform enforces data governance, see the Data Governance overview.
If the API key you provided in the Password field or the Data center value are incorrect, the UI displays a Mailchimp API error response: No options are available. Please verify the values selected for the following dependent fields: dataCenter
as shown below. In this case, you are not able to select a value from the Audience Name (Please select Data center first) field.
To fix this error and proceed to the next step, you must provide the correct values. Refer to the Identify Mailchimp data center and
Gather Mailchimp API key sections if you need guidance.
When creating the destination, you might receive the following error messages: Cannot have more than 60 interests per list (Across all categories)
or 400 BAD_REQUEST
. This happens when you exceed the 60 group names (or interest categories) in a single group or across several groups within the same audience limit, as described in the guardrails section. To fix this error, make sure you are not exceeding the group name limit in Mailchimp.
Refer to the Mailchimp errors page for a comprehensive list of status and error codes with explanations.
Additional useful information from the Mailchimp documentation is below: