Templates / Send tracked cold email variants from Google Sheets with Gmail

Send tracked cold email variants from Google Sheets with Gmail

Ready for 3.0

by Afeez ✓ · 139 views · created 2026-05-08 · Lead Generation

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 16 nodes and runs on a schedule (cron 0 9 * * 1-5). Along the way it connects Google Sheets and Gmail.

How it runs

Trigger: On a schedule (cron 0 9 * * 1-5).

  1. Get Contacts (Google Sheets): uses Google Sheets
  2. Get Log Sends (Google Sheets): uses Google Sheets
  3. Dedup: Skip Already Sent (Merge): merges the data from its input branches
  4. Assign Variants (Code): runs custom JavaScript code
  5. Loop (Loop Over Items (Split in Batches)): loops over the items in batches
  6. Set Variant (Edit Fields (Set)): sets or maps fields
  7. Add Tracking ID (Code): runs custom JavaScript code
  8. Route: Variant 0? (If): checks a condition and branches into true / false
  9. Send Variant (Gmail): uses Gmail
  10. Route: Variant 1? (If): checks a condition and branches into true / false

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

Services it uses

Google SheetsGmail

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 (9)

From the author

How it works - Every weekday morning, the workflow reads your prospect list from Google Sheets and cross-checks it against a send log — anyone already emailed is automatically skipped - Each new contact is assigned one of three cold email variants,…

Excerpt from Afeez'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.