Building an AI-Powered Lead Qualification Bot Without Code

Building an AI-Powered Lead Qualification Bot Without Code
Most CRMs have a lead scoring feature. Most of them are useless.
They work on rules: if the lead is from a company with more than 100 employees, add 10 points. If the job title contains "Manager," add 5 points. If they visited the pricing page, add 15 points. The logic is deterministic, rigid, and built on assumptions that go stale the moment your ideal customer profile shifts.
The result is a lead score that tells your sales team almost nothing — a number generated by arithmetic, not judgment.
AI lead qualification works differently. Instead of point-based rules, it reads the incoming lead's full context — their message, job title, company, stated problem, website, and any other signals — and makes a nuanced assessment. The kind of assessment a senior sales rep would make in 30 seconds, applied to every single lead, instantly, at any hour.
This playbook shows you how to build it without writing code.
What AI Lead Qualification Actually Means
AI lead qualification is not a magic box that scores leads for you. It is a structured prompt sent to a language model (GPT-4 in this case) that includes the lead's data and a precise question: based on this information, is this lead a strong fit, a potential fit, or not a fit — and why?
The model reads the lead's context — exactly as a human would — and returns a structured response: a classification (Hot, Warm, Cold), a confidence score, a one-sentence rationale, and a recommended next action.
That response is then parsed and used to:
- Update a CRM field with the qualification tier
- Route the lead to the appropriate rep or queue
- Send an alert to Slack for hot leads
- Trigger the right email sequence for the tier
The whole process takes under 10 seconds from form submission to CRM update.
The value is not just speed. It is consistency. Human lead qualification varies by rep, by time of day, by how many other leads are in queue. The AI applies the same criteria every time, with the same attention.
The Architecture of the Bot
The system has three layers: data input, AI classification, and routing output.
Data Inputs
The richer the input, the better the classification. At minimum, you need:
- Form data: Full name, email, company name, job title, and a "What are you looking for?" or "Describe your challenge" open text field. This last field is the most valuable input — it is where leads reveal their actual need in their own words.
- Company size signals: If your form asks for company size or annual revenue, include it. If not, you can enrich post-submission using the company domain.
- Job title: The title alone carries significant signal. A "Head of Operations" and an "Intern" submitting the same form represent very different opportunities.
- Source: Where did the lead come from? Organic search, LinkedIn ad, referral? Source affects intent.
Optional but high-value enrichment (added automatically before the AI call):
- Company LinkedIn data via an enrichment API
- Company website meta description (a quick HTTP call to their URL)
- LinkedIn profile job history if email is tied to a LinkedIn account
The GPT-4 Classification Layer
The classification happens via a single API call to OpenAI. You send a structured prompt containing the lead's data and receive a structured JSON response.
The prompt engineering matters. A vague prompt produces vague outputs. The prompt template in the next section shows exactly how to structure it.
The model returns:
{
"tier": "Hot",
"confidence": 0.91,
"rationale": "Decision-maker at a company matching ICP. Described an active operational problem we directly solve. Requested a demo, not just information.",
"recommended_action": "Assign to senior rep. Call within 1 hour."
}
The Routing Layer
Once the classification response is parsed, the automation routes it:
- Hot lead: Update CRM contact with tier = Hot, assign to senior rep, post an immediate Slack alert with the lead summary and classification rationale, enroll in a high-touch email sequence.
- Warm lead: Update CRM with tier = Warm, assign to standard queue, enroll in a nurture sequence, create a follow-up task for day 2.
- Cold lead: Update CRM with tier = Cold, no immediate human action required, enroll in a low-frequency content sequence, review queue for manual assessment weekly.
Building It in Make — Step by Step
This entire system builds in Make with no code. Here is the exact module sequence:
Step 1: Webhook trigger. Create a Custom Webhook module in Make. This gives you a URL. Paste it into your form tool (Typeform, Tally, HubSpot Forms, or a custom form) as the webhook destination. Every form submission fires this webhook.
Step 2: Optional enrichment. Add an HTTP module that calls an enrichment API (Clearbit, Hunter, or Apollo) with the lead's email or company domain. Map the returned fields (company size, industry, LinkedIn URL) into variables for the next step.
Step 3: Build the AI prompt. Add a Text Aggregator or simply use a Set Variable module to construct your prompt string. Insert the lead's data dynamically using Make's variable mapping. (See the prompt template below.)
Step 4: Call OpenAI.
Add an HTTP module pointed at https://api.openai.com/v1/chat/completions. Set the method to POST, add your API key in the Authorization header, and pass the prompt in the request body. Set model to gpt-4o and response_format to json_object to ensure structured output.
Step 5: Parse the response.
Add a JSON Parse module to extract tier, confidence, rationale, and recommended_action from the API response.
Step 6: Update the CRM. Add a HubSpot or Pipedrive module. Use "Update Contact" or "Create Deal." Map the parsed tier to a custom CRM property. Map the rationale to a note field.
Step 7: Route and notify. Add a Router module with branches for Hot, Warm, and Cold. In the Hot branch: add a Slack module to post a message, add a CRM assignment step, and trigger an email sequence. In the Warm and Cold branches: set the appropriate tasks and sequences.
Total build time: 3–4 hours for a first implementation. Under 1 hour for someone familiar with Make.
The Prompt That Makes It Work
The quality of the AI classification lives or dies on the prompt. Here is a production-ready template you can use directly:
You are an expert sales qualification analyst. Evaluate the following inbound lead based on our Ideal Customer Profile (ICP) and classify them.
OUR ICP:
- Company size: 10–200 employees
- Decision-maker titles: Founder, CEO, COO, Head of Operations, VP Sales, Sales Director
- Active operational or sales problem (not just exploring)
- Budget signal: mentions team, project, or growth context
LEAD DATA:
Name: {{name}}
Email: {{email}}
Job Title: {{job_title}}
Company: {{company}}
Company Size: {{company_size}}
Message / Challenge: {{message}}
Source: {{source}}
Website: {{company_website_meta}}
CLASSIFICATION TASK:
Return a JSON object with these exact fields:
- "tier": one of "Hot", "Warm", or "Cold"
- "confidence": a decimal between 0.0 and 1.0
- "rationale": one sentence explaining the classification
- "recommended_action": one sentence recommending the next sales step
Return only valid JSON. No other text.
Adjust the ICP section to match your actual ideal customer. The more specific your ICP description, the more accurate the classification.
Results: What to Measure After Deployment
Deploy the bot and run it for 30 days before drawing conclusions. Track these metrics:
Classification accuracy rate. Have your top sales rep manually review 20 leads per week and compare their classification to the bot's. Target 80%+ agreement. If it's lower, refine the ICP section of the prompt.
Hot lead response time. This should drop from your current average to under 5 minutes, since hot leads trigger an immediate Slack alert. Measure the before/after.
Lead-to-meeting conversion by tier. After 90 days, compare conversion rates for Hot vs. Warm vs. Cold leads. If the bot is classifying accurately, Hot leads should convert at 3–5x the rate of Cold leads.
Time saved per week. Calculate the time your team previously spent triaging leads manually. This is typically 30–90 minutes per day for a team handling 30+ leads per week.
Revenue recovered. Measure whether previously-missed-fast-response leads are now being contacted within 5 minutes. Research shows this single change can improve conversion by 100–400%.
Ready to Get This Built for Your Team?
This system is not a one-size-fits-all template. The ICP definition, the enrichment stack, the CRM integration, and the routing logic all need to be calibrated to your specific business.
I build these systems for growth-focused teams — scoped, implemented, and tested — so you get a working qualification bot rather than a half-finished Make scenario.
Book a free call and I will tell you exactly how the bot would be configured for your pipeline and what results are realistic for your volume.
Written by Mehdi Yatrib — Indie Maker & Consultant based in Casablanca, Morocco.
Work with me on Automations