Lead generation agent
Ready for 3.0What this workflow does
This AI workflow has 15 nodes and runs when someone submits an n8n form (“Lead Machine”). Along the way it connects Google Gemini Chat Model, Google Sheets, Gmail and OpenAI Chat Model.
How it runs
Trigger: When someone submits an n8n form (“Lead Machine”).
- HTTP Request: calls an HTTP API
- Filter: keeps only the items that match a condition
- Information Extractor: extracts structured fields from text with AI, with model: Google Gemini Chat Model
- If: checks a condition and branches into true / false
- Append row in sheet (Google Sheets): append
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Wait: waits 1 seconds
- Information Extractor: extracts structured fields from text with AI, with model: OpenAI Chat Model
- Edit Fields (Edit Fields (Set)): sets 2 fields: Send Time, Email Address
- Send a message (Gmail): uses Gmail
…plus 1 more step. 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 (13)
- n8n Form Trigger
n8n-nodes-base.formTrigger - HTTP Request
n8n-nodes-base.httpRequest - Information Extractor
@n8n/n8n-nodes-langchain.informationExtractor - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Filter
n8n-nodes-base.filter - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp - Gmail
n8n-nodes-base.gmail - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Edit Fields (Set)
n8n-nodes-base.set - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Wait
n8n-nodes-base.wait
From the author
Who this is for This workflow is for digital marketing agencies or sales teams who want to automatically find business leads based on industry & location, gather their contact details, and send personalized cold emails — all from one form submission. --- What…