Templates / LinkedIn profile scraper & personalized outreach using PhantomBuster + GPT-4

LinkedIn profile scraper & personalized outreach using PhantomBuster + GPT-4

Needs changes

by Rahul Joshi ✓ · 977 views · created 2025-06-20 · 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 to replace before upgrading

Removed in 3.0Replace 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 ModelStructured Output ParserGoogle SheetsAI AgentBasic LLM Chain

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

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.