Templates / Draft review-ready B2B cold emails from Google Sheets with OpenAI

Draft review-ready B2B cold emails from Google Sheets with OpenAI

Ready for 3.0

by Zhang Lixiang ✓ · 1 views · created 2026-10-26 · Lead Generation, AI RAG

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 AI workflow has 37 nodes and runs manually, when you click “Execute workflow” (plus 2 other triggers). Along the way it connects Google Sheets, OpenAI Chat Model and HTTP Request.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 2 other triggers).

  1. Settings (edit me) (Code): runs custom JavaScript code
  2. Fetch Homepage (HTTP Request): calls an HTTP API
  3. Read Leads (Google Sheets): read
  4. Extract Website Text (Code): runs custom JavaScript code
  5. Note Fetch Failure (Code): runs custom JavaScript code
  6. Plan Run: Approvals and New Leads (Code): runs custom JavaScript code
  7. Enough Website Text? (If): checks a condition and branches into true / false
  8. New Lead? (If): checks a condition and branches into true / false
  9. Research Agent (AI Agent): runs an AI agent, with model: OpenAI Model (agent); 2 tools (Fetch Another Page, Look Up Offer Library); output parser: Research Output Parser
  10. Shape Lead Result (Edit Fields (Set)): sets 12 fields: row_number, status, review_reason…

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

Services it uses

Google SheetsOpenAI Chat ModelHTTP Request

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

From the author

Quick overview This workflow manually pulls B2B leads from Google Sheets, uses an OpenAI chat model to draft a short cold email per company using only provided lead data and your offer, validates each draft against basic quality rules, and appends the results…

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