An AI agent is good at reading unstructured evidence and summarizing what it found. It is bad at being your qualification policy. So the build that works puts the agent in the middle of the pipeline, reading pages and extracting claims, while deterministic rules decide who actually enters a sequence. We call the boundary between those two jobs the judgment line, and getting it in the right place is most of the work.

You've probably seen the failure already. Someone wires an agent to score leads 1 to 100, it returns 74 for an account that is obviously wrong, and nobody can explain why. The next week it returns 74 for a great one. The score is unusable, not because the model is weak, but because nobody told it what 74 means.
A score with no rubric is a vibe with a number attached.
Draw the judgment line first
Qualification is three different kinds of work, and they need three different mechanisms. Sort every check into one of these before you build anything.
| Tier | What it does | Who should do it | Example |
|---|---|---|---|
| Lookup | Retrieves a fact that already exists in a field or a database | A data provider or an enrichment step | Employee count, country, industry code, funding date |
| Judgment | Reads unstructured evidence and extracts a claim about it | The AI agent | Does this company sell to enterprises, based on its site and job posts? |
| Decision | Applies your policy to the facts and claims | Deterministic rules | Enters the sequence only if fit is high, confidence is high, and the account isn't an open deal |
The mistake is collapsing tiers two and three. An agent asked to decide "should we contact this company" is making a business policy call on evidence it gathered itself, with no audit trail. An agent asked "does this company's careers page show hiring for RevOps roles, and quote the line that shows it" is doing something it's genuinely good at, and something you can check.
The second question also gets you a quote. That matters more than it sounds.
What belongs above the line
Keep the agent on evidence tasks. These are the four we hand it most often:
- Classification from the site. What they sell, who they sell to, whether they're services or software, whether they serve a segment you can help.
- Signal reading. Is a specific role being hired for, does the stack page name a tool you integrate with, has there been a public announcement that creates a reason to reach out now.
- Disqualifier spotting. Is this a competitor, a staffing marketplace, a franchise directory, a holding page. This one saves more money than any other.
- One line a human can use. The specific observation a rep would have found by spending four minutes on the site.
Three things stay below the line, always:
- Anything with a crisp numeric threshold. Employee count and revenue band are lookups, so don't spend a model call inferring what a field already holds.
- Anything about CRM state. Existing customer, open deal, recently contacted, unsubscribed. The CRM knows, and the agent shouldn't guess.
- The send decision itself.
Honestly, the disqualifier job alone usually pays for the build. Every sourced list carries rows a person would reject in five seconds, and left in place those rows go on to consume enrichment credits, sending capacity, and reply-handling attention all the way down the pipeline. Catching them at the top is the cheapest place to catch them.
Make the output a schema, not a paragraph
This is where most builds turn the corner. Ask for a fixed JSON shape, one field per question, every field typed, and a quote required for anything you'll act on.
{
"sells_to": "smb | mid_market | enterprise | consumer | unclear",
"offer_type": "services | software | marketplace | other",
"icp_fit": "strong | partial | weak",
"fit_reason": "one sentence, grounded in the evidence",
"evidence_quote": "verbatim text from the page",
"evidence_url": "the page the quote came from",
"disqualifier": "none | competitor | agency_reseller | holding_page | wrong_geo",
"confidence": "high | medium | low"
}
Four things make this schema work, and they're all deliberate.
Enumerated values, not free text. strong | partial | weak can be filtered in a table. "Looks like a reasonably good fit" cannot.
A quote plus the URL it came from. If the agent can't produce the quote, it hasn't found the evidence, and the claim should fail. This single requirement does more for accuracy than any prompt-tuning pass we've run.
Confidence as a band, not a number. Three bands get used consistently. A 1 to 100 score invites everyone to invent their own meaning for 68.
An explicit "unclear" option in every field. Without it, a model asked to pick from four categories will pick one. Give it the honest answer and it will often take it.
Clay's Claygent handles this class of work inside a table, doing company research, lead qualification, and signal detection as enrichment steps (Clay). If you're already running Clay, that's usually where this goes. If you need tighter control over the prompt, the retries, and the cost per row, calling a model directly from a workflow and writing the JSON back is the alternative. Either way, the schema is the contract, and Claude's developer documentation covers the tool use and structured output patterns that enforce it.
Write the prompt against a rubric you can show a rep
The prompt is not where you ask for intelligence. It's where you remove ambiguity.
Our working pattern, shortened:
You are classifying a B2B company from its own website. Use only the pages provided. For each field, return one of the listed values. If the pages don't support a confident answer, return "unclear" and set confidence to "low". Never infer from the company name alone. For
icp_fit, use this rubric: strong means they sell services or software to other businesses, show at least 20 employees, and name a buyer we sell to. partial means they sell to businesses but one of those three is missing. weak means anything else. Quote the sentence that justifiesicp_fitand give its URL.
Three features of that prompt matter more than its wording.
It names the evidence boundary ("only the pages provided"), so the model doesn't fill gaps from training data. It gives the rubric in the prompt rather than keeping it in someone's head, which means the definition of "strong" can be reviewed and changed by a human. And it closes the one loophole that produces the most confident nonsense: inferring a business model from a company name.
Then test it the only way that works. Take 50 rows your team already has an opinion about, run them, and compare. Where the agent and the human disagree, decide which one was right. Usually the rubric was ambiguous, not the model.
The decision rules sit below the line

Once the agent has returned its JSON, the send decision is ordinary logic, and it should be readable by someone who doesn't know what a prompt is.
| Rule | Condition | Action |
|---|---|---|
| 1 | disqualifier is anything other than none | Suppress, log the reason |
| 2 | CRM says existing customer, open deal, or contacted in the last 90 days | Suppress |
| 3 | icp_fit is strong and confidence is high | Enter the sequence |
| 4 | icp_fit is strong and confidence is medium or low | Human review queue |
| 5 | icp_fit is partial | Hold for a signal, don't contact on fit alone |
| 6 | evidence_quote is empty | Human review queue, regardless of the other fields |
| 7 | Anything else | Suppress |
Rule 6 is the one worth defending in a meeting. A high fit with no quote means the agent reached a conclusion it couldn't show its work for, and that's precisely the case where it's most likely wrong.
Rule 1 running before everything else is also deliberate. Disqualifying early is free. Discovering a competitor in your sequence after they reply is not.
Note what the rules do with partial. They don't contact. Fit without a reason to reach out now is how a good list produces a bad campaign, and the pairing of fit with a trigger is covered in our signal-based outbound trigger matrix.
Cost, and where to spend it
Agent calls are cheap individually and meaningful at list scale, so the order of operations is the cost control.
- Filter on lookups first. Cheap fields remove rows before any model call happens. Running an agent on 10,000 rows when 6,000 fail a country or headcount filter is paying for work you were going to throw away.
- Split cheap extraction from expensive judgment. A small, fast model is fine for pulling text off a page and spotting a holding page. Save the stronger model for the fit call that drives the send decision.
- Cache by domain. Company-level claims belong on the company, not on every contact at it. Five contacts at one account should trigger one research pass.
- Re-run on a trigger, not a schedule. Firmographics drift slowly. Re-researching a whole list monthly spends real money to confirm what you already knew.
That first point is the one teams get backwards most often, and it's usually a sequencing accident rather than a decision.
Where it breaks
Nobody samples the output. The build gets shipped, quality drifts as websites change, and nothing catches it. Read 20 rows a week. It takes ten minutes and it's the only real quality control.
The rubric lives in the prompt and nowhere else. When the ICP changes, the prompt gets edited by whoever is closest, with no record of what changed or why. Keep the rubric in a document that the prompt quotes.
Confidence gets treated as accuracy. A model's stated confidence is a useful sorting signal and not a probability. Check it against outcomes before you trust it to gate anything, then set the gate where the data puts it.
The agent is handed the send decision because the review queue got long. Which is understandable, and it's the point where an auditable system turns back into a black box. A long queue means the rubric is too vague, so fix the rubric.
The outbound and RevOps system behind GOSO's $85K in pipeline in three months runs on this split: machines gather evidence, rules decide. Results depend on the offer, the ICP, and list quality, so treat the architecture as the transferable part.
Key Takeaways
- Split lead qualification into three tiers: lookups retrieve existing facts, an AI agent extracts claims from unstructured evidence, and deterministic rules make the send decision.
- Never let the agent own the decision tier. An agent that both gathers evidence and decides who gets contacted leaves no audit trail and no way to debug a bad call.
- Require a fixed JSON output with enumerated values, a verbatim evidence quote, the source URL, and an explicit "unclear" option in every field.
- Treat a missing evidence quote as an automatic failure, because a confident conclusion without supporting text is the case most likely to be wrong.
- Filter on cheap lookup fields before any model call, and cache company-level research by domain so one account triggers one research pass rather than one per contact.
Frequently Asked Questions
Can AI fully automate lead qualification?
Not the decision part, and not because the models aren't capable enough. Qualification policy is a business judgment that needs to be auditable, changeable by a human, and consistent across a list. An agent is the right tool for reading evidence and extracting structured claims from it, which is the slow, manual part. The policy that acts on those claims should stay as explicit rules you can read.
What should an AI agent do in lead qualification?
Four jobs, all of them evidence work: classify what a company sells and who it sells to from its own site, read signals like job posts or stack pages, spot disqualifiers such as competitors and holding pages, and return one specific observation a rep can use in a first line. Each should come back as a typed field with a quote attached.
How do you stop an AI agent from hallucinating company details?
Bound the evidence and require proof. Tell the model to use only the pages supplied, give every field an explicit "unclear" option so guessing isn't the only path, require a verbatim quote and the URL it came from for any claim you'll act on, and fail the row when the quote is missing. Forbidding inference from the company name alone closes the most common remaining gap.
Is Claygent or a direct model call better for lead research?
It depends on which constraint you care about. Claygent runs inside a Clay table, which keeps research next to your enrichment and routing, and that's usually the fastest path if you're already in Clay. A direct model call from a workflow gives you tighter control over the prompt, retry behavior, and cost per row, which starts to matter at larger volumes or when the schema needs to be strict.
How many leads should go to human review?
Fewer than 20% is a reasonable aim, though the number matters less than the trend. A review queue that keeps growing is telling you the rubric is ambiguous, not that you need more reviewers. Look at the rows landing there, find the distinction the rubric is missing, and add it.
Want an agent build with an audit trail instead of a black box? Book your strategy call.