AutomationFlowsEmail & Gmail › Mailchimp API Sync → Connectionkey

Mailchimp API Sync → Connectionkey

Mailchimp API Sync → ConnectionKey. Uses httpRequest. Scheduled trigger; 4 nodes.

Cron / scheduled trigger★★★★☆ complexity4 nodesHTTP Request
Email & Gmail Trigger: Cron / scheduled Nodes: 4 Complexity: ★★★★☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "Mailchimp API Sync \u2192 ConnectionKey",
  "nodes": [
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "cronExpression",
              "expression": "0 */6 * * *"
            }
          ]
        }
      },
      "id": "schedule-trigger",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        250,
        300
      ]
    },
    {
      "parameters": {
        "method": "GET",
        "url": "https://{{ $env.MAILCHIMP_DC }}.api.mailchimp.com/3.0/lists/{{ $env.MAILCHIMP_LIST_ID }}/members",
        "authentication": "headerAuth",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer {{ $env.MAILCHIMP_API_KEY }}"
            }
          ]
        },
        "options": {
          "queryParameters": {
            "parameters": [
              {
                "name": "status",
                "value": "subscribed"
              },
              {
                "name": "count",
                "value": "1000"
              }
            ]
          }
        }
      },
      "id": "get-mailchimp-members",
      "name": "Get Mailchimp Members",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.1,
      "position": [
        450,
        300
      ]
    },
    {
      "parameters": {
        "jsCode": "// Verarbeite Mailchimp API Response\nconst mailchimpResponse = $input.item.json;\n\n// Extrahiere Members aus Response\nconst members = mailchimpResponse.members || [];\n\n// Transformiere zu ConnectionKey Format\nconst subscribers = members.map(member => ({\n  email: member.email_address || member.email || '',\n  firstname: member.merge_fields?.FNAME || member.merge_fields?.fname || '',\n  lastname: member.merge_fields?.LNAME || member.merge_fields?.lname || '',\n  source: 'mailchimp-api-sync',\n  subscribed_at: member.timestamp_opt || member.timestamp_signup || null,\n  status: member.status || 'subscribed'\n})).filter(sub => sub.email);\n\nreturn subscribers.map(sub => ({ json: sub }));"
      },
      "id": "transform-members",
      "name": "Transform Members",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        650,
        300
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://www.the-connection-key.de/api/new-subscriber",
        "authentication": "headerAuth",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer {{ $env.N8N_API_KEY }}"
            },
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        },
        "sendBody": true,
        "contentType": "json",
        "body": "={{ $json }}",
        "options": {}
      },
      "id": "send-to-api",
      "name": "Send to ConnectionKey API",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.1,
      "position": [
        850,
        300
      ]
    }
  ],
  "connections": {
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Get Mailchimp Members",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Mailchimp Members": {
      "main": [
        [
          {
            "node": "Transform Members",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Transform Members": {
      "main": [
        [
          {
            "node": "Send to ConnectionKey API",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "staticData": null,
  "tags": [],
  "triggerCount": 0,
  "updatedAt": "2025-12-16T00:00:00.000Z",
  "versionId": "1"
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Mailchimp API Sync → ConnectionKey. Uses httpRequest. Scheduled trigger; 4 nodes.

Source: https://github.com/Heiko888/Connection-Key-MCP-Server/blob/1a3b31641683d1c4330ae85e76c2fb21cca44b22/n8n-workflows/mailchimp-api-sync.json — original creator credit. Request a take-down →

More Email & Gmail workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Email & Gmail

YOUR_ID 4. Uses gmail, googleDrive, googleSheets, httpRequest. Scheduled trigger; 53 nodes.

Gmail, Google Drive, Google Sheets +1
Email & Gmail

Development teams using Claude Code who want a chat-ops interface for project management. Instead of SSH-ing into a server to run Claude, your whole team interacts with it through a Matrix chat room —

HTTP Request, Ssh
Email & Gmail

Instead of providing a routine check, it focuses on significant movements by: Sending a Slack alert only if a query crosses a defined movement threshold. Emailing a structured report with the Top 25 i

HTTP Request, Slack, Gmail
Email & Gmail

Looking for a way to track GitHub bounty issues automatically and get notified in real time? This GitHub Bounty Tracker workflow monitors repositories for issues labeled 💎 Bounty, logs them in Google

Google Sheets, HTTP Request, WhatsApp +1
Email & Gmail

This workflow automatically sends a beautifully designed HTML newsletter every Sunday at 8 AM, featuring products currently on sale from your Algolia-powered e-commerce store.

Google Sheets, HTTP Request, Gmail