Automatically qualify, score, and route new leads using a hybrid AI + rule-based scoring engine. This workflow analyzes incoming leads from Airtable, enriches them with OpenAI-powered qualification, applies deterministic business rules, and instantly alerts your sales team in Slack when a high-intent lead is detected.
If you store leads in Airtable and want AI-assisted qualification with fallback logic (not just blind AI scoring), this template is for you.
This workflow implements a hybrid lead scoring model:
Triggers when a new lead is created in Airtable.
Normalizes and standardizes lead data.
Sends structured context to OpenAI for qualification.
Validates the AI response (strict JSON parsing).
Falls back to deterministic scoring if AI fails.
Combines AI score (50% weight) + rule-based score.
Updates Airtable with:
Sends Slack alerts:
Unlike basic AI-only scoring, this workflow guarantees reliability by combining LLM reasoning with business logic.
Lead intake & guardrail
AI qualification engine
Deterministic scoring layer
Business logic evaluates:
The deterministic score is capped at 50.
How deteministic scoring works?
Larger companies receive higher baseline scores:
1-10: 511-50: 1051-200: 20201-500": 25501-1000": 301000+: 35You can increase or decrease these values depending on your Ideal Customer Profile (ICP).
Industry boost
Technology/Software: 10SaaS/Cloud Services: 15Cybersecurity: 20IT Services/Consulting: 10If your product is industry-specific, this is where you fine-tune relevance.
Role authority boost
Decision-making power increases lead quality:
Founder → +20Executive → +20Manager → +10Head → +10The workflow detects these keywords inside the role field and applies the corresponding boost.
Intent boost (message length)
Longer intent messages imply higher purchase interest:
100 characters → +1550 characters → +8Hybrid scoring formula
Final Score = (AI Score × 0.5) + Deterministic Score
Tag thresholds:
80–100 → Hot50–79 → Warm0–49 → ColdCRM update
The workflow updates Airtable with:
scoreai_scoredeterministic_scoretagai_reasonscore_confidenceprocessed = trueSales alert logic
If:
→ Slack sends an immediate notification to the sales team.
You’ll need:
No API keys are hardcoded. All credentials use secure n8n credential storage.
Import the workflow.
Connect credentials:
Update:
Ensure your Airtable table includes:
Activate the workflow.
This template uses a hybrid scoring model, combining:
All deterministic scoring logic can be modified inside the Hybrid Lead Scoring Engine Code node.
That node contains the full business rule logic for:
Final score calculation formula
You can easily adjust:
You can also:
This is not just AI scoring — it’s a resilient, sales-ready qualification engine.