Back to Integrations
integrationMailchimp node
integrationPipedrive node

Mailchimp and Pipedrive integration

Save yourself the work of writing custom integrations for Mailchimp and Pipedrive and use n8n instead. Build adaptable and scalable Marketing, Communication, and Sales workflows that work with your technology stack. All within a building experience you will love.

How to connect Mailchimp and Pipedrive

  • Step 1: Create a new workflow
  • Step 2: Add and configure nodes
  • Step 3: Connect
  • Step 4: Customize and extend your integration
  • Step 5: Test and activate your workflow

Step 1: Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

Mailchimp and Pipedrive integration: Create a new workflow and add the first step

Step 2: Add and configure Mailchimp and Pipedrive nodes

You can find Mailchimp and Pipedrive in the nodes panel. Drag them onto your workflow canvas, selecting their actions. Click each node, choose a credential, and authenticate to grant n8n access. Configure Mailchimp and Pipedrive nodes one by one: input data on the left, parameters in the middle, and output data on the right.

Mailchimp and Pipedrive integration: Add and configure Mailchimp and Pipedrive nodes

Step 3: Connect Mailchimp and Pipedrive

A connection establishes a link between Mailchimp and Pipedrive (or vice versa) to route data through the workflow. Data flows from the output of one node to the input of another. You can have single or multiple connections for each node.

Mailchimp and Pipedrive integration: Connect Mailchimp and Pipedrive

Step 4: Customize and extend your Mailchimp and Pipedrive integration

Use n8n's core nodes such as If, Split Out, Merge, and others to transform and manipulate data. Write custom JavaScript or Python in the Code node and run it as a step in your workflow. Connect Mailchimp and Pipedrive with any of n8n’s 1000+ integrations, and incorporate advanced AI logic into your workflows.

Mailchimp and Pipedrive integration: Customize and extend your Mailchimp and Pipedrive integration

Step 5: Test and activate your Mailchimp and Pipedrive workflow

Save and run the workflow to see if everything works as expected. Based on your configuration, data should flow from Mailchimp to Pipedrive or vice versa. Easily debug your workflow: you can check past executions to isolate and fix the mistake. Once you've tested everything, make sure to save your workflow and activate it.

Mailchimp and Pipedrive integration: Test and activate your Mailchimp and Pipedrive workflow

Sync CRM contacts with Mailchimp and Pipedrive

CRM Contact Sync with Mailchimp and Pipedrive

This workflow keeps your contact records perfectly aligned between your CRM (e.g. HubSpot / Salesforce / Pipedrive) and Mailchimp. Whenever a contact is created or updated in one system, the automation propagates the change to the other platform, ensuring every email address, phone number and custom field stays in sync.

Pre-conditions/Requirements

Prerequisites
n8n instance (self-hosted or cloud)
Community nodes: Pipedrive, Mailchimp
A dedicated service account in each platform with permission to read & write contacts
Basic understanding of how webhooks work (for CRM → n8n triggers)

Required Credentials
Pipedrive API Token** – Used for creating, updating and searching contacts in Pipedrive
Mailchimp API Key** – Grants access to lists/audiences and contact operations
CRM Webhook Secret** (optional) – If your CRM supports signing webhook payloads

Specific Setup Requirements

Environment Variable Description Example
PIPEDRIVE_API_KEY Stored in n8n credential manager 123abc456def
MAILCHIMP_API_KEY Stored in n8n credential manager us-1:abcd1234efgh5678
MAILCHIMP_DC Mailchimp Datacenter (sub-domain) us-1
CRM_WEBHOOK_URL Generated by the Webhook node https://n8n.myserver/webhook/...

How it works

This workflow keeps your contact records perfectly aligned between your CRM (e.g. HubSpot / Salesforce / Pipedrive) and Mailchimp. Whenever a contact is created or updated in one system, the automation propagates the change to the other platform, ensuring every email address, phone number and custom field stays in sync.

Key Steps:
Inbound Webhook**: Receives contact-change events from the CRM.
Split in Batches**: Processes contacts in chunks to stay within API rate limits.
Mailchimp Upsert**: Adds or updates each contact in the specified Mailchimp audience.
Pipedrive Upsert**: Mirrors the same change in Pipedrive (or vice-versa).
Merge & IF nodes**: Decide whether to create or update a contact by checking existence.
Error Trigger**: Captures any API failures and posts them to the configured alert channel.

Set up steps

Setup Time: 15-25 minutes

Create credentials
• In n8n, add new credentials for Pipedrive and Mailchimp using your API keys.
• Name them clearly (e.g. “Pipedrive Main”, “Mailchimp Main”).

Import the workflow
• Download or paste the JSON template into n8n.
• Save the workflow.

Configure the Webhook node
• Set HTTP Method to POST.
• Copy the generated URL and register it as a webhook in your CRM’s contact-update events.

Map CRM fields
• Open the first Set node and match CRM field names (firstName, lastName, email, etc.) to the standard keys used later in the flow.

Select Mailchimp Audience
• In the Mailchimp node, choose the audience/list that should receive the contacts.

Define Pipedrive Person Fields
• If you have custom fields, add them in the Pipedrive node’s Additional Fields section.

Enable the workflow
• Turn the workflow from “Inactive” to “Active”.
• Send a test update from the CRM to verify that contacts appear in both Mailchimp and Pipedrive.

Node Descriptions

Core Workflow Nodes:
Webhook** – Accepts contact-change payloads from the CRM.
Set** – Normalises field names to a common schema.
SplitInBatches** – Loops through contacts in controllable group sizes.
HTTP Request** – Generic calls (e.g. HubSpot/Salesforce look-ups when required).
Pipedrive** – Searches for existing persons; creates or updates accordingly.
Mailchimp** – Performs contact upsert into an audience.
If** – Branches logic on “contact exists?”.
Merge** – Re-assembles branch data back into a single execution line.
Code** – Small JS snippets for complex field transformations.
Error Trigger** – Listens for any node failure and routes it to alerts.
StickyNote** – Documentation hints inside the workflow.

Data Flow:
Webhook → Set (Normalise) → SplitInBatches
SplitInBatches → Mailchimp (Get) → If (Exists?) → Mailchimp (Upsert)
SplitInBatches → Pipedrive (Search) → If (Exists?) → Pipedrive (Upsert)
Merge → End / Success

Customization Examples

Add a Tag to Mailchimp contacts
// Place inside a Code node before the Mailchimp Upsert
item.tags = ['Synced from CRM', 'High-Value'];
return item;

Apply a Deal Stage in Pipedrive
// Pipedrive node → Additional Fields
"deal": {
"title": "New Lead from Mailchimp",
"stage_id": 2
}

Data Output Format

The workflow outputs structured JSON data:

{
"id": 1472,
"status": "updated",
"email": "[email protected]",
"source": "CRM",
"synced": {
"pipedrive": "success",
"mailchimp": "success"
},
"timestamp": "2024-04-27T10:15:00Z"
}

Troubleshooting

Common Issues
HTTP 401 Unauthorized – Verify that the API keys are still valid and have not been revoked.
Webhook receives no data – Double-check that the CRM webhook URL matches exactly and that the event is enabled.

Performance Tips
Batch contacts in groups of 50-100 to respect Mailchimp & Pipedrive rate limits.
Use Continue On Fail in non-critical nodes to prevent the entire run from stopping.

Pro Tips:
Map your CRM’s custom fields once in the Set node to avoid touching each downstream node.
Use Merge+If pattern to keep “create vs update” logic tidy.
Enable workflow execution logs only in development to reduce storage usage.

Community Template Disclaimer:
This workflow is provided by the n8n community “as is”. n8n GmbH makes no warranties regarding its performance, security or compliance. Always review and test in a development environment before using it in production.

Nodes used in this workflow

Popular Mailchimp and Pipedrive workflows

Sync CRM contacts with Mailchimp and Pipedrive

CRM Contact Sync with Mailchimp and Pipedrive This workflow keeps your contact records perfectly aligned between your CRM (e.g. HubSpot / Salesforce / Pipedrive) and Mailchimp. Whenever a contact is created or updated in one system, the automation propagates the change to the other platform, ensuring every email address, phone number and custom field stays in sync. Pre-conditions/Requirements Prerequisites n8n instance (self-hosted or cloud) Community nodes: Pipedrive, Mailchimp A dedicated service account in each platform with permission to read & write contacts Basic understanding of how webhooks work (for CRM → n8n triggers) Required Credentials Pipedrive API Token** – Used for creating, updating and searching contacts in Pipedrive Mailchimp API Key** – Grants access to lists/audiences and contact operations CRM Webhook Secret** (optional) – If your CRM supports signing webhook payloads Specific Setup Requirements | Environment Variable | Description | Example | |----------------------|--------------------------------------|---------------------------------| | PIPEDRIVE_API_KEY | Stored in n8n credential manager | 123abc456def | | MAILCHIMP_API_KEY | Stored in n8n credential manager | us-1:abcd1234efgh5678 | | MAILCHIMP_DC | Mailchimp Datacenter (sub-domain) | us-1 | | CRM_WEBHOOK_URL | Generated by the Webhook node | https://n8n.myserver/webhook/... | How it works This workflow keeps your contact records perfectly aligned between your CRM (e.g. HubSpot / Salesforce / Pipedrive) and Mailchimp. Whenever a contact is created or updated in one system, the automation propagates the change to the other platform, ensuring every email address, phone number and custom field stays in sync. Key Steps: Inbound Webhook**: Receives contact-change events from the CRM. Split in Batches**: Processes contacts in chunks to stay within API rate limits. Mailchimp Upsert**: Adds or updates each contact in the specified Mailchimp audience. Pipedrive Upsert**: Mirrors the same change in Pipedrive (or vice-versa). Merge & IF nodes**: Decide whether to create or update a contact by checking existence. Error Trigger**: Captures any API failures and posts them to the configured alert channel. Set up steps Setup Time: 15-25 minutes Create credentials • In n8n, add new credentials for Pipedrive and Mailchimp using your API keys. • Name them clearly (e.g. “Pipedrive Main”, “Mailchimp Main”). Import the workflow • Download or paste the JSON template into n8n. • Save the workflow. Configure the Webhook node • Set HTTP Method to POST. • Copy the generated URL and register it as a webhook in your CRM’s contact-update events. Map CRM fields • Open the first Set node and match CRM field names (firstName, lastName, email, etc.) to the standard keys used later in the flow. Select Mailchimp Audience • In the Mailchimp node, choose the audience/list that should receive the contacts. Define Pipedrive Person Fields • If you have custom fields, add them in the Pipedrive node’s Additional Fields section. Enable the workflow • Turn the workflow from “Inactive” to “Active”. • Send a test update from the CRM to verify that contacts appear in both Mailchimp and Pipedrive. Node Descriptions Core Workflow Nodes: Webhook** – Accepts contact-change payloads from the CRM. Set** – Normalises field names to a common schema. SplitInBatches** – Loops through contacts in controllable group sizes. HTTP Request** – Generic calls (e.g. HubSpot/Salesforce look-ups when required). Pipedrive** – Searches for existing persons; creates or updates accordingly. Mailchimp** – Performs contact upsert into an audience. If** – Branches logic on “contact exists?”. Merge** – Re-assembles branch data back into a single execution line. Code** – Small JS snippets for complex field transformations. Error Trigger** – Listens for any node failure and routes it to alerts. StickyNote** – Documentation hints inside the workflow. Data Flow: Webhook → Set (Normalise) → SplitInBatches SplitInBatches → Mailchimp (Get) → If (Exists?) → Mailchimp (Upsert) SplitInBatches → Pipedrive (Search) → If (Exists?) → Pipedrive (Upsert) Merge → End / Success Customization Examples Add a Tag to Mailchimp contacts // Place inside a Code node before the Mailchimp Upsert item.tags = ['Synced from CRM', 'High-Value']; return item; Apply a Deal Stage in Pipedrive // Pipedrive node → Additional Fields "deal": { "title": "New Lead from Mailchimp", "stage_id": 2 } Data Output Format The workflow outputs structured JSON data: { "id": 1472, "status": "updated", "email": "[email protected]", "source": "CRM", "synced": { "pipedrive": "success", "mailchimp": "success" }, "timestamp": "2024-04-27T10:15:00Z" } Troubleshooting Common Issues HTTP 401 Unauthorized – Verify that the API keys are still valid and have not been revoked. Webhook receives no data – Double-check that the CRM webhook URL matches exactly and that the event is enabled. Performance Tips Batch contacts in groups of 50-100 to respect Mailchimp & Pipedrive rate limits. Use Continue On Fail in non-critical nodes to prevent the entire run from stopping. Pro Tips: Map your CRM’s custom fields once in the Set node to avoid touching each downstream node. Use Merge+If pattern to keep “create vs update” logic tidy. Enable workflow execution logs only in development to reduce storage usage. *Community Template Disclaimer: This workflow is provided by the n8n community “as is”. n8n GmbH makes no warranties regarding its performance, security or compliance. Always review and test in a development environment before using it in production.*

AI Lead Scoring & Enrichment from Mailchimp to HubSpot and Pipedrive with GPT-4o

How it works This workflow captures new subscribers from a Mailchimp list and extracts their key details. It then enriches the subscriber data using AI, predicting professional attributes and assigning a lead score. Based on the score, high-value leads are identified, and all leads are synced into HubSpot and Pipedrive. For top-priority leads, the workflow automatically creates new deals in Pipedrive for sales follow-up. Step-by-step Step-by-step Capture subscriber data Mailchimp Subscriber Trigger** – Detects new signups in a Mailchimp list. Extract Subscriber Data** – Normalizes payload into clean fields like name, email, and timestamp. Enrich with AI Lead Enrichment AI** – Uses AI to infer company, role, industry, intent, LinkedIn, and lead score. Parse & Merge Enrichment** – Merges AI output with subscriber info and sets defaults if parsing fails. Qualify leads High-Value Lead Check** – Filters leads with a score ≥70 to flag them as priority. Create High-Value Deal** – Opens a new deal in Pipedrive for high-value leads. Sync to CRMs HubSpot Contact Sync** – Updates enriched lead data in HubSpot CRM. Pipedrive Person Create** – Adds lead as a person in Pipedrive. Why use this? Automatically enrich raw Mailchimp subscribers with valuable professional insights. Score and qualify leads instantly for prioritization. Keep HubSpot and Pipedrive updated with enriched lead records. Automate deal creation for high-value opportunities, saving sales team effort. Build a seamless pipeline from marketing signups to CRM-ready opportunities.

Build your own Mailchimp and Pipedrive integration

Create custom Mailchimp and Pipedrive workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

Mailchimp supported actions

Delete
Delete a campaign
Get
Get a campaign
Get Many
Get many campaigns
Replicate
Replicate a campaign
Resend
Creates a Resend to Non-Openers version of this campaign
Send
Send a campaign
Get Many
Get many groups
Create
Create a new member on list
Delete
Delete a member on list
Get
Get a member on list
Get Many
Get many members on a list
Update
Update a new member on list
Create
Add tags from a list member
Delete
Remove tags from a list member

Pipedrive supported actions

Create
Create an activity
Delete
Delete an activity
Get
Get data of an activity
Get Many
Get data of many activities
Update
Update an activity
Create
Create a deal
Delete
Delete a deal
Duplicate
Duplicate a deal
Get
Get data of a deal
Get Many
Get data of many deals
Search
Search a deal
Update
Update a deal
Get Many
Get many activities of a deal
Add
Add a product to a deal
Get Many
Get many products in a deal
Remove
Remove a product from a deal
Update
Update a product in a deal
Create
Create a file
Delete
Delete a file
Download
Download a file
Get
Get data of a file
Update
Update file details
Create
Create a lead
Delete
Delete a lead
Get
Get data of a lead
Get Many
Get data of many leads
Update
Update a lead
Create
Create a note
Delete
Delete a note
Get
Get data of a note
Get Many
Get data of many notes
Update
Update a note
Create
Create an organization
Delete
Delete an organization
Get
Get data of an organization
Get Many
Get data of many organizations
Search
Search organizations
Update
Update an organization
Create
Create a person
Delete
Delete a person
Get
Get data of a person
Get Many
Get data of many persons
Search
Search all persons
Update
Update a person
Get Many
Get data of many products

FAQs

  • Can Mailchimp connect with Pipedrive?

  • Can I use Mailchimp’s API with n8n?

  • Can I use Pipedrive’s API with n8n?

  • Is n8n secure for integrating Mailchimp and Pipedrive?

  • How to get started with Mailchimp and Pipedrive integration in n8n.io?

Looking to integrate Mailchimp and Pipedrive in your company?

Over 3000 companies switch to n8n every single week

Why use n8n to integrate Mailchimp with Pipedrive

Build complex workflows, really fast

Build complex workflows, really fast

Handle branching, merging and iteration easily.
Pause your workflow to wait for external events.

Code when you need it, UI when you don't

Simple debugging

Your data is displayed alongside your settings, making edge cases easy to track down.

Use templates to get started fast

Use 1000+ workflow templates available from our core team and our community.

Reuse your work

Copy and paste, easily import and export workflows.

Implement complex processes faster with n8n

red iconyellow iconred iconyellow icon