Draft cold email templates from Google Sheets with OpenAI and Gmail
Ready for 3.0What this workflow does
This AI workflow has 15 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Sheets, OpenAI Chat Model and Gmail.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- Outreach Settings (Edit Fields (Set)): sets or maps fields
- Get Sent Log (Data table): uses Data table
- Read Leads Sheet (Google Sheets): uses Google Sheets
- Normalize Lead Fields (Edit Fields (Set)): sets or maps fields
- Skip Suppressed Leads (Data table): uses Data table
- Apply Cooldown Filter (Code): runs custom JavaScript code
- Cap Drafts Per Run (Limit): keeps the first few items
- Draft Personalised Email (Information Extractor): extracts structured fields from text with AI, with model: Drafting Model
- Prepare Reviewed Draft (Code): runs custom JavaScript code
- Create Gmail Draft (Gmail): uses Gmail
…plus 2 more steps. See the full node list below.
Services it uses
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.
Nodes used (10)
- Manual Trigger
n8n-nodes-base.manualTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Data table
n8n-nodes-base.dataTable - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - Limit
n8n-nodes-base.limit - Information Extractor
@n8n/n8n-nodes-langchain.informationExtractor - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Gmail
n8n-nodes-base.gmail
From the author
Quick overview This workflow runs manually or weekly to read leads from Google Sheets, filters them against an n8n Data Table suppression list and a cooldown log, drafts short personalised cold emails with OpenAI, creates Gmail drafts for review, and records…