Automate B2B lead generation & personalized cold emails with Apollo, Apify & GPT
Ready for 3.0What 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.
- Apollo URL Generator (Basic LLM Chain): sends a prompt to an LLM, with model: LINK PASER
- Run Apify (HTTP Request): calls an HTTP API
- Limit: keeps the first few items
- Parse Lead Data (Basic LLM Chain): sends a prompt to an LLM, with model: Parse Data module; output parser: Structured Output Parser
- If: checks a condition and branches into true / false
- Leads without email (Google Sheets): uses Google Sheets
- Add to Google Sheet (Google Sheets): uses Google Sheets
- Creating a email (OpenAI): uses OpenAI
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- message confirming end of work (Gmail): uses Gmail
…plus 3 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
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)
- Google Sheets
n8n-nodes-base.googleSheets - n8n Form Trigger
n8n-nodes-base.formTrigger - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - HTTP Request
n8n-nodes-base.httpRequest - Limit
n8n-nodes-base.limit - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - If
n8n-nodes-base.if - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Wait
n8n-nodes-base.wait - No Operation, do nothing
n8n-nodes-base.noOp - Gmail
n8n-nodes-base.gmail - Send Email
n8n-nodes-base.emailSend - OpenAI
@n8n/n8n-nodes-langchain.openAi - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
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…