LinkedIn Lead Generation with GPT-4o, Apify Scraping, and Automated Outreach
π LinkedIn Lead-Gen Flywheel β Apify β GPT-4o β Google Sheets β Phantombuster
What this workflow does Collect audience specs β simple web-form asks for your ideal company profile. Generate a laser-targeted Apollo search URL with GPT-4o (no manual filtering). Scrape the matching leads via an Apify actor (returns clean JSON). Craft hyper-personalized icebreakers for each lead using GPT-4o (ultra-short, human-sounding). Log everything to Google Sheets β name, LinkedIn URL, company site, summary, and the icebreaker. (Optional) Auto-launch Phantombuster to fire off those connection requests at scale.
Why it matters
Zero grunt work:** audience research, scraping, copy-writing, and outreach all run hands-free.
Punchy personalization:** micro-icebreakers outperform canned intros, boosting accept rates.
Scales with you:** flip a switch to go from 10 to 1 000+ connections/day.
Node rundown | Step | Node | Key Inputs | Key Outputs | |------|------|-----------|-------------| | 1 | Form Trigger | Audience description | description_of_company | | 2 | OpenAI (GPT-4o) | Audience text | SearchUrl | | 3 | HTTP Request β Apify | SearchUrl, APIFY_TOKEN | Lead JSON | | 4 | OpenAI (GPT-4o) | Lead JSON | Icebreaker | | 5 | Google Sheets | Lead + Icebreaker | Row append/update | | 6 | Aggregate | Sheet rows | Batched output | | 7 | HTTP Request β Phantombuster | PHANTOM_KEY, AGENT_ID | Launch status |
Prerequisites
OpenAI API key** (GPT-4o access recommended)
Apify API token** with access to actor id
Google Service Account creds** shared with your target sheet
Phantombuster API key** and Agent ID for your LinkedIn connector
Active Apollo account to open the generated search URL (only required for debugging)
Setup (5-minute sprint)
Import the workflow into n8n.
Add the required credentials in Credentials β OpenAI, Apify, Google Sheets, Phantombuster.
Paste your Phantombuster Agent ID into the HTTP Request node URL.
Publish the Form Trigger URLβthis is where you (or your SDRs) describe the target audience.
Hit Execute Workflow once to verify data flows end-to-end.
Customization tips
Titles & keywords:** tweak the prompt in the first GPT-4o node to lock in different roles or industries.
Icebreaker style:** adjust the second GPT-4o prompt to match your brand voice.
Data columns:** map extra fields from Apify into Google Sheets as needed.
Skip outreach:** disable the Phantombuster node if you only want the leads + icebreakers.
Related Templates
AI SEO Readability Audit: Check Website Friendliness for LLMs
Who is this for? This workflow is designed for SEO specialists, content creators, marketers, and website developers who ...
Reply to Outlook Emails with OpenAI
Who is this template for? This template is for any Microsoft Outlook user who wants a trained AI agent to reason and rep...
Use OpenRouter in n8n versions <1.78
What it is: In version 1.78, n8n introduced a dedicated node to use the OpenRouter service, which lets you to use a lot...
π Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments