AI-Powered LinkedIn Job Scraper & Cold Email Lead Engine – Full n8n Workflow
This automation is a complete AI-driven LinkedIn Job Scraper + Lead Qualification + Company Analysis + Cold Email Generator + Instantly Lead Uploader, built to fully automate B2B lead generation.
The workflow scrapes LinkedIn jobs, extracts company URLs, scrapes company websites, cleans data, analyzes the business with AI, finds emails, generates personalized multi-step cold email sequences, and automatically uploads leads to Instantly.ai — ready to send.
Everything described below is fully backed by the JSON.
WHAT THIS AUTOMATION DOES (MODULE-BY-MODULE)
1. Start Trigger + Multi-Pipeline Merge
The workflow begins manually (via “Test Workflow”), then triggers the Apify LinkedIn Job Scraper.
The Merge node waits for both leads and dataset confirmation.
2. Scrape LinkedIn Jobs Using Apify
HTTP Request → Apify Actor
Scrapes:
-
Job titles
-
Company names
-
Location (United States)
-
Poster name
-
Company URL
-
Dataset ID
Configured with proxy & custom filters.
3. Retrieve LinkedIn Dataset Automatically
The workflow retrieves the JSON dataset at:https://api.apify.com/v2/datasets/{{datasetId}}/items?format=json
If the dataset is empty, the workflow waits and retries via the Dataset Availability Check.
4. Scrape LinkedIn Company Profile
Each job result contains companyUrl, which is scraped using HTTP Request.
Extracts:
-
About text
-
Profile details
-
Industries
-
Company size
-
Description
-
Address
-
Website link
The HTML is then cleaned using multiple Remove HTML code nodes that strip scripts, styles, tags, and formatting.
5. Identify Company Website from LinkedIn Content (GPT-4o-mini)
Using AI, the workflow extracts the real company homepage URL from unstructured LinkedIn text.
6. Scrape the Company Website (Homepage HTML)
HTTP Request fetches full HTML of the company homepage, then removes HTML again using dedicated cleaning nodes.
This produces clean plaintext content for advanced analysis.
7. Extract Emails Automatically (AnyMailFinder API)
Queries:https://api.anymailfinder.com/v5.0/search/company.json?domain=companydomain.com
Returns:
-
Primary email
-
Department emails
-
Contact emails
-
Domain-based emails
8. AI-Powered Company Analysis (GPT-4o-mini)
A. Extract Testimonials, Growth, Case Studies
AI scans cleaned homepage content to extract:
-
Testimonials
-
Growth milestones
-
Success stories
B. Full Company Analysis Report
AI analyzes:
-
Products & services
-
B2B/B2C model
-
Industry
-
ICP
-
Value proposition
-
Pain points
-
Key messaging
-
Success stories
-
Opportunities to sell them outbound service
9. Clean Company Name
Two versions of “Clean Company Name” refine the brand name into a conversational version.
E.g. “Hatch LLC, Inc” → “Hatch”
10. Extract First Name from Email (GPT-4o)
AI examines email structure and extracts:
-
Humanized first name
-
Removes digits
-
Capitalizes correctly
11. Generate Personalized Cold Emails (GPT-4o-mini)
Cold Email Version 1
A 3-line outreach message using:
-
Testimonials
-
Pain points
-
Clean company name
-
Role insights
-
Case studies
Cold Email Version 2
Conversational outreach based on company achievements and SDR job openings.
12. Auto-Upload Lead to Instantly.ai
Leads are uploaded automatically with:
-
Email
-
First name
-
Company name
-
Website domain
-
Personalized intro lines
-
Custom variables:
-
Email 1-1 / 1-2 / 1-3 / 1-4
-
Email 2-1 / 2-2 / 2-3
-
Email 3-1 / 3-2
-
WHAT YOU GET IN THIS PRODUCT
✓ Full n8n Workflow (JSON File)
Preconfigured with all nodes:
-
Apify Job Scraper
-
LinkedIn Profile Scraper
-
Company Website Scraper
-
HTML Parsing System
-
AnyMailFinder integration
-
GPT-4o and GPT-4o-mini integration
-
Instantly.ai upload
-
Growth analysis modules
-
Testimonial extraction
-
Company URL extraction
-
Cold email generator (2 versions)
✓ AI-Powered Data Extraction
Automatically turns:
LinkedIn → Structured Data → Clean Website Text → Business Insights → Emails.
✓ Instant Lead Upload
Every processed company becomes a ready-to-send Instantly lead.
✓ Cold Email Engine
Generates:
-
3-line hyper-personalized cold email
-
Expanded conversational cold email
-
Multi-email variables for follow-ups
✓ Fully Automated Job → Lead → Email Pipeline
Zero manual scraping.
Zero manual writing.
Zero manual uploading.
WHO THIS SYSTEM IS FOR
-
Lead generation agencies
-
AI automation agencies
-
SMMAs
-
B2B outbound agencies
-
Recruiters
-
Appointment setters
-
Skool group owners
-
Those targeting hiring companies
WHY THIS WORKFLOW IS EXTREMELY POWERFUL
Imagine this happening automatically:
-
Scrape LinkedIn jobs
-
Find the company
-
Identify the website
-
Scrape homepage
-
Clean the text
-
Find decision-maker emails
-
Analyze the company with GPT-4o
-
Generate 2 cold emails
-
Upload everything to Instantly
This turns you into a 24/7 autonomous lead generation machine.
Turn LinkedIn job postings into qualified leads + full company analysis + personalized cold emails — completely automated.
Unlock the AI-Powered LinkedIn Job Scraper & Cold Email Engine today.