How to Build an AI Sales Pipeline with n8n
You're running ads, getting traffic, but leads are slipping through the cracks.
Here's the cold truth: most small businesses lose 80% of leads within the first 5 minutes. Not because they're bad leads. Because nobody follows up fast enough.
An AI-powered sales pipeline in n8n changes that completely.
What an AI Sales Pipeline Actually Does
At its core, an AI sales pipeline automates three things:
1. Lead capture — Every form submission, email, and call gets logged instantly
2. Lead enrichment — Company info, social profiles, and intent signals get attached automatically
3. Lead scoring — AI decides who to call first based on likelihood to buy
No manual data entry. No spreadsheets. No "I'll get to that later."
The Architecture
Here's the basic flow:
Lead Source → Webhook → Enrichment → AI Scoring → CRM → Notification
Each step is a separate n8n workflow that chains together. Here's how to build each one.
Step 1: Lead Capture (15 minutes)
Add a Webhook node to n8n configured as a POST endpoint. This becomes your API endpoint for form submissions.
Connect it to a Set node that normalizes the incoming data:
- Name, email, phone → standard fields
- Source (website form, email, phone call, referral) → tracked
- Timestamp → auto-added
Save to Airtable or Google Sheets as a raw lead record.
Test it: Submit a test form and watch the row appear in your sheet within 2 seconds.
Step 2: Lead Enrichment (20 minutes)
Add an HTTP Request node that calls an enrichment API. For free enrichment:
- Hunter.io for email verification and company domain
- Clearbit (free tier) for company size and industry
- BuiltWith for tech stack detection
Chain these with IF nodes so enrichment only runs when data is available.
Add a Code node to merge enrichment data with the original lead record.
Step 3: AI Lead Scoring (30 minutes)
This is where the magic happens. Add an OpenAI node with this system prompt:
Score this lead from 0-100 based on:
- Industry match (higher if they match ideal customer profile)
- Company size (SMB vs enterprise)
- Engagement level (multiple touchpoints = higher score)
- Budget signals (specific tool/stack questions = higher score)
- Urgency (timeframe mentioned = higher score)
Return only a JSON object: {"score": N, "reason": "brief explanation"}
Use a Switch node to route leads by score:
- 80-100 → Hot lead → Notify immediately via email/SMS
- 50-79 → Warm lead → Add to nurture sequence
- 0-49 → Cold lead → Add to monthly newsletter list
Step 4: Notifications (5 minutes)
For hot leads, add a Telegram or Slack node that sends an alert:
🔥 HOT LEAD: Acme Corp ($5M ARR, SaaS)
Score: 92/100
Contact: jane@acme.com
Source: Website form
Action: Call within 5 minutes
Real Results
I've been running this pipeline for my own business. The numbers after 30 days:
| Metric | Before | After |
|---|---|---|
| Lead response time | 4-24 hours | <2 minutes (hot leads) |
| Lead capture rate | ~40% | ~95% |
| Follow-up completion | ~30% | 100% |
| Conversion (lead to call) | ~15% | ~65% |
The biggest surprise: the AI scoring caught 3 high-value leads I would have ignored because they came from an "unusual" source (a podcast mention).
What You Need
- n8n instance (self-hosted, cloud, or Docker)
- Airtable or Google Sheets (free tier works)
- OpenAI API key
- Hunter.io API key (free: 25 verifications/month)
- Optional: Telegram or Slack for notifications
Want the Complete Package?
I've packaged this entire pipeline as pre-built n8n workflow files — 8 workflows covering lead capture, enrichment, AI scoring, CRM sync, and notifications. Import them into n8n, connect your API keys, and you're live in 30 minutes.
Get the AI Sales Automation Blueprint →
Each workflow includes:
- Ready-to-import JSON files
- Environment variable templates
- Setup guide with screenshots
- Troubleshooting for common issues
(I also sell individual workflow packs for specific automations at cardinalventures.gumroad.com)
About the author: I build n8n automation workflows for small businesses. This pipeline powers my own lead generation and has captured 500+ leads with zero manual data entry.
Top comments (0)