AI Lead-to-CRM Pipeline — Lead Qualification, Routing & Follow-up Automation with n8n
Bangladesh & worldwide · public demo on fake data
Four connected n8n workflows turn a raw lead from a form, Facebook Lead Ad or WhatsApp into a qualified, routed CRM record with a personalised follow-up sequence in seconds. AI scores the lead with BANT, rules assign the owner and SLA, and the CRM step catches duplicates.
Role: Solo build: process design, n8n workflows and sub-workflows, prompts, rules engine, rate limiting, hosting and documentation
- 4 n8n workflows
- 2 AI steps
- Free AI models
- Live public demo
What I built
- Main · Lead intake (public form): Validates input, applies an hourly and daily rate limit, calls the three sub-workflows in order and writes the demo CRM with duplicate detection.
- SW1 · Enrich + qualify: Free LLM infers industry, company size and persona, scores budget, authority, need and timeline, and returns Hot, Warm or Cold with reasons.
- SW2 · Route + SLA: Plain rules, no AI: team by company size or country, pipeline stage by tier, SLA timer (5 minutes for hot leads) and the next best action.
- SW3 · Follow-up sequence: Free LLM writes the first email, a WhatsApp opener, a call script and a four-step sequence in English or Bangla.
- Every lead gets a reply plan within seconds instead of hours
- One scoring rule for every channel, so reps stop cherry-picking
Free-model demo: This public demo runs on free AI models, so accuracy is limited. With paid, better models the output is much better.
এই ডেমোতে ফ্রি AI মডেল ব্যবহার করা হয়েছে, তাই নির্ভুলতা সীমিত। পেইড ও উন্নত মডেল ব্যবহার করলে আউটপুট অনেক ভালো হবে।
Project status
Live public demo with sample data. Multi-workflow case study built and hosted by me on self-hosted n8n. It runs on free AI models (Groq gpt-oss, OpenRouter free models), uses only fake sample data and is rate-limited. The workflow exports are public on GitHub.
The problem
Most small sales teams answer leads hours or days late. Leads from Facebook, the website and WhatsApp land in different inboxes, nobody scores them, the same person is entered twice, and follow-up stops after one message. Speed and consistency decide who wins the deal, and both are easy to automate.
Architecture
4 n8n workflows, 2 AI steps (highlighted) and plain rules everywhere else, so the result is predictable and auditable.
The workflows
- Main · Lead intake (public form): Validates input, applies an hourly and daily rate limit, calls the three sub-workflows in order and writes the demo CRM with duplicate detection.
- SW1 · Enrich + qualify: Free LLM infers industry, company size and persona, scores budget, authority, need and timeline, and returns Hot, Warm or Cold with reasons.
- SW2 · Route + SLA: Plain rules, no AI: team by company size or country, pipeline stage by tier, SLA timer (5 minutes for hot leads) and the next best action.
- SW3 · Follow-up sequence: Free LLM writes the first email, a WhatsApp opener, a call script and a four-step sequence in English or Bangla.
Try the live demo
No sign-up needed. Use sample or fake data only.
- Open the demo and submit a fake lead in English or Bangla.
- Read the score, the reasons and which sales rep gets it.
- Submit the same email again: the CRM step merges it instead of creating a duplicate.
What it changes
- Every lead gets a reply plan within seconds instead of hours
- One scoring rule for every channel, so reps stop cherry-picking
- Duplicates merged automatically, so reporting stays clean
- In production: Meta Lead Ads, website forms and WhatsApp in; HubSpot, Zoho, GoHighLevel or Google Sheets as the CRM
Tech stack
n8n, Sub-workflows, Groq gpt-oss (free), OpenRouter free models, Lead scoring, CRM automation, WhatsApp
FAQ
Can this connect to my CRM?
Yes. The demo uses a small built-in CRM; the production version writes to HubSpot, Zoho CRM, GoHighLevel, Pipedrive or Google Sheets through their APIs.
Does the AI decide who gets the lead?
No. AI only enriches and scores. Routing and SLA are plain rules you can read and change, so assignments are predictable.
Can follow-ups go out on WhatsApp?
Yes, through the WhatsApp Business Cloud API with approved templates, and the sequence stops as soon as the lead replies.
Which leads sources are supported?
Facebook and Instagram Lead Ads, website forms, landing pages, WhatsApp, email and any tool that can send a webhook.
Why is the demo output not perfect?
This public demo runs on free AI models (Groq gpt-oss and OpenRouter free models), so accuracy is limited. With paid, better models the output is much better.