M
MJK.Supplies
Home / n8n / n8n Lead Generation: Automate Your Entire Lead P…
n8n

n8n Lead Generation: Automate Your Entire Lead Pipeline

Automated lead generation with n8n takes what previously required a full outbound sales team and compresses it into automated workflows. This guide covers how to build lead scraping, enrichment, qualification, and personalised outreach pipelines using n8n, Claude AI, and the best lead data tools available.

M
MJK Supplies · Jun 2, 2026 · 11 min read
ShareXinf↗
n8n Lead Generation: Automate Your Entire Lead Pipeline

Lead Generation Automation Stack

A complete automated lead generation pipeline needs:

  1. Lead source: Where do leads come from? (LinkedIn, Apollo, industry directories, job boards, web scraping, inbound forms)
  2. Enrichment: Company data, contact details, technology stack, funding status
  3. Qualification: AI scoring to prioritise leads by ICP fit
  4. Outreach generation: Personalised first touch based on specific prospect context
  5. Delivery: CRM update, email sequence, sales team notification

n8n connects all five layers.

Lead Sources

Apollo.io integration: Apollo has a powerful API. Pull contacts matching your ICP filters:

{ "api_key": "{{$env.APOLLO_API_KEY}}", "q_organization_industry_tag_ids": ["technology"], "person_titles": ["VP Sales", "Head of Sales", "Sales Director"], "organization_num_employees_ranges": ["11,50", "51,200"], "limit": 50 }

HTTP Request to Apollo → returns matched contacts → feed into enrichment + outreach pipeline.

LinkedIn (via Phantombuster): Phantombuster automates LinkedIn profile exports → webhook to n8n → enrichment pipeline.

Job postings: Companies posting certain jobs are often in buying mode. Monitor job boards for signals:

  • Company posting "VP Sales" → buying CRM?
  • Company posting "DevOps Engineer" → cloud infrastructure tool?

Schedule trigger → scrape relevant job boards → filter by matching criteria → add to outreach pipeline.

Inbound leads: Form submissions → webhook → qualification + routing workflow.

Lead Enrichment

Raw leads need enrichment before outreach:

Clearbit enrichment workflow:

HTTP: GET https://person.clearbit.com/v2/combined/find?email={{email}} Returns: person (name, title, LinkedIn), company (size, industry, tech stack, funding)

What to extract from Clearbit:

  • Company: size, industry, revenue, funding, tech stack
  • Person: seniority level, years at company, prior companies
  • Contact: verified email, LinkedIn URL, phone (if available)

BuiltWith for tech stack:

HTTP: GET https://api.builtwith.com/v14/api.json?KEY={{key}}&LOOKUP={{domain}} Returns: what technologies the company website uses

Use this to find companies using specific tools (competitors, complementary tools) — strong buying signal qualification.

AI Lead Scoring

After enrichment, qualify leads with Claude:

System prompt:

You are a sales qualification assistant. Score each lead from 1-10 based on fit with our ICP. Our ICP: B2B SaaS companies, 20-500 employees, US-based, using Salesforce. Deal size: $10,000-50,000 ARR. Return JSON only: { "score": 1-10, "tier": "A|B|C", "fit_signals": ["list of positive signals"], "risk_signals": ["list of concerns"], "recommended_action": "specific next step" }

Code to build the scoring prompt:

const lead = $input.first().json; return [{ json: { prompt: `Score this lead: Company: ${lead.company} (${lead.employees} employees, ${lead.industry}) Revenue: ${lead.revenue} Tech stack: ${lead.techStack?.join(', ')} Contact: ${lead.firstName} ${lead.lastName}, ${lead.jobTitle} Funding: ${lead.funding} Location: ${lead.location}` } }];

Only pass A and B tier leads to outreach — C tier goes to a nurture sequence.

Personalised Outreach Generation

The output of your qualification pipeline is the context for personalised outreach:

Claude outreach prompt:

Write a personalised cold email to this prospect: Name: {{first_name}} {{last_name}} Title: {{job_title}} at {{company}} Company size: {{employees}} employees in {{industry}} Recent news: {{company_news}} Tech stack includes: {{tech_stack}} Our product: [Product] helps [ICP] to [outcome]. [Key differentiator]. Write a 4-sentence cold email: 1. Sentence 1: Specific observation about their company or role (not generic) 2. Sentence 2: Connect to a relevant problem they likely face 3. Sentence 3: What we do and the specific outcome we deliver 4. Sentence 4: Simple, specific CTA (15-minute call this week?) No "I hope this finds you well." No "leveraging synergies." Be direct and specific.

The personlisation makes response rates 3-5x higher than generic templates.

Multi-Touch Outreach Sequences

Single emails don't close deals. Build sequences:

5-touch sequence with n8n:

  1. Day 0: Personalised cold email (Claude-generated, above)
  2. Day 3: Follow-up adding value (link to relevant case study)
  3. Day 7: Video or LinkedIn connection request
  4. Day 14: Break-up email ("I'll stop reaching out after this...")
  5. Day 30: New angle email (different value prop)

Schedule all 5 when a lead enters the sequence. Use n8n's Wait node between touches.

CRM Integration

Log everything to your CRM:

After each lead is processed:

  • HubSpot → create contact with enriched data
  • HubSpot → create deal if scored A/B
  • HubSpot → log AI score as custom property
  • HubSpot → add to appropriate email sequence

Recommended Tools

  • n8n — Automation backbone for the pipeline
  • Apollo.io — Lead sourcing and enrichment
  • Claude API — Lead scoring and outreach generation
  • Clearbit — Company enrichment data
  • HubSpot — CRM to store and track leads
  • Twilio — SMS/WhatsApp outreach channel
#n8n#lead-generation#pipeline

Related articles

MJK Supplies · Automation Services

Want this built for you?

We design and ship custom AI agents and automation systems for teams that want results, not a backlog. Book a free 30-minute consult — no commitment, no pitch deck.