Lead Qualification Automation
Turn inbound leads into qualified opportunities automatically. In this guide, you’ll build a conversational AI that engages new leads, asks qualifying questions, scores them, and creates records in your CRM — all without human intervention. What you’ll build: A complete lead qualification system that:- Engages leads via web chat, email, or SMS
- Collects company size, budget, timeline, and use case
- Scores leads based on your criteria
- Creates contacts in HubSpot (or your CRM)
- Routes hot leads to sales immediately
Prerequisites
- Completed the First Conversational Agent guide
- HubSpot account connected (or another CRM)
- Understanding of integrations
The Business Problem
Your website generates leads, but your sales team wastes time on unqualified prospects. You need:- Immediate engagement — Respond to leads instantly, 24/7
- Consistent qualification — Ask the same questions every time
- Automatic scoring — Prioritize based on fit, not gut feeling
- CRM sync — No manual data entry
Architecture Overview
Step 1: Create the Application
Step 2: Set Up the Trigger
We’ll use a webhook to receive leads from your website form.Copy the webhook URL
The node will show a unique URL. You’ll configure your website form to POST to this URL.
Step 3: Build the Qualification Skillset
This is the core of your lead qualification. The skillset defines what questions to ask and how to ask them.Add Ask a Person node
Drag an Ask a Person node and connect it to the webhook.
- Name: “Lead Qualification”
- Key:
lead_qual
Why These Fields?
| Field | Qualification Signal |
|---|---|
| Company Size | Larger companies = bigger deals |
| Budget | Direct indicator of purchasing power |
| Timeline | ”Immediately” = hot lead |
| Use Case | Validates product fit |
| Current Solution | Shows pain level and switching potential |
| Decision Maker | Determines if you’re talking to the right person |
Step 4: Score the Lead
After the conversation, use AI to calculate a lead score.Add Ask AI node
Connect an Ask AI node to the event handle of Ask a Person.
- Name: “Score Lead”
- Key:
lead_score
Step 5: Route by Score
Different scores get different treatment.Step 6: Set Up CRM Integration
All leads go to your CRM. We’ll use HubSpot, but the pattern works for any CRM.Add App Action for each branch
Add an App Action node to each branch:
- App: HubSpot
- Action: Create Contact
Step 7: Alert Sales for Hot Leads
Hot leads need immediate attention.Add Slack notification
On the HOT branch, after creating the HubSpot contact, add an App Action:
- App: Slack
- Action: Send Message
- Channel: #sales-alerts
Step 8: Add to Nurture for Warm Leads
Warm leads get added to an email nurture sequence.Add nurture enrollment
On the WARM branch, after CRM creation, add another App Action:
- App: HubSpot
- Action: Add to List (or Enroll in Sequence)
Complete Workflow
Your final workflow should look like:Testing Your Workflow
Complete the qualification
Open the chat/email and answer the qualification questions as a hot lead:
- Company size: 201-1000
- Budget: 500k
- Timeline: Immediately
- Use case: “Automate customer support”
- Decision maker: “I make the decision”
Customization Ideas
Add Calendar Booking for Hot Leads
After Slack notification, add a booking link:Multi-Channel Support
Let leads qualify through their preferred channel:Add Knowledge Base
Let the AI answer product questions during qualification:Custom Scoring Rules
Adjust scoring based on your ideal customer profile. If you sell to enterprise:Metrics to Track
Once deployed, monitor:| Metric | What It Tells You |
|---|---|
| Qualification completion rate | Are leads finishing the conversation? |
| Average conversation length | Is the AI being efficient? |
| Score distribution | Are you getting quality leads? |
| Sales conversion by score | Is your scoring accurate? |
| Time to first response | How fast are you engaging leads? |
Troubleshooting
Leads aren't completing qualification
Leads aren't completing qualification
Check if there are too many required fields. Consider making some optional. Also review conversation logs — are users getting confused or frustrated?
Scores don't match expectations
Scores don't match expectations
Review your scoring criteria. The AI follows your rules exactly. If results seem off, adjust the point values or add new criteria.
CRM fields aren't populating
CRM fields aren't populating
Verify the HubSpot property names match exactly. Custom properties need to be created in HubSpot first.
Slack alerts aren't sending
Slack alerts aren't sending
Check that the Slack integration has permission to post to the channel. Also verify the channel name is correct (with #).
