DocumentationWorkflowsApps and services

Mailchimp node

Add a subscriber to a Mailchimp list (audience) or list subscribers of a list. Learn how to configure it, map inputs and outputs, run a test and resolve common errors.

8 min readUpdated

What this node does

Add a subscriber to a Mailchimp list (audience) or list subscribers of a list.

Use Mailchimp as a clearly defined step in an anymize workflow.

  • Processes one input.
  • Provides one output for following steps.
  • Runs as a regular step in the flow.

Set up the node

  1. 01Open a workflow and add Mailchimp from the node catalog.
  2. 02Store the credentials in Workflow Secrets and select them in the "Mailchimp API key" field.
  3. 03Complete the required fields and map values from previous steps.
  4. 04Run the node with a small test record and inspect its output.
  5. 05Connect the successful output and activate the workflow after an end-to-end test.

Operations and modes

Choose the required function in Action. The panel then shows the relevant settings.

  • Add subscriber
  • List subscribers

Settings

FieldMeaningArea
Mailchimp API keyPick the workflow secret that holds your Mailchimp API key (format "<key>-<dc>", e.g. "...-us21"). The key itself is never stored in the workflow.Protected
ActionChoices: Add subscriber, List subscribersStandard
List/Audience IDThe ID of your Mailchimp list (audience). Find it in Mailchimp under Audience → Settings → Audience name and defaults.Standard
Email addressEmail address of the subscriber to add.Standard
StatusSubscription status the new contact should get.Standard
Extra fieldsOptional merge fields like first name (FNAME) or last name (LNAME), depending on your Mailchimp field setup.Standard
CountHow many subscribers to load (1-1000, default 10).Standard
OffsetWhere in the list to start loading from (for pagination).Standard
Run once per itemOff (default): the node runs once for the whole input. On: if it receives several items (e.g. from Split Out), it runs once PER item, and {{ $json }} is that one item each time. This is how you work through a file list entry by entry.Standard
If one item fails"Skip" writes an `error` field for the failed item and keeps processing the rest, instead of losing the whole run to a single unreadable file.Standard
Pause between items (milliseconds)Wait before every run except the first. 1000 = 1 second per item. Useful when the other side would otherwise throttle you. Maximum 300000 (5 minutes).Standard

Inputs and outputs

InputMeaningType
StandardReceives the complete result from the previous step.JSON
OutputMeaningType
StandardMakes the result available to the next step as JSON.JSON

This node can process lists item by item. Error handling and the delay between items are available in advanced settings.

Example and test run

Subscribe a new newsletter contact from a form to Mailchimp: begin with a small, recognizable record. Inspect the output and only map fields that are present there.

Test-run example

{
  "list_id": "a1b2c3d4e5",
  "email": "kontakt@beispiel.de",
  "status": "subscribed",
  "merge_fields": {
    "FNAME": "Ada",
    "LNAME": "Lovelace"
  }
}

Access and security

The credentials live in a Workflow Secret that you select in the "Mailchimp API key" field. The workflow only holds the secret's name, never the key itself.

If you also have a Mailchimp connection under Connectors, its "Allowed actions" setting applies to this node too, even though the node works with a Workflow Secret, and it is checked on every run. With "Read only" or "Read and draft", only the read actions run: List subscribers. These actions need "Allow changes": Add subscriber.

Keys and credentials belong in Workflow Secrets or your connected accounts. Never paste them as plain text into workflow fields, test data or descriptions.

Troubleshooting

  • No output: inspect the latest run and confirm that the previous node returned the expected fields.
  • Empty variable: open the previous step output and use a field name from the real test data.
  • Action blocked: set "Allowed actions" of the connection under Connectors to "Allow changes", or pick a read action.
  • List processed once: enable per-item execution in advanced settings.