Templates / Automate B2B lead generation & personalized cold emails with Apollo, Apify & GPT

Automate B2B lead generation & personalized cold emails with Apollo, Apify & GPT

Ready for 3.0

by Mirai ✓ · 689 views · created 2025-10-09 · Lead Generation, AI Chatbot

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 18 nodes and runs when someone submits an n8n form. Along the way it connects Google Sheets, Gmail, OpenAI and OpenAI Chat Model.

How it runs

Trigger: When someone submits an n8n form.

  1. Apollo URL Generator (Basic LLM Chain): sends a prompt to an LLM, with model: LINK PASER
  2. Run Apify (HTTP Request): calls an HTTP API
  3. Limit: keeps the first few items
  4. Parse Lead Data (Basic LLM Chain): sends a prompt to an LLM, with model: Parse Data module; output parser: Structured Output Parser
  5. If: checks a condition and branches into true / false
  6. Leads without email (Google Sheets): uses Google Sheets
  7. Add to Google Sheet (Google Sheets): uses Google Sheets
  8. Creating a email (OpenAI): uses OpenAI
  9. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  10. message confirming end of work (Gmail): uses Gmail

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

Services it uses

Google SheetsGmailOpenAIOpenAI 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 (14)

From the author

This n8n template automates targeted lead discovery, AI-driven data structuring, and personalized cold-email sending at controlled intervals. It’s ideal for sales teams, founders, and agencies that want to scale outreach without losing personalization. Good…

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