🎣 LinkedIn lead generation with GPT-4o, Apify scraping, and automated outreach

⚑ 2,645 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.

View All Scrapers

Description

πŸš€ LinkedIn Lead-Gen Flywheel – Apify β†’ GPT-4o β†’ Google Sheets β†’ Phantombuster

What this workflow does

  1. Collect audience specs – simple web-form asks for your ideal company profile.
  2. Generate a laser-targeted Apollo search URL with GPT-4o (no manual filtering).
  3. Scrape the matching leads via an Apify actor (returns clean JSON).
  4. Craft hyper-personalized icebreakers for each lead using GPT-4o (ultra-short, human-sounding).
  5. Log everything to Google Sheets – name, LinkedIn URL, company site, summary, and the icebreaker.
  6. (Optional) Auto-launch Phantombuster to fire off those connection requests at scale.

Why it matters

Node rundown

StepNodeKey InputsKey Outputs
1Form TriggerAudience descriptiondescription_of_company
2OpenAI (GPT-4o)Audience textSearchUrl
3HTTP Request – ApifySearchUrl, APIFY_TOKENLead JSON
4OpenAI (GPT-4o)Lead JSONIcebreaker
5Google SheetsLead + IcebreakerRow append/update
6AggregateSheet rowsBatched output
7HTTP Request – PhantombusterPHANTOM_KEY, AGENT_IDLaunch status

Prerequisites

Setup (5-minute sprint)

  1. Import the workflow into n8n.
  2. Add the required credentials in Credentials β†’ OpenAI, Apify, Google Sheets, Phantombuster.
  3. Paste your Phantombuster Agent ID into the HTTP Request node URL.
  4. Publish the Form Trigger URLβ€”this is where you (or your SDRs) describe the target audience.
  5. Hit Execute Workflow once to verify data flows end-to-end.

Customization tips

πŸ”— Nodes Used

Google Sheets, HTTP Request, n8n Form Trigger, OpenAI

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup