Send tracked cold email variants from Google Sheets with Gmail
Ready for 3.0What 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).
- Get Contacts (Google Sheets): uses Google Sheets
- Get Log Sends (Google Sheets): uses Google Sheets
- Dedup: Skip Already Sent (Merge): merges the data from its input branches
- Assign Variants (Code): runs custom JavaScript code
- Loop (Loop Over Items (Split in Batches)): loops over the items in batches
- Set Variant (Edit Fields (Set)): sets or maps fields
- Add Tracking ID (Code): runs custom JavaScript code
- Route: Variant 0? (If): checks a condition and branches into true / false
- Send Variant (Gmail): uses Gmail
- 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
Other Google Sheets + Gmail templates (2,102)
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 (9)
- Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Wait
n8n-nodes-base.wait - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Merge
n8n-nodes-base.merge - Code
n8n-nodes-base.code
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,…