Templates / AI-powered lead generation with Apollo, LinkedIn research & 4-step personalized emails

AI-powered lead generation with Apollo, LinkedIn research & 4-step personalized emails

Ready for 3.0

by Gain FLow AI ✓ · 287 views · created 2025-07-17 · 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 25 nodes and runs when someone submits an n8n form (plus 1 other trigger). Along the way it connects Google Sheets and OpenAI.

How it runs

Trigger: When someone submits an n8n form (plus 1 other trigger).

  1. Generate Query (Edit Fields (Set)): sets or maps fields
  2. Get Prospects (Google Sheets): uses Google Sheets
  3. Create Apollo URL (Code): runs custom JavaScript code
  4. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  5. Apollo Scraper (HTTP Request): calls an HTTP API
  6. If: checks a condition and branches into true / false
  7. Extract Info (Edit Fields (Set)): sets or maps fields
  8. Linkedin Scraper (HTTP Request): calls an HTTP API
  9. Filter: keeps only the items that match a condition
  10. Edit Fields (Edit Fields (Set)): sets or maps fields

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

Services it uses

Google SheetsOpenAI

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.

  • Still check Always Output Data on multi-output nodes (If/Switch) now adds an empty item only when every output is empty (If Linkedin Exists?).

Nodes used (10)

From the author

Overview This workflow finds potential customers, gathers detailed info about them and their companies, and then uses AI to research them in detail and write personalized messages for LinkedIn and a series of four cold emails. All this data is organized in…

Excerpt from Gain FLow AI'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.