How to Auto-Qualify & Route Leads with an AI Agent

A prompt that scores every inbound lead against the criteria your best customers actually share, says why it scored what it did, and routes the ones worth a rep's time — with the borderline cases left visible instead of quietly binned.

01The Problem

Why your reps waste their week on B leads

Not because they cannot tell good from bad, but because the sorting never happened before the calendar filled up.

Nobody defines what a good lead is

Every team has an opinion about it and no record of it, so qualification happens as a vibe during a call that a rep makes fifteen minutes after the form fill. Without written criteria, the same lead gets graded A by sales and C by marketing, and nobody can say which was wrong — because there is no standard to have been wrong against.

Rich fields arrive but nobody reads them

Company size, role, budget, industry, use case — all of it is usually captured at signup and then ignored, because reading thirty submissions carefully takes longer than it is worth when you expect a few to matter. The consequence is that the whole queue is treated as one undifferentiated mass and handled at the speed of the least interesting lead in it.

Speed decides more than quality does

The first responder wins a disproportionate share of inbound, and that is well established enough that everyone knows it. What it means in practice is that a lead who would have been a great customer often gets disqualified for being slow — not by the criteria, but by the queue they sat in behind leads that were never going to close.

02The How-To

The lead qualification AI agent prompt, step by step

Copy it once, paste it into Zaira, and it grades the whole inbound queue: pulls every new submission, scores it against your closed-won history rather than a generic rubric, writes the reasoning back to the contact, and hands the strong ones to a named owner.

Lead scoring and routing
Access to the @HubSpot MCP server. Act as my lead qualification agent. My goal is that every inbound lead is graded within minutes of arriving, on evidence, by criteria derived from customers who actually closed — so my reps only spend time on leads worth their time.

My context

- What I sell, to whom, and at what price: [e.g., B2B SaaS, $8-25k/year, mid-market ops teams] - The three disqualifiers that mean we will never close: [list] - What makes a lead worth a rep's time in the first hour: [list] - Who owns which kind of lead and how routing normally works: [e.g., enterprise to Dana, EU to Priya] - Response time we are promising: [e.g., under 15 minutes during business hours]

Step 0: Check tools

List the HubSpot tools you have and map them to the steps (search_crm_objects, get_crm_objects, search_properties, search_owners, manage_crm_objects). Only work from what the tools return — never invent a company, a figure, or a submission.

Step 1: Learn our own bar for good

Before scoring anyone, pull 25 closed-won deals from the last 12 months and 25 closed-lost deals, and read what they had in common. Report the 5-7 attributes that most reliably separate the two groups — company size, senior role, use case, industry, source, existing stack. Derive my scoring rubric from that, and show it to me. Do not use a generic BANT framework where our own history is available.

Step 2: Grade every unworked submission

Pull every submission and form fill that has no qualification activity yet, plus any contact created in the last 48 hours. Read each one's full record including company and any custom fields. Score each 0-100 against the rubric from Step 1, and write one sentence of reasoning per lead citing the specific fields that moved the score. Never score on name or email domain alone.

Step 3: Route and stop

Write the score and reasoning back to each contact. Leads above my threshold get a task assigned to the correct owner with a due date of now, so response time starts immediately. Leads below my disqualifiers get marked disqualified with the reason recorded — never deleted. Everything in between goes to a review queue with the score, so I can see the borderline band rather than have it disappear.

Step 4: Draft the first reply

For every lead routed, draft a first response in my voice that references what they actually wrote and asks the one question most likely to reveal whether this is a real opportunity. Under 100 words, and do not send it — I will review and send from my own inbox.

Step 5: Report

Give me: counts scored, how many routed, disqualified, and queued for review; the five highest-scoring leads with their reasoning; the distribution of scores, so I can see whether my threshold is actually splitting the queue sensibly; and any lead whose record was too thin to score honestly.
03Why People're Using

What this does once it's running

Three stages, one goal. Every lead is graded within minutes of arriving, so first response stops being a race against whoever checked their phone first.

Every lead is graded in minutes, not days

Because the scoring runs on arrival rather than on a rep finding a gap in the day, the response-time gap that decides who wins inbound largely stops existing. Nobody is disqualified for being third in the queue.

The rubric comes from your closed deals

Step 1 derives the scoring criteria from 25 won and 25 lost deals rather than a framework designed for a different business. The result is a rubric you can defend to sales because it is your own history, not a vendor's template.

Borderline leads stay visible

Anything scoring between the two thresholds goes to a review queue with its score and reasoning, instead of being quietly binned. That band is where most of the surprises are, and it is the one most systems delete before anyone ever looks.

04FAQ

Frequently asked questions

The practical questions people ask before scoring their leads by machine.

It will, and the design assumes that rather than denying it — that is why Step 1 derives the rubric from your own closed-won and closed-lost history instead of a generic framework, and why borderline leads go to a review queue rather than to the bin. Start by running Steps 1 and 2 only and reading a week of scores against what your reps would have said. You are looking for systematic disagreement, not perfection, and if the band is wrong the fix is your context section.

No — Step 4 drafts only, and it is worth keeping that way for a while. First contact is where a misjudged assumption is most expensive and most visible to a prospect you wanted. The scoring and routing are where the time pressure actually lives, and those are worth running unattended; sending a personalised first message is a decision, and it stays yours until the evidence says otherwise.

As many as arrive — the work per lead is a record read and a written score, so the volume that matters is how many arrive, not how long each takes. Zaira charges per plan rather than per task, so a spike in submissions is not a separate bill. Because the prompt is built to run repeatedly against new arrivals, put it on a schedule instead of triggering it by hand and the scoring keeps pace with the queue on its own.

It replaces the screening that was standing in for qualification, not the conversation. A score built from a form fill and a company record is a good filter and a poor substitute for listening — which is why the highest-value use is the first question in Step 4, aimed at whichever unknown would most change the score. Reps get fewer calls and better ones, because the screening call no longer has to do both jobs.

Then the honest answer is that qualification on arrival will be weak, and Step 5 will tell you so — leads with too thin a record to score honestly are reported as a group rather than given a confident wrong number. Two fixes worth doing first: ask for two more qualifying fields in the form, since data you never captured cannot be scored, and check whether the company record alone carries enough. Adding one good question to a form is usually worth more than any scoring sophistication.

Zaira works through HubSpot's own official MCP server — the permissioned connection offered to approved AI partners, not a scraper or a browser rig. There is no shadow portal; reads and writes happen inside the access you authorized, and you can revoke it from your HubSpot settings at any time. Disqualified leads are marked, never deleted, so the record of what was rejected and why survives for whenever you want to review the threshold.