This workflow handles Mailchimp subscriber events (subscribe, unsubscribe, profile updates), logs data in Airtable, sends welcome emails via Mailgun, and notifies via Slack. Key nodes include Mailchimp Event Trigger (captures events), Process Subscriber Data (validates inputs), Processing Success? (checks processing), New Subscriber? (routes events), Save New Subscriber (stores subscribers), Send Welcome Email (sends emails), Update Subscriber Status (updates records), Send New Subscriber Alert and Send Unsubscribe Alert (Slack notifications), Log Processing Error (logs errors), and Check Operation Status (validates operations). It uses Mailchimp, Airtable, and Mailgun APIs.\n\nSetup Requirements: Install n8n from n8n.io or sign up at cloud.n8n.io. Import the JSON into n8n’s workflow editor. Obtain Mailchimp API key and list ID from mailchimp.com (Settings > Extras > API Keys). Get Mailgun API key and domain from mailgun.com (Domains > API Keys). Create an Airtable base at airtable.com with Subscribers and Error Logs tables; get API key and Base ID from Account settings. Get Slack Webhook URL from slack.com (Apps > Incoming Webhooks, create in #subscriber-alerts). In n8n, configure credentials: Mailchimp (API Key), Mailgun (HTTP Basic Auth), Airtable (Token API), and Slack (Webhook URL). Set Mailchimp Event Trigger for subscribe, unsubscribe, and profile events. Handle errors like invalid email (400: Invalid or missing email address) or missing API keys (401: Unauthorized).\n\nTesting and Deployment: Import the JSON into n8n. In Mailchimp, configure a webhook (Settings > Webhooks) to point to n8n’s Mailchimp Event Trigger URL. Subscribe or unsubscribe a test user in Mailchimp to trigger events. Verify Process Subscriber Data extracts email, status, and merge fields. Confirm Save New Subscriber and Update Subscriber Status log to Airtable, Send Welcome Email delivered via Mailgun, and Slack alerts are sent. Validate Check Operation Status reports workflow_status. Test with invalid webhook data to trigger 400: Invalid webhook data structure. Monitor logs for issues like Mailchimp rate limits (429) or missing Airtable table (404: Table not found). If notifications fail, verify webhook URL and credentials. Activate the workflow in n8n for continuous subscriber management and deploy for automated processing.
$6.99
Workflow steps: 15
Integrated apps: mailchimpTrigger, code, if