Templates / Send and track GPT-4 outreach emails with Gmail and Google Sheets

Send and track GPT-4 outreach emails with Gmail and Google Sheets

Ready for 3.0

by Sourabh Rajput ✓ · 2 views · created 2026-08-25 · Lead Nurturing, Multimodal AI

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-10-19.

What this workflow does

This AI workflow has 22 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets, Gmail and OpenAI Chat Model.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Retrieve Lead Records from Google Sheets (Google Sheets): uses Google Sheets
  2. Validate Lead Data Payload (If): checks a condition and branches into true / false
  3. Filter for Booked Leads (If): checks a condition and branches into true / false
  4. Log Invalid Leads to Google Sheets (Google Sheets): append
  5. AI Agent: runs an AI agent, with model: OpenAI Chat Model
  6. Parse AI Email Output (JavaScript) (Code): runs custom JavaScript code
  7. Send Initial Outreach Email via Gmail (Gmail): uses Gmail
  8. Wait: waits 30 seconds
  9. Fetch Sent Email Thread from Gmail (Gmail): get (thread)
  10. Check for Client Reply (If Condition) (If): checks a condition and branches into true / false

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

Services it uses

Google SheetsGmailOpenAI Chat Model

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

From the author

Quick overview This workflow pulls lead records from Google Sheets, uses OpenAI to generate personalized HTML outreach emails, sends them through Gmail, waits and checks the Gmail thread for replies, and then updates lead status and reply details back in…

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