π£ LinkedIn profile scraper & personalized outreach using PhantomBuster + GPT-4
β‘ 835 views Β· π£ Lead Generation & Enrichment
π‘ Pro Tip β If youβre pulling LinkedIn data through HTTP requests or dealing with API restrictions, thereβs a community node called ScraperNode that handles this natively. It has dedicated scrapers for profiles, companies, jobs, and people search β you just pass a URL and get structured data back.
Description
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
π Nodes Used
Google Sheets, HTTP Request, Schedule Trigger, AI Agent, Basic LLM Chain, Structured Output Parser
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File