Templates / Generate qualified leads from LinkedIn with Apify, GPT-4, and Airtable

Generate qualified leads from LinkedIn with Apify, GPT-4, and Airtable

Needs changes

by Javier Hita ✓ · 2,686 views · created 2025-05-23 · 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 16 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Airtable and OpenAI Chat Model. It also calls api.apify.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Edit Variables (Edit Fields (Set)): sets 3 fields: linkedinUrls, maxEmployees, batchSize
  2. Scrape LinkedIn Jobs (HTTP Request): calls api.apify.com (POST)
  3. Split Job Data (Split Out): splits a list into separate items
  4. Remove Duplicates: removes duplicate items
  5. Clean Data Format (Edit Fields (Set)): sets 12 fields: company_name, title, job_link…
  6. Get Existing Leads (Airtable): search
  7. Categorize Leads (Code): runs custom JavaScript code
  8. Route Leads (Switch): routes items into 3 branches
  9. Filter: keeps only the items that match a condition
  10. Process in Batches (Loop Over Items (Split in Batches)): loops over the items in batches

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

Services it uses

AirtableOpenAI Chat Model

HTTP calls to: api.apify.com

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 AI Lead Analyzer (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Lead Analyzer (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (14)

From the author

Who is this for? This workflow is perfect for sales teams, business development professionals, recruitment agencies, and fractional CFO service providers who need to identify and qualify companies actively hiring. Whether you're prospecting for new clients,…

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