Automate Daily Mailchimp to HubSpot Contact Sync with n8n

Learn how to automate syncing changed Mailchimp members to HubSpot contacts every morning at 7 AM. This workflow saves time and reduces errors by keeping your contact data up-to-date automatically.
cron
functionItem
mailchimp
+1
Workflow Identifier: 1434
NODES in Use: Cron, FunctionItem, Mailchimp, HubSpot
Automate Mailchimp to HubSpot sync with n8n

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What This Automation Does

This workflow runs every day at 7:00 AM.

It finds all Mailchimp members who changed since the last time the workflow ran.

For each changed member, it creates or updates the matching contact in HubSpot.

Then, it remembers the current run time to use next time.

This way, the data stays up-to-date automatically, no manual work needed.


Tools and Services Used

  • n8n: To build and run the workflow automation.
  • Mailchimp API: To get members changed since last successful sync.
  • HubSpot API: To create or update contact records.

Beginner Step-by-Step: How to Use This Workflow in n8n

Step 1: Import the Workflow

  1. Download the workflow file using the Download button on this page.
  2. Open the n8n editor (cloud or self-host n8n).
  3. Click on the top-right menu and choose “Import from File”.
  4. Select the downloaded workflow file and import it.

Step 2: Add Credentials and IDs

  1. Open the workflow and select the Mailchimp node. Add the Mailchimp API Key and select your List ID.
  2. Select the HubSpot node and enter your HubSpot App Token credential for authentication.

Step 3: Check and Update Settings

  1. Make sure the list ID in the Mailchimp node matches your subscriber list.
  2. If needed, adjust additional fields in the HubSpot node for first name, last name, and email.

Step 4: Test the Workflow

  1. Run the workflow manually once by clicking “Execute Workflow” inside the n8n editor.
  2. Check if changed members from Mailchimp appear and contacts are updated in HubSpot.

Step 5: Activate for Production

  1. To enable daily syncing, toggle the workflow’s “Active” switch on the top right.
  2. The workflow will now run automatically every day at 7 AM.

Workflow Inputs, Process, and Outputs

Inputs

  • Mailchimp API access to get members who changed after the last sync time.
  • HubSpot API access to create or update contacts.
  • The stored timestamp of the last workflow run to know when to check changes from.

Process

  • The Cron node triggers the workflow daily at 7:00 AM.
  • The Function Item “Get last execution timestamp” gets and stores the last run time.
  • The Mailchimp node uses this time to fetch members changed since then.
  • The HubSpot node creates or updates contacts for each returned member.
  • The Function Item “Set new last execution timestamp” updates the last run time with the current time.

Outputs

  • HubSpot contacts created or updated with accurate names and emails from Mailchimp.
  • An updated timestamp stored inside workflow static data for next run.

Customization Ideas ✏️

  • Change the daily run time by editing the Cron node settings.
  • Add more Mailchimp member fields like phone or address in the HubSpot node “Additional Fields” for richer contact info.
  • Filter Mailchimp members by subscription status or specific segments to limit syncing.

Troubleshooting 🔧

Issue: No members returned by the Mailchimp node.

Check: The “Since Last Changed” date might be newer than actual changes.

Fix: Reset the last execution timestamp in the Function Item node to an earlier date for testing.

Issue: HubSpot API Authentication fails.

Check: HubSpot app token might be expired or incorrect.

Fix: Generate a new app token in HubSpot developer portal and update the node credentials.


Summary of Benefits

✓ Saves an hour of manual daily work.

✓ Keeps HubSpot contacts updated with accurate Mailchimp data.

✓ Runs automatically every morning without manual steps.

✓ Reduces mistakes and inconsistent customer info.


Automate Mailchimp to HubSpot sync with n8n

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

Download the workflow file using the Download button. Then in the n8n editor, choose Import from File and select the downloaded file. Finally, add required credentials and update list IDs.
The last execution timestamp used for “Since Last Changed” may be more recent than any member updates. Resetting the timestamp to an earlier date helps.
Check if the HubSpot app token is correct and not expired. Generate a new app token in the HubSpot developer portal and update the credentials in the HubSpot node.
Yes. Change the list ID in the Mailchimp node configuration to any list ID to sync members from that list.
Author
Written By
Vikash Kumar
Building AI agents, n8n workflows and end-to-end automation for 30+ Brands across India, the US, Europe, Dubai & Australia. 7+ years of Experience saving founders real hours every week - no code required.

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.