Project Overview:
- Project: AI Lead Scoring Automation
- Platform: n8n (self-hosted workflow automation)
- AI Model: OpenAI GPT-4o-mini
- Objective: Build an intelligent system that automatically evaluates and scores incoming leads based on company size, role seniority, email domain, and message intent — routing hot prospects directly to the sales team in real time.
Background:
Manual lead qualification is one of the biggest bottlenecks in any sales pipeline. Sales teams spend hours sifting through form submissions, trying to identify which leads deserve immediate attention and which can wait. This automation eliminates that bottleneck entirely. Every new lead that comes through a web form is instantly analyzed by AI, scored on a 0–100 scale, and routed to the right channel — all within seconds, 24/7, without any human intervention.
How It Works:
Webhook Intake & Data Enrichment:
The workflow starts with a webhook that receives form data from any source — landing pages, contact forms, chatbots. The lead data is immediately parsed and enriched: the system extracts the company domain, identifies the submitter’s role, and prepares a structured profile for AI analysis.
AI-Powered Scoring Engine:
GPT-4o-mini evaluates each lead across multiple dimensions — company fit, decision-maker authority, email legitimacy, and expressed intent. It returns a numerical score (0–100) along with a brief reasoning summary, making the scoring transparent and auditable.
Smart Routing & Notifications:
- Hot Leads (70–100): Instant Slack alert to the sales team with full context, plus an email notification to the assigned rep.
- Warm Leads (40–69): Logged to Google Sheets for nurture sequences, with a weekly digest notification.
- Cold Leads (0–39): Quietly logged for future reference and batch review.