Workflow: Schedule Mailchimp Create

Workflow Details

Download Workflow
{
    "meta": {
        "instanceId": "e634e668fe1fc93a75c4f2a7fc0dad807ca318b79654157eadb9578496acbc76",
        "templateCredsSetupCompleted": true
    },
    "nodes": [
        {
            "id": "a5f5621a-bd4c-45b8-be09-ebdda13ebb3e",
            "name": "When clicking \u2018Test workflow\u2019",
            "type": "n8n-nodes-base.manualTrigger",
            "position": [
                -280,
                120
            ],
            "parameters": [],
            "typeVersion": 1
        },
        {
            "id": "9447f0d4-1be3-4b8c-b172-3ff856f2197b",
            "name": "Schedule Trigger",
            "type": "n8n-nodes-base.scheduleTrigger",
            "position": [
                -280,
                -160
            ],
            "parameters": {
                "rule": {
                    "interval": [
                        []
                    ]
                }
            },
            "typeVersion": 1.1999999999999999555910790149937383830547332763671875
        },
        {
            "id": "4ffd30f6-6f56-42cd-9f1c-07b58adbe312",
            "name": "Sticky Note1",
            "type": "n8n-nodes-base.stickyNote",
            "position": [
                -740,
                -260
            ],
            "parameters": {
                "color": 4,
                "width": 371.1995072042308265736210159957408905029296875,
                "height": 600.88409546716002296307124197483062744140625,
                "content": "## Create Mailchimp contact based on Squarespace newsletter\nThis workflow will get Squarespace newsletter signups and create new Mailchimp contact in the given Audience on Mailchimp\n\nThis overcome the limitation between Squarespace forms and Mailchimp connection where only new, empty audience can be used\n\nYou can run the workflow on demand or by schedule\n\n## Spreadsheet template\n\nThe sheet columns are inspire from Squarespace newsletter block connection, but you can change the node to adapt new columns format\n\nClone the [sample sheet here](https:\/\/docs.google.com\/spreadsheets\/d\/1wi2Ucb4b35e0-fuf-96sMnyzTft0ADz3MwdE_cG_WnQ\/edit?usp=sharing)\n- Submitted On\t\n- Email Address\t\n- Name"
            },
            "typeVersion": 1
        },
        {
            "id": "7af3d027-ffb8-4ca0-84d4-06dbf3902e80",
            "name": "Squarespace newsletter submissions",
            "type": "n8n-nodes-base.googleSheets",
            "position": [
                0,
                0
            ],
            "parameters": {
                "options": [],
                "sheetName": {
                    "__rl": true,
                    "mode": "list",
                    "value": "gid=0",
                    "cachedResultUrl": "https:\/\/docs.google.com\/spreadsheets\/d\/15A3ZWzIBfONL4U_1XGJvtsS8HtMQ69qrpxd5C5L6Akg\/edit#gid=0",
                    "cachedResultName": "Sheet1"
                },
                "documentId": {
                    "__rl": true,
                    "mode": "list",
                    "value": "15A3ZWzIBfONL4U_1XGJvtsS8HtMQ69qrpxd5C5L6Akg",
                    "cachedResultUrl": "https:\/\/docs.google.com\/spreadsheets\/d\/15A3ZWzIBfONL4U_1XGJvtsS8HtMQ69qrpxd5C5L6Akg\/edit?usp=drivesdk",
                    "cachedResultName": "n8n-submission"
                }
            },
            "credentials": {
                "googleSheetsOAuth2Api": {
                    "id": "JgI9maibw5DnBXRP",
                    "name": "Google Sheets account"
                }
            },
            "typeVersion": 4.5
        },
        {
            "id": "f0fe2c40-2971-4068-b5b0-57e70f65ff72",
            "name": "Loop Over each item",
            "type": "n8n-nodes-base.splitInBatches",
            "position": [
                260,
                0
            ],
            "parameters": {
                "options": []
            },
            "typeVersion": 3
        },
        {
            "id": "ebad2d00-56b3-4dec-9e3b-d9cb6cc4aaf1",
            "name": "Add new member to Mailchimp",
            "type": "n8n-nodes-base.mailchimp",
            "onError": "continueErrorOutput",
            "position": [
                540,
                20
            ],
            "parameters": {
                "email": "={{ $json['Email Address'] }}{{ $json.row_number }}",
                "status": "subscribed",
                "options": {
                    "timestampSignup": "={{ $json['Submitted On'] }}"
                },
                "mergeFieldsUi": {
                    "mergeFieldsValues": [
                        {
                            "name": "FNAME",
                            "value": "={{ $json.Name }}"
                        }
                    ]
                }
            },
            "credentials": {
                "mailchimpApi": {
                    "id": "E6kRZLAOwvNxFpNz",
                    "name": "Mailchimp account"
                }
            },
            "typeVersion": 1,
            "alwaysOutputData": false
        }
    ],
    "pinData": [],
    "connections": {
        "Schedule Trigger": {
            "main": [
                [
                    {
                        "node": "Squarespace newsletter submissions",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "Loop Over each item": {
            "main": [
                [],
                [
                    {
                        "node": "Add new member to Mailchimp",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "Add new member to Mailchimp": {
            "main": [
                [
                    {
                        "node": "Loop Over each item",
                        "type": "main",
                        "index": 0
                    }
                ],
                []
            ]
        },
        "When clicking \u2018Test workflow\u2019": {
            "main": [
                [
                    {
                        "node": "Squarespace newsletter submissions",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "Squarespace newsletter submissions": {
            "main": [
                [
                    {
                        "node": "Loop Over each item",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        }
    }
}
Back to Workflows

Related Workflows

GoogleSheets MySQL Integration
View
Manual Redis Automate Triggered
View
Extractfromfile Form Automation Webhook
View
Googletasks HTTP Update Webhook
View
Manual Zohocrm Automate Triggered
View
Manual Automate Triggered
View
GitHub Automate Triggered
View
Webhook Respondtowebhook Create Webhook
View
Tools / Backup Gitlab
View
[2/3] Set up medoids (2 types) for anomaly detection (crops dataset)
View