LinkedIn Profile Scraper & Personalized Outreach using PhantomBuster + GPT-4
Go to WorkflowDescription
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