Templates / Run A/B-tested email campaigns using Gmail, Google Sheets, and Slack

Run A/B-tested email campaigns using Gmail, Google Sheets, and Slack

Ready for 3.0

by Manu ✓ · 56 views · created 2025-12-23 · Social Media

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What 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).

  1. Configure Campaign (Code): runs custom JavaScript code
  2. Format Error (Code): runs custom JavaScript code
  3. Read Contacts (Google Sheets): uses Google Sheets
  4. Slack: uses Slack
  5. Filter and Validate (Code): runs custom JavaScript code
  6. Log Campaign Start (Google Sheets): append
  7. Slack: uses Slack
  8. Has Contacts? (If): checks a condition and branches into true / false
  9. Extract Contacts (Code): runs custom JavaScript code
  10. Calculate Results (Code): runs custom JavaScript code

…plus 11 more steps. See the full node list below.

Services it uses

Google SheetsSlackGmail

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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (12)

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…

Excerpt from Manu's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.