FlowKit

Connecting Mailchimp to n8n: audiences, tags, automations and AI

Published 1 August 2026 · 6 min read

Mailchimp remains one of the most widely deployed email marketing platforms, with a free tier generous enough for many small lists and a mature e-commerce integration ecosystem. The weak spot shows up as soon as your contacts arrive from several sources (website, CRM, store) or you want to trigger an email on a precise business event rather than a generic Mailchimp scenario. n8n fills that gap with a native Mailchimp node for audiences and campaigns, a Mailchimp Trigger that captures events in real time, and the REST API for anything the node doesn't expose. This guide covers authentication, the available operations, audience sync, AI use cases and the classic pitfalls (datacenter, tags, GDPR).

Setup: API key and datacenter

  1. In your Mailchimp account, open Account → Extras → API keys and generate a new key;
  2. The key looks like abcdef0123456789abcdef0123456789-us14: the characters after the dash (us14) identify the datacenter your account lives on — that suffix determines the API base URL (https://us14.api.mailchimp.com/3.0/);
  3. In n8n, create a Mailchimp API credential and paste the full key, suffix included: n8n extracts the datacenter automatically, nothing else to configure;
  4. An OAuth2 credential is available as an alternative if you'd rather not handle a static key, especially for an app distributed across several client accounts.

As with any API credential, create a key dedicated to n8n rather than reusing one from another tool: it can be revoked independently if needed.

The Mailchimp node: audiences, members, tags, campaigns

The node organizes its operations by resource:

  • List Group: list an audience's interest groups (the checkboxes contacts can pick at signup);
  • Member: create, update, delete and list an audience's members, with their merge fields and subscription status (subscribed, unsubscribed, cleaned, pending);
  • Member Tag: add or remove tags on a member — the main lever for segmenting without going through Mailchimp's native groups;
  • Campaign: get, list, duplicate (Replicate), resend (Resend), send (Send) or delete an existing campaign.

One thing to watch: the node does not offer creating a brand new campaign from scratch (subject, content, audience). For that, an HTTP Request node with the same credential calls POST /campaigns then PUT /campaigns/{id}/content on Mailchimp's REST API directly — useful for generating and publishing campaign drafts with AI without ever opening the Mailchimp interface.

Mailchimp Trigger: capturing events in real time

The Mailchimp Trigger node registers a webhook with Mailchimp itself when the workflow is activated (and removes it on deactivation), on the same principle as the classic n8n webhook mechanism. It listens to a selection of events per audience:

  • Subscribe / Unsubscribe — a new subscriber, a consent withdrawal;
  • Profile Updated / Email Address Updated — a contact changes their information or email address;
  • Cleaned — Mailchimp removed the address after a hard bounce;
  • Campaign Sent — a campaign for the audience was just sent.

This is the natural entry point for propagating an unsubscribe or a bounce to your CRM and other systems in real time, instead of discovering the drift during a monthly export.

Syncing an audience from your tools

The most common pipeline: a form, a CRM or a store pushes a contact into Mailchimp, with its merge fields and tags.

  • Upsert by email, never blind creation. The API's PUT /lists/{list_id}/members/{subscriber_hash} endpoint (the subscriber_hash is the MD5 of the lowercased email) creates or updates the member in a single operation, never failing on a duplicate;
  • Idempotency on the n8n side. A replayed webhook or a form submitted twice shouldn't trigger two separate welcome emails — the principle is detailed in our guide to webhook idempotency;
  • Enrichment before writing. This same pipeline pairs well with automatic lead enrichment from the email or domain, and with AI qualification whose result becomes a Mailchimp tag usable for segmentation;
  • Copy to the CRM. In parallel, the same contact can feed your HubSpot or Pipedrive CRM, with Mailchimp and the CRM synced from the same source of truth on the n8n side rather than one depending on the other.

Segmenting and personalizing with AI

Tags and merge fields don't play the same role: a merge field (FNAME, a custom field) can appear inside an email's content, a tag stays invisible to the recipient and is used purely to segment or trigger an automation. For an AI-computed score or category, the tag is almost always the right choice.

Two patterns that pay off in practice:

  • AI-driven behavioral segmentation: a periodic pass over recently active members (a purchase, a click, a filled form) where a model classifies each contact — hot/warm/cold, dominant product interest — and writes the result as a tag via the Member Tag operation. Your Mailchimp campaigns then filter directly on those tags. It's the same classification principle that sorts inbound emails in the Inbox IA Pack (79 €), applied here to a marketing audience instead of an inbox;
  • Campaign drafts from an RSS feed or a product catalog: following our guide to automating emails with AI, a model drafts a subject line and content from the latest entries, then the workflow creates the campaign as a draft via the API — a human reviews and schedules the send, the AI never publishes on its own.

Native Mailchimp automations or n8n orchestration?

Mailchimp offers its own "Customer Journeys" for standard scenarios (welcome, abandoned cart, birthday). n8n becomes relevant as soon as the trigger or the data lives outside Mailchimp: a complete e-commerce order with a detailed cart (following our guide to automating e-commerce orders or recovering abandoned carts with AI), an internal product event, or conditional logic that Mailchimp's visual editor doesn't cover.

Getting the timing of the trigger right isn't a minor detail. A study by Marcel Goic, Andrea Rojas and Ignacio Saavedra published in 2021 in the International Journal of Research in Marketing, "The Effectiveness of Triggered Email Marketing in Addressing Browse Abandonments" (see on Google Scholar), measured on real browsing data that emails triggered by a precise behavior generate incremental revenue markedly higher than mass sending, and that targeting improves with a longer browsing history and a wider assortment of recommendations. That's exactly the case for a trigger built in n8n on your own business data rather than on the signals Mailchimp alone can see.

Known pitfalls

  • Wrong datacenter: an API key copied halfway or regenerated on a different account produces 401 errors that are hard to diagnose — always check that the -usXX suffix matches the intended account;
  • Rate limits: the API caps the number of simultaneous connections per account; for an initial sync of thousands of contacts, process in batches with a pause and enable retry on 429 errors in the node's settings;
  • Duplicate members: always upsert by subscriber_hash (MD5 of the lowercased email), never a direct creation that will fail silently on a poorly handled duplicate;
  • GDPR and double opt-in: Mailchimp natively supports double opt-in per audience — enable it for public signups in Europe. For erasure requests, our guide to handling GDPR requests with n8n shows how to orchestrate simultaneous deletion across Mailchimp, your CRM and your internal databases.

Key takeaways

Connecting Mailchimp to n8n takes a few minutes: an API key pasted with its datacenter suffix into a dedicated credential, the Mailchimp node for audiences, members, tags and existing campaigns, and HTTP Request for creating a campaign from scratch. The Mailchimp Trigger captures unsubscribes and hard bounces in real time, ready to propagate to your other systems without delay. n8n's real added value shows up once the trigger or the data lives outside Mailchimp's scope: e-commerce orders, AI scoring written as a tag, campaign drafts generated from your own content. Start with bidirectional contact sync, then wire up your first business triggers — that's what turns a static list into a responsive channel.

FAQ

Frequently asked questions

Is there an official Mailchimp node in n8n?

Yes. n8n ships a native Mailchimp node that covers audiences (List Group), members (create, update, delete, list) and member tags, plus management of existing campaigns (get, duplicate, resend, send, delete). Creating a brand new campaign from scratch isn't exposed by the node, though: you need an HTTP Request node against Mailchimp's REST API with the same credential.

How does n8n authenticate against Mailchimp?

The simplest way is an API key: generated in your Mailchimp account settings, it's pasted as-is (with its -usXX suffix) into a Mailchimp API credential in n8n, which extracts the datacenter automatically to build the API base URL. An OAuth2 credential also exists if you'd rather not manage a static key.

What's the difference between a tag and a merge field in Mailchimp?

A merge field (FNAME, LNAME, a custom field) stores contact data and can appear inside an email's content (personalization). A tag is invisible to the recipient and is used purely for segmentation and to trigger automations. For an AI-computed score or category, the tag is almost always the right choice: it never leaks into a campaign's rendered content.

Can the Mailchimp Trigger notify n8n of an unsubscribe in real time?

Yes. The Mailchimp Trigger node registers a webhook with Mailchimp when the workflow is activated and listens for Subscribe, Unsubscribe, Profile Updated, Email Address Updated, Cleaned and Campaign Sent events. An unsubscribe or a cleaned email (hard bounce) therefore arrives immediately, letting you propagate the consent withdrawal to your CRM or database without waiting for a manual export.

Bundle FlowKit Complet

€269