LinkedIn profile scraper & personalized outreach using PhantomBuster + GPT-4
Needs changesNeeds 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 to replace before upgrading
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Extract URL from Output using GPT-4 (v1.9) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (8)
- Azure OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatAzureOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Wait
n8n-nodes-base.wait - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Sheets
n8n-nodes-base.googleSheets - HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
What it does
Description This plug-and-play n8n workflow template helps you automate LinkedIn profile data extraction and transform it into structured, enriched outputs using PhantomBuster and GPT-4. Perfect for lead generation, recruiting, or growth marketing teams, this pipeline handles scraping, structuring, and messaging—all in one flow. Requirements PhantomBuster Setup - Create a PhantomBuster account. - Use the LinkedIn Profile Scraper Phantom (or your custom one). - Get your API Key and Agent ID from PhantomBuster dashboard. - Configure your LinkedIn Phantom with an active LinkedIn session cookie (available from your browser’s developer tools). OpenAI or Azure OpenAI - Provide your GPT-4 / GPT-4o API Key. - You can use OpenAI or Azure's hosted model. (Optional) Google Sheets - Use Sheets for batch profile inputs or output logging. What This Template Does Step-by-Step Flow: 🔁 Manual Trigger / Google Sheets input – Accepts LinkedIn profile URLs. 🚀 Launch PhantomBuster Agent – Starts the scraping job with provided LinkedIn URLs. ⏳ Wait Node (45 sec) – Allows PhantomBuster to finish execution. 📥 Download Scraped Output – Fetches the download URL for JSON/CSV from the container. 📂 Temp File Management – Deletes temp URLs or intermediate data as needed. AI Parser (GPT-4) – Parses and extracts: - Name - Headline - Company - Designation - Industry - Location - Recent roles (Optional) Create personalized outreach messages using structured output. Output Structured JSON or CSV – Send to CRM, Google Sheets, Airtable, etc. Best For 📈 Sales/BDRs building high-quality prospect lists 🧑💼 Recruiters extracting enriched candidate info 💼 Founders & Marketers creating targeted lead magnets 🧩 Tool builders building products using LinkedIn profile data