Skip to main content

Mailchimp Connector

Mailchimp Interact with email campaign lists and e-commerce resources.

Connections

Mailchimp API Key

Authenticate requests to Mailchimp using an API Key

To authenticate with Mailchimp using an API Key, generate a key from the Mailchimp account settings.

For detailed information about API key authentication, refer to Mailchimp's API quickstart guide.

Prerequisites

Setup Steps

To generate an API key:

  1. Navigate to the API Keys page in the Mailchimp account settings.
  2. Scroll to the Your API keys section.
  3. Click Create A Key to generate a new API key.
  4. Enter a descriptive name for the key (e.g., "Integration API Key").
  5. Copy the generated API key value.
API Key Format

Mailchimp API keys include a data center suffix (e.g., abc123def456-us21). The suffix after the hyphen indicates the data center where the account is hosted. This suffix is required for the API to route requests correctly.

Configure the Connection

  • Enter the full API Key (including the data center suffix) into the connection configuration.
InputCommentsDefault
API KeyThe Mailchimp API Key. Generate one in your Mailchimp account at Account > Extras > API Keys. The key includes a data center suffix.
Debug RequestWhen true, the component will log the request and response to the console.false

Mailchimp OAuth 2.0 Connection

Authenticate requests to Mailchimp using OAuth 2.0

To connect to Mailchimp using OAuth 2.0, an OAuth application must be registered in the Mailchimp account.

For detailed information about Mailchimp OAuth, refer to the Mailchimp OAuth 2.0 documentation.

Prerequisites

Setup Steps

  1. Navigate to the Mailchimp OAuth Apps page in the Mailchimp account settings.
  2. Click Register an App to create a new OAuth application.
  3. Fill in the required fields:
    • App Name: A descriptive name for the application
    • App Description: A brief description of what the application does
    • Redirect URL: https://oauth2.integrations.acme.com/callback
  4. Click Create to register the application.
  5. Once created, copy the Client ID and Client Secret values displayed on the app details page.

Configure the Connection

  • Enter the Client ID and Client Secret from the registered OAuth application.
  • The Authorize URL and Token URL are pre-configured with the correct Mailchimp endpoints.

The connection is now ready to authenticate with Mailchimp.

This connection uses OAuth 2.0, a common authentication mechanism for integrations. Read about how OAuth 2.0 works here.

InputCommentsDefault
Client IDThe Client ID from your Mailchimp OAuth app. Find this in your Mailchimp account at Account > Extras > API Keys > OAuth 2.0.
Client SecretThe Client Secret from your Mailchimp OAuth app. Keep this value secure and never share it.
Debug RequestWhen true, the component will log the request and response to the console.false

Triggers

List Events Webhook

Receive list event notifications from Mailchimp. Automatically creates and manages a webhook subscription for selected event types when the instance is deployed, and removes the subscription when the instance is deleted.

InputCommentsDefault
ConnectionThe Mailchimp connection to use.
List IdThe unique identifier for the audience list. Find this in your Mailchimp account under Audience > Settings > Audience name and defaults.
EventsSelect the events that will trigger the webhook (e.g., subscribe, unsubscribe, profile update).
SourcesSelect the sources that should trigger the webhook. User: changes made by subscribers, Admin: changes made by account admins, API: changes made via the API.

Webhook

Receive webhook requests from Mailchimp for manually configured webhooks. Use this trigger when you want to configure webhooks directly in Mailchimp rather than having them auto-managed.

Actions

Add Customer

Add a new customer to a store

InputCommentsDefault
Store IdThe unique identifier for the e-commerce store.
Customer IdThe unique identifier for the customer.
EmailThe email address of the subscriber.
Opt In StatusWhen true, the customer is opted-in to receive marketing communications. This value will not overwrite the opt-in status of pre-existing list members but will apply to new members added through the e-commerce API. Customers who don't opt in will be added as Transactional members.false
CompanyThe company name.
First NameThe first name of the contact.
Last NameThe last name of the contact.
Address 1The first line of the street address.
Address 2The second line of the street address (apartment, suite, etc.).
CityThe city name.
Country CodeThe two-letter ISO country code (e.g., US, CA, GB).
Province CodeThe province code (primarily for Canadian addresses).
Postal CodeThe postal or ZIP code.
ProvinceThe province name (primarily for Canadian addresses).
CountryThe country name.
ConnectionThe Mailchimp connection to use.

Add List

Create a new list in your Mailchimp account

InputCommentsDefault
CompanyThe company name.
Address 1The first line of the street address.
Address 2The second line of the street address (apartment, suite, etc.).
CityThe city name.
StateThe state or region code.
Postal CodeThe postal or ZIP code.
PhoneThe phone number in E.164 format or local format.
CountryThe country name.
NameThe name of the audience list.
From EmailThe 'from' email address for the campaign.
From NameThe default 'from' name displayed for campaigns sent to this list.
SubjectThe subject line of the email.
LanguageThe default language for this list's forms (use ISO 639-1 language code).
Marketing PermissionsWhen true, the list has marketing permissions (e.g., GDPR) enabled.false
Email Type OptionWhen true, the list supports multiple email formats and subscribers can choose between HTML or plain-text emails. When false, subscribers will receive HTML emails with a plain-text alternative backup.false
Permission reminderThe permission reminder text explaining why subscribers are receiving emails.
ConnectionThe Mailchimp connection to use.

Add Member

Add a new member to a list

InputCommentsDefault
List IdThe unique identifier for the audience list. Find this in your Mailchimp account under Audience > Settings > Audience name and defaults.
EmailThe email address of the subscriber.
LanguageThe default language for this list's forms (use ISO 639-1 language code).
StatusThe subscriber's current status. Possible values: "subscribed", "unsubscribed", "cleaned", "pending", or "transactional".
Email TypeThe type of email format the member prefers: 'html' or 'text'.
Merge FieldsMerge fields (audience fields) as key-value pairs where the key is the merge tag. See Mailchimp's merge fields documentation.
TagsTags associated with the member. Provide a list of tag names.
InterestsInterest categories as key-value pairs where the key is the interest ID and the value is true/false.
VIPWhen true, marks the subscriber as a VIP member with priority status.false
ConnectionThe Mailchimp connection to use.

Add Webhook

Create a new webhook for a specific list/audience.

InputCommentsDefault
ConnectionThe Mailchimp connection to use.
List IdThe unique identifier for the audience list. Find this in your Mailchimp account under Audience > Settings > Audience name and defaults.
Webhook URLThe URL where the webhook will send requests. You can use this input to configure a component trigger.
EventsSelect the events that will trigger the webhook (e.g., subscribe, unsubscribe, profile update).
SourcesSelect the sources that should trigger the webhook. User: changes made by subscribers, Admin: changes made by account admins, API: changes made via the API.

Archive Member

Archive a list member

InputCommentsDefault
List IdThe unique identifier for the audience list. Find this in your Mailchimp account under Audience > Settings > Audience name and defaults.
SubscriberHashThe MD5 hash of the lowercase version of the list member's email address (32-character hex string). This endpoint also accepts plain email addresses in place of the hash.
ConnectionThe Mailchimp connection to use.

Delete Cart

Delete a specific cart

InputCommentsDefault
Store IdThe unique identifier for the e-commerce store.
Cart IdThe unique identifier for the cart.
ConnectionThe Mailchimp connection to use.

Delete Cart Line Items

Get information about a cart's line items.

InputCommentsDefault
Store IdThe unique identifier for the e-commerce store.
Cart IdThe unique identifier for the cart.
Line IdThe unique identifier for the cart line item.
ConnectionThe Mailchimp connection to use.

Delete Customer

Delete a customer from a store

InputCommentsDefault
Store IdThe unique identifier for the e-commerce store.
Customer IdThe unique identifier for the customer.
ConnectionThe Mailchimp connection to use.

Delete List

Delete a list from your Mailchimp account

InputCommentsDefault
List IdThe unique identifier for the audience list. Find this in your Mailchimp account under Audience > Settings > Audience name and defaults.
ConnectionThe Mailchimp connection to use.

Delete Member

Delete all personally identifiable information related to a list member, and remove them from a list. This will make it impossible to re-import the list member

InputCommentsDefault
List IdThe unique identifier for the audience list. Find this in your Mailchimp account under Audience > Settings > Audience name and defaults.
SubscriberHashThe MD5 hash of the lowercase version of the list member's email address (32-character hex string). This endpoint also accepts plain email addresses in place of the hash.
ConnectionThe Mailchimp connection to use.

Delete Order

Delete an order

InputCommentsDefault
Order IdThe unique identifier for the order in the store.
Store IdThe unique identifier for the e-commerce store.
ConnectionThe Mailchimp connection to use.

Delete Order Line Item

Delete an order Line Item

InputCommentsDefault
Order IdThe unique identifier for the order in the store.
Store IdThe unique identifier for the e-commerce store.
Line IdThe unique identifier for the cart line item.
ConnectionThe Mailchimp connection to use.

Delete Product

Delete a product from a store

InputCommentsDefault
Store IdThe unique identifier for the e-commerce store.
Product IdThe unique identifier for the product.
ConnectionThe Mailchimp connection to use.

Delete Webhook

Delete a webhook from a specific list/audience.

InputCommentsDefault
ConnectionThe Mailchimp connection to use.
List IdThe unique identifier for the audience list. Find this in your Mailchimp account under Audience > Settings > Audience name and defaults.
Webhook IDThe unique identifier for the webhook (10-character alphanumeric string).

Get Cart

Get information about a specific cart

InputCommentsDefault
Store IdThe unique identifier for the e-commerce store.
Cart IdThe unique identifier for the cart.
ConnectionThe Mailchimp connection to use.

Get Cart Line Item

Get information about a cart's specific line item

InputCommentsDefault
Store IdThe unique identifier for the e-commerce store.
Cart IdThe unique identifier for the cart.
Line IdThe unique identifier for the cart line item.
ConnectionThe Mailchimp connection to use.

Get Customer

Get information about a store's specific customer

InputCommentsDefault
Store IdThe unique identifier for the e-commerce store.
Customer IdThe unique identifier for the customer.
ConnectionThe Mailchimp connection to use.

Get List

Get information about a specific list in your Mailchimp account. Results include list members who have signed up but haven't confirmed their subscription yet and unsubscribed or cleaned.

InputCommentsDefault
List IdThe unique identifier for the audience list. Find this in your Mailchimp account under Audience > Settings > Audience name and defaults.
ConnectionThe Mailchimp connection to use.

Get Lists Info

Get information about all lists in the account

InputCommentsDefault
OffsetThe number of records to skip before returning results. Use with Count for pagination (e.g., offset 10 with count 50 returns records 11-60).
Result CountThe maximum number of results to return per page (1-1000). Defaults to 10 if not specified.
Fetch AllWhen true, automatically paginates through all results to fetch all records. The Count and Offset inputs are ignored when this is enabled.false
ConnectionThe Mailchimp connection to use.

Get Member

Get information about a specific list member, including a currently subscribed, unsubscribed, or bounced member

InputCommentsDefault
List IdThe unique identifier for the audience list. Find this in your Mailchimp account under Audience > Settings > Audience name and defaults.
SubscriberHashThe MD5 hash of the lowercase version of the list member's email address (32-character hex string). This endpoint also accepts plain email addresses in place of the hash.
ConnectionThe Mailchimp connection to use.

Get Order

Get information about a specific order

InputCommentsDefault
Store IdThe unique identifier for the e-commerce store.
Order IdThe unique identifier for the order in the store.
ConnectionThe Mailchimp connection to use.

Get Order Line Item

Get an order Line Item

InputCommentsDefault
Order IdThe unique identifier for the order in the store.
Store IdThe unique identifier for the e-commerce store.
Line IdThe unique identifier for the cart line item.
ConnectionThe Mailchimp connection to use.

Get Product

Get information about a specific product

InputCommentsDefault
Store IdThe unique identifier for the e-commerce store.
Product IdThe unique identifier for the product.
ConnectionThe Mailchimp connection to use.

Get Store

Get information about a specific store

InputCommentsDefault
Store IdThe unique identifier for the e-commerce store.
ConnectionThe Mailchimp connection to use.

Get Webhook

Get information about a specific webhook for a list/audience.

InputCommentsDefault
ConnectionThe Mailchimp connection to use.
List IdThe unique identifier for the audience list. Find this in your Mailchimp account under Audience > Settings > Audience name and defaults.
Webhook IDThe unique identifier for the webhook (10-character alphanumeric string).

List Account Orders

Get information about an account's orders

InputCommentsDefault
ConnectionThe Mailchimp connection to use.
Result CountThe maximum number of results to return per page (1-1000). Defaults to 10 if not specified.
OffsetThe number of records to skip before returning results. Use with Count for pagination (e.g., offset 10 with count 50 returns records 11-60).
Fetch AllWhen true, automatically paginates through all results to fetch all records. The Count and Offset inputs are ignored when this is enabled.false

List Campaigns

Get all campaigns in an account

InputCommentsDefault
Result CountThe maximum number of results to return per page (1-1000). Defaults to 10 if not specified.
OffsetThe number of records to skip before returning results. Use with Count for pagination (e.g., offset 10 with count 50 returns records 11-60).
Fetch AllWhen true, automatically paginates through all results to fetch all records. The Count and Offset inputs are ignored when this is enabled.false
ConnectionThe Mailchimp connection to use.

List Cart Line Items

Get information about a cart's line items.

InputCommentsDefault
Store IdThe unique identifier for the e-commerce store.
Cart IdThe unique identifier for the cart.
Result CountThe maximum number of results to return per page (1-1000). Defaults to 10 if not specified.
OffsetThe number of records to skip before returning results. Use with Count for pagination (e.g., offset 10 with count 50 returns records 11-60).
Fetch AllWhen true, automatically paginates through all results to fetch all records. The Count and Offset inputs are ignored when this is enabled.false
ConnectionThe Mailchimp connection to use.

List Carts

Get information about a store's carts

InputCommentsDefault
Store IdThe unique identifier for the e-commerce store.
OffsetThe number of records to skip before returning results. Use with Count for pagination (e.g., offset 10 with count 50 returns records 11-60).
Result CountThe maximum number of results to return per page (1-1000). Defaults to 10 if not specified.
Fetch AllWhen true, automatically paginates through all results to fetch all records. The Count and Offset inputs are ignored when this is enabled.false
ConnectionThe Mailchimp connection to use.

List Customers

Get information about a store's customers

InputCommentsDefault
Store IdThe unique identifier for the e-commerce store.
Result CountThe maximum number of results to return per page (1-1000). Defaults to 10 if not specified.
OffsetThe number of records to skip before returning results. Use with Count for pagination (e.g., offset 10 with count 50 returns records 11-60).
Fetch AllWhen true, automatically paginates through all results to fetch all records. The Count and Offset inputs are ignored when this is enabled.false
ConnectionThe Mailchimp connection to use.

List Members

Get information about members in a specific Mailchimp list

InputCommentsDefault
List IdThe unique identifier for the audience list. Find this in your Mailchimp account under Audience > Settings > Audience name and defaults.
Result CountThe maximum number of results to return per page (1-1000). Defaults to 10 if not specified.
OffsetThe number of records to skip before returning results. Use with Count for pagination (e.g., offset 10 with count 50 returns records 11-60).
Fetch AllWhen true, automatically paginates through all results to fetch all records. The Count and Offset inputs are ignored when this is enabled.false
ConnectionThe Mailchimp connection to use.

List Order Line Items

List Order Line items

InputCommentsDefault
Store IdThe unique identifier for the e-commerce store.
Order IdThe unique identifier for the order in the store.
Result CountThe maximum number of results to return per page (1-1000). Defaults to 10 if not specified.
OffsetThe number of records to skip before returning results. Use with Count for pagination (e.g., offset 10 with count 50 returns records 11-60).
Fetch AllWhen true, automatically paginates through all results to fetch all records. The Count and Offset inputs are ignored when this is enabled.false
ConnectionThe Mailchimp connection to use.

List Orders

List all the orders in a store

InputCommentsDefault
Store IdThe unique identifier for the e-commerce store.
Result CountThe maximum number of results to return per page (1-1000). Defaults to 10 if not specified.
OffsetThe number of records to skip before returning results. Use with Count for pagination (e.g., offset 10 with count 50 returns records 11-60).
Fetch AllWhen true, automatically paginates through all results to fetch all records. The Count and Offset inputs are ignored when this is enabled.false
ConnectionThe Mailchimp connection to use.

List Products

List all products from a store

InputCommentsDefault
Store IdThe unique identifier for the e-commerce store.
Result CountThe maximum number of results to return per page (1-1000). Defaults to 10 if not specified.
OffsetThe number of records to skip before returning results. Use with Count for pagination (e.g., offset 10 with count 50 returns records 11-60).
Fetch AllWhen true, automatically paginates through all results to fetch all records. The Count and Offset inputs are ignored when this is enabled.false
ConnectionThe Mailchimp connection to use.

List Stores

Get information about all stores in the account

InputCommentsDefault
ConnectionThe Mailchimp connection to use.

List Webhooks

List all webhooks configured for a specific list/audience.

InputCommentsDefault
ConnectionThe Mailchimp connection to use.
List IdThe unique identifier for the audience list. Find this in your Mailchimp account under Audience > Settings > Audience name and defaults.

Ping

Send a ping to determine the status of the Mailchimp servers

InputCommentsDefault
ConnectionThe Mailchimp connection to use.

Raw Request

Send raw HTTP request to Mailchimp

InputCommentsDefault
ConnectionThe Mailchimp connection to use.
URLInput the path only (/reporting/facebook-ads), The base URL is already included (https://${dc}.api.mailchimp.com/3.0). For example, to connect to https://${dc}.api.mailchimp.com/3.0/reporting/facebook-ads, only /reporting/facebook-ads is entered in this field.
MethodThe HTTP method to use.
DataThe HTTP body payload to send to the URL.
Form DataThe Form Data to be sent as a multipart form upload.
File DataFile Data to be sent as a multipart form upload.
File Data File NamesFile names to apply to the file data inputs. Keys must match the file data keys above.
Query ParameterA list of query parameters to send with the request. This is the portion at the end of the URL similar to ?key1=value1&key2=value2.
HeaderA list of headers to send with the request.
Response TypeThe type of data you expect in the response. You can request json, text, or binary data.json
TimeoutThe maximum time that a client will await a response to its request
Retry Delay (ms)The delay in milliseconds between retries. This is used when 'Use Exponential Backoff' is disabled.0
Retry On All ErrorsIf true, retries on all erroneous responses regardless of type. This is helpful when retrying after HTTP 429 or other 3xx or 4xx errors. Otherwise, only retries on HTTP 5xx and network errors.false
Max Retry CountThe maximum number of retries to attempt. Specify 0 for no retries.0
Use Exponential BackoffSpecifies whether to use a pre-defined exponential backoff strategy for retries. When enabled, 'Retry Delay (ms)' is ignored.false

Send Campaign

Send a Mailchimp campaign. For RSS Campaigns, the campaign will send according to its schedule. All other campaigns will send immediately.

InputCommentsDefault
Campaign IdThe unique identifier for the campaign (10-character alphanumeric string).
ConnectionThe Mailchimp connection to use.

Update Customer

Update a specific customer's information

InputCommentsDefault
Store IdThe unique identifier for the e-commerce store.
Customer IdThe unique identifier for the customer.
Opt In StatusWhen true, the customer is opted-in to receive marketing communications. This value will not overwrite the opt-in status of pre-existing list members but will apply to new members added through the e-commerce API. Customers who don't opt in will be added as Transactional members.false
CompanyThe company name.
First NameThe first name of the contact.
Last NameThe last name of the contact.
Address 1The first line of the street address.
Address 2The second line of the street address (apartment, suite, etc.).
CityThe city name.
ProvinceThe province name (primarily for Canadian addresses).
Province CodeThe province code (primarily for Canadian addresses).
Postal CodeThe postal or ZIP code.
CountryThe country name.
Country CodeThe two-letter ISO country code (e.g., US, CA, GB).
ConnectionThe Mailchimp connection to use.

Update List

Update the information or metadata of a list

InputCommentsDefault
List IdThe unique identifier for the audience list. Find this in your Mailchimp account under Audience > Settings > Audience name and defaults.
CompanyThe company name.
Address 1The first line of the street address.
Address 2The second line of the street address (apartment, suite, etc.).
CityThe city name.
StateThe state or region code.
Postal CodeThe postal or ZIP code.
PhoneThe phone number in E.164 format or local format.
CountryThe country name.
NameThe name of the audience list.
From EmailThe 'from' email address for the campaign.
From NameThe default 'from' name displayed for campaigns sent to this list.
SubjectThe subject line of the email.
LanguageThe default language for this list's forms (use ISO 639-1 language code).
Marketing PermissionsWhen true, the list has marketing permissions (e.g., GDPR) enabled.false
Email Type OptionWhen true, the list supports multiple email formats and subscribers can choose between HTML or plain-text emails. When false, subscribers will receive HTML emails with a plain-text alternative backup.false
Permission reminderThe permission reminder text explaining why subscribers are receiving emails.
ConnectionThe Mailchimp connection to use.

Update Member

Update a specific member in a given list

InputCommentsDefault
Skip Merge FieldsWhen true, member data will be accepted without merge field values, even if the merge field is usually required.false
List IdThe unique identifier for the audience list. Find this in your Mailchimp account under Audience > Settings > Audience name and defaults.
SubscriberHashThe MD5 hash of the lowercase version of the list member's email address (32-character hex string). This endpoint also accepts plain email addresses in place of the hash.
EmailThe email address of the subscriber.
LanguageThe default language for this list's forms (use ISO 639-1 language code).
StatusThe subscriber's current status. Possible values: "subscribed", "unsubscribed", "cleaned", "pending", or "transactional".
Email TypeThe type of email format the member prefers: 'html' or 'text'.
Merge FieldsMerge fields (audience fields) as key-value pairs where the key is the merge tag. See Mailchimp's merge fields documentation.
InterestsInterest categories as key-value pairs where the key is the interest ID and the value is true/false.
VIPWhen true, marks the subscriber as a VIP member with priority status.false
Marketing PermissionsThe marketing permissions for the subscriber as an array of objects. Each object should contain 'marketing_permission_id' and 'enabled' fields.
ConnectionThe Mailchimp connection to use.

Update Webhook

Update an existing webhook for a specific list/audience.

InputCommentsDefault
ConnectionThe Mailchimp connection to use.
List IdThe unique identifier for the audience list. Find this in your Mailchimp account under Audience > Settings > Audience name and defaults.
Webhook IDThe unique identifier for the webhook (10-character alphanumeric string).
Webhook URLThe URL where the webhook will send requests. You can use this input to configure a component trigger.
EventsSelect the events that will trigger the webhook (e.g., subscribe, unsubscribe, profile update).
SourcesSelect the sources that should trigger the webhook. User: changes made by subscribers, Admin: changes made by account admins, API: changes made via the API.