Templates / Lead generation agent

Lead generation agent

Ready for 3.0

by Rakin Jakaria ✓ · 89,189 views · created 2025-08-15 · Lead Generation, 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 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”).

  1. HTTP Request: calls an HTTP API
  2. Filter: keeps only the items that match a condition
  3. Information Extractor: extracts structured fields from text with AI, with model: Google Gemini Chat Model
  4. If: checks a condition and branches into true / false
  5. Append row in sheet (Google Sheets): append
  6. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  7. Wait: waits 1 seconds
  8. Information Extractor: extracts structured fields from text with AI, with model: OpenAI Chat Model
  9. Edit Fields (Edit Fields (Set)): sets 2 fields: Send Time, Email Address
  10. Send a message (Gmail): uses Gmail

…plus 1 more step. See the full node list below.

Services it uses

Google Gemini Chat ModelGoogle 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 (13)

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…

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