virgin ai
Turn Leads Into Qualified Sales Opportunities Automatically (n8n)
Turn Leads Into Qualified Sales Opportunities Automatically (n8n)
Couldn't load pickup availability
This is a complete, production-ready SaaS automation system that handles lead scraping, enrichment, company analysis, B2B qualification, ICP filtering, LinkedIn extraction, website scraping, and CRM entry — fully hands-off.
Built entirely in n8n, this automation lets you plug in your APIs and launch immediately.
This is not a “template.”
This is a 100% ready automation, engineered for agencies, SaaS founders, and lead-gen teams who want to stop wasting time manually qualifying leads.
Everything below is taken from the workflow logic in your JSON file.
WHAT THIS AUTOMATION DOES (FULL BREAKDOWN)
1. Triggers & Scraping
-
Starts via Manual trigger or Webhook
-
Launches the Apify Apollo.io Scraper to pull:
-
First Name
-
Last Name
-
LinkedIn URL
-
Title
-
Email
-
Company Name
-
Industries
-
Company LinkedIn Profile
-
Company Website
-
Location
-
Organization Metadata
-
-
Waits automatically for Apify dataset completion.
2. Dataset Retrieval & Validation
-
Polls Apify dataset every 2 minutes.
-
Checks if dataset is ready → if not, loops again.
-
Once ready → retrieves all scraped items.
3. Deduplication
-
Removes leads previously enriched (email-based dedupe).
-
Ensures only new leads enter the enrichment flow.
4. Add Leads to CRM (Airtable)
Automatically pushes all scraped leads to Airtable fields:
-
Name, Email, Company, Title
-
LinkedIn URL & LinkedIn Company URL
-
Industries, Website, Location
-
Lead Status → “Yet To Be Enriched”
-
Instantly Campaign ID
-
Start Lead Enrichment → FALSE (initial)
This creates a clean CRM record automatically.
5. Lead Enrichment Flow
Once a lead is fetched from Airtable via webhook:
a. Country Filtering
-
Checks if Location contains “United States”
-
If NOT USA → deletes lead immediately
-
Saves only US-based prospects
6. Company Website Scraper
For remaining leads:
-
Loads website via HTTP scraper
-
Extracts all header links
-
Filters out all pricing-related URLs:
-
/pricing
-
/plans
-
/subscriptions
-
/fees
-
/packages
-
This helps determine monetization model and ICP fit.
7. LinkedIn Company Scraper
-
Scrapes the full LinkedIn HTML
-
Removes:
-
HTML tags
-
Script / style
-
Entities
-
-
Outputs a plain-text LinkedIn profile for AI analysis.
8. SaaS ICP Qualification (OpenAI + Rules Engine)
AI determines:
-
Is this a bad-fit SaaS?
-
Why and which category?
-
Is the company B2B-focused?
-
Exact employee count
-
Does it match your ideal customer?
If the company is:
✔ Non-B2B
✔ Freemium / PLG
✔ API-first developer SaaS
✔ Marketplace SaaS
✔ Niche SaaS
✔ Ultra-small or non-scalable
→ It marks it as Not Qualified and updates Airtable automatically.
9. Company Deep Analysis (OpenAI)
If the company is B2B and not a disqualified SaaS, the system generates:
“Company LinkedIn Report”
A fully structured company analysis:
-
Company Overview
-
Products & Services
-
Tech Stack
-
Operations & Market Presence
-
Recent Announcements
-
Full list of Company Posts with timestamps
-
Employee count
-
Mission, industry, value proposition
This is formatted and stored in Airtable.
10. Airtable Status Updates
Depending on qualification:
-
Qualified → kept for outbound
-
Not Qualified → updated to “Not Qualified” automatically
-
Merges data back into Airtable enriched columns
-
Stores pricing links, LinkedIn analysis, and website data
WHAT YOU GET
You receive the full n8n JSON automation, containing:
Included Modules
-
Manual Trigger
-
Apify API Launch
-
Dataset Polling System
-
Wait Loop
-
Dataset Retrieval
-
Data Merge & Verification
-
HTML → Clean Text Parser
-
LinkedIn Scraper
-
Website Header Link Scraper
-
Pricing URL Detector
-
B2B Qualification AI
-
SaaS Bad-Fit Classification
-
U.S. Location Filter
-
Airtable Create / Update / Delete
-
Company Report Generator (OpenAI)
-
Lead Deduplication
-
Error Handling + Continue Mode
TOOLS USED
✔ n8n
✔ Apify (Apollo.io Scraper)
✔ OpenAI GPT-4o-Mini
✔ Airtable CRM
✔ Custom HTML Scraper
✔ HTTP Request Modules
✔ LinkedIn Extractor
✔ Javascript Code Blocks
✔ Regex Filters
✔ Webhook Trigger
Everything is already built and wired.
WHO IS THIS FOR?
Perfect for:
-
Outbound Lead Generation Agencies
-
SaaS Founders
-
B2B Appointment Setters
-
LinkedIn Outreach Teams
-
Sales Teams Who Want Better Leads
-
Automation Agencies
-
Skool Community Owners
-
Cold Email Agencies
-
ICP-Based Lead Filtering Teams
WHY THIS IS POWERFUL
Because this workflow replaces 4–8 manual employees:
-
No need to manually check LinkedIn
-
No manual company research
-
No manual enrichment
-
No copying into Airtable
-
No deleting unqualified leads
-
No website checking for pricing pages
-
No parsing HTML
-
No guessing ICP fit
It becomes a fully-automated lead qualification machine.
Share
