LinkedIn talent pipeline: AI-powered candidate search & ranking with GPT-4o
Needs changesWhat this workflow does
This AI workflow has 21 nodes and runs when a chat message arrives. Along the way it connects OpenAI Chat Model, OpenAI and Google Sheets.
How it runs
Trigger: When a chat message arrives.
- Extract Job Details (AI Agent): runs an AI agent, with model: OpenAI Chat Model; memory: Window Buffer Memory; output parser: Structured Output Parser
- Set Search Page Numbers (Edit Fields (Set)): sets or maps fields
- Split Search Pages (Split Out): splits a list into separate items
- Google Custom Search API Request (HTTP Request): calls an HTTP API
- Filter LinkedIn Profiles (Function): runs custom JavaScript (legacy Function node)
- Prepare Apify Input (Function): runs custom JavaScript (legacy Function node)
- Extract Profile URLs (Code): runs custom JavaScript code
- Limit: keeps the first few items
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Run Apify Scraper (HTTP Request): calls an HTTP API
…plus 7 more steps. See the full node list below.
Services it uses
Other OpenAI + Google Sheets templates (2,011)
Before you upgrade to n8n 3.0
2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:
- AI Agent v1 (old agent modes) in Extract Job Details (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
- Function (legacy) in Filter LinkedIn Profiles, Prepare Apify Input: replace with Code node, mode 'Run Once for All Items'.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Extract Job Details (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
| Function (legacy) Filter LinkedIn Profiles, Prepare Apify Input | Code node, mode 'Run Once for All Items' |
Nodes used (16)
- Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Edit Fields (Set)
n8n-nodes-base.set - Split Out
n8n-nodes-base.splitOut - HTTP Request
n8n-nodes-base.httpRequest - Function
n8n-nodes-base.function - OpenAI
@n8n/n8n-nodes-langchain.openAi - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Limit
n8n-nodes-base.limit - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Wait
n8n-nodes-base.wait - If
n8n-nodes-base.if
From the author
The Ultimate AI Recruiting Solution for Finding Perfect Candidates with GPT-4o Are you tired of manually sifting through hundreds of LinkedIn profiles to find the right talent? Say goodbye to inefficient recruiting processes and embrace the power of AI-driven…