Run A/B-tested email campaigns using Gmail, Google Sheets, and Slack
Ready for 3.0What this workflow does
This workflow has 26 nodes and runs manually, when you click “Execute workflow” (plus 3 other triggers). Along the way it connects Google Sheets, Slack and Gmail.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 3 other triggers).
- Configure Campaign (Code): runs custom JavaScript code
- Format Error (Code): runs custom JavaScript code
- Read Contacts (Google Sheets): uses Google Sheets
- Slack: uses Slack
- Filter and Validate (Code): runs custom JavaScript code
- Log Campaign Start (Google Sheets): append
- Slack: uses Slack
- Has Contacts? (If): checks a condition and branches into true / false
- Extract Contacts (Code): runs custom JavaScript code
- Calculate Results (Code): runs custom JavaScript code
…plus 11 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Sheets + Slack templates (1,314) · Other Gmail + Slack templates (957)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (12)
- Manual Trigger
n8n-nodes-base.manualTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - Slack
n8n-nodes-base.slack - If
n8n-nodes-base.if - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Gmail
n8n-nodes-base.gmail - Wait
n8n-nodes-base.wait - Error Trigger
n8n-nodes-base.errorTrigger - No Operation, do nothing
n8n-nodes-base.noOp
From the author
Run professional email campaigns with A/B testing, Google Sheets tracking, and Slack analytics. FEATURES: A/B testing with automatic 50/50 split Email validation and deduplication Batch processing with anti-spam delays Professional HTML email templates…