Templates / Automated LinkedIn lead generation & AI personalized outreach with Apollo & Instantly

Automated LinkedIn lead generation & AI personalized outreach with Apollo & Instantly

Needs changes

by PrideVel ✓ · 308 views · created 2025-12-10 · Lead Generation, AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 20 nodes and runs when someone submits an n8n form (“Apollo + Apify Lead Generation”). Along the way it connects Google Sheets, OpenAI Chat Model and Tavily (community). It also calls api.apify.com and api.instantly.ai over HTTP.

How it runs

Trigger: When someone submits an n8n form (“Apollo + Apify Lead Generation”).

  1. Apollo URL Generator (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model
  2. Run Apify (HTTP Request): calls api.apify.com (POST)
  3. Parse Lead Data (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model; output parser: Structured Output Parser
  4. If: checks a condition and branches into true / false
  5. Filter: keeps only the items that match a condition
  6. Add to Google Sheet (Google Sheets): append or update
  7. Limit: keeps the first few items
  8. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  9. Company Research (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (Tavily); output parser: Structured Output Parser
  10. Generate Outreach Message (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model

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

Services it uses

Google SheetsOpenAI Chat ModelTavily (community)

HTTP calls to: api.apify.com, api.instantly.ai

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Company Research (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Company Research (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (12)

From the author

🔗 LinkedIn Scraper + Apollo + Apify + AI Outreach Workflow A fully automated, end‑to‑end B2B lead generation and AI‑powered outreach system built using n8n, Apollo, Apify, OpenAI, Tavily, Google Sheets, and Instantly.ai. This workflow transforms a simple…

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