DEV Community

Michael O
Michael O

Posted on • Originally published at xeroaiagency.com

How to Build an AI Agent That Qualifies Leads Automatically

Most solo founders are not losing leads because their product is bad. They're losing them because they don't have time to respond fast enough, ask the right questions, or figure out who's worth a real conversation before the prospect moves on.

Manual qualification is a full-time job inside a full-time job. You get an inquiry, you try to schedule a call, the person goes cold before the call happens, and you never know if they were actually a fit.

An AI lead qualification agent changes the math. Not by replacing your judgment, but by doing the filtering before you ever have to show up.

This is how I built one for Xero AI, and what the architecture actually looks like.

What Does Lead Qualification Actually Mean for a Solo Founder?

Lead qualification is the process of determining whether an inbound prospect matches the criteria for your offer before you invest time in a conversation. For solo founders, it means filtering on three signals: do they have the problem, can they pay, and are they the right kind of buyer for how you work. Everything else is noise.

Before building anything, be precise about what you're actually trying to solve.

Qualification, in practical terms, means answering three questions about every inbound lead:

  1. Do they have the problem you solve?
  2. Can they afford what you charge?
  3. Are they the right kind of buyer for how you deliver?

A qualified lead is someone where the answer to all three is yes. An unqualified lead is someone where one or more is no. Most leads are unqualified, and that's fine. The goal is figuring out which is which without spending 30 minutes on every inquiry.

The AI agent's job is to gather that information, score it, and route it. Either it escalates to you, or it handles the next step automatically, or it closes the loop with a graceful no.

What Inputs Does an AI Qualification Agent Need to Work?

An AI qualification agent needs structured input about the lead: where they came from, what problem they described, any budget signals, and their decision authority. The more structured the intake, the more accurate the scoring. Sparse inputs like a one-line DM require the agent to ask follow-up questions before it can route the lead correctly.

A qualification agent is only as good as the data it can access. Before writing any logic, map out where leads come from and what information arrives with them.

For most solo founders, leads arrive through:

  • A contact form or intake form on your site
  • DMs on Twitter, LinkedIn, or Reddit
  • Replies to your newsletter
  • Referrals with context (or without context)
  • Cold email responses

Each of these has a different information density. A detailed intake form gives you 80% of what you need. A Twitter DM that says "hey, tell me more" gives you almost nothing.

Your agent needs to handle both. For information-rich leads, it evaluates immediately. For information-sparse leads, it asks clarifying questions before scoring.

How Does the Qualification Scoring Logic Work?

Qualification scoring works by checking each lead against a defined set of criteria: budget signal, problem fit, decision authority, and urgency. The agent assigns a strength rating to each signal, strong, weak, or absent, and combines them into a routing decision. High-scoring leads go to booking. Weak signals trigger a clarifying question. Poor fit gets a graceful redirect.

Once you have data, the agent needs to score it against your criteria. Here is the scoring framework I use:

Budget signal. Are there any explicit or implicit signals about what they can spend? For Xero, charging $2,500+ for Build Lab setups, I need to know they're a business owner with real revenue, not a student experimenting. If someone says "I'm a freelancer just starting out," that changes the routing.

Problem fit. Does what they describe match the problem the product actually solves? Generic "I want to use AI" is different from "I'm spending 4 hours a day on follow-up and I want that automated." The second one is a fit. The first one needs more qualification.

Decision authority. For B2B work, are they the person who can say yes? An employee asking on behalf of a company is different from the founder asking directly.

Urgency signal. Are they shopping, or are they ready to move? "Looking for options" is very different from "we need this running in two weeks."

The agent scores each signal as strong, weak, or absent. A lead with strong budget + strong problem fit + decision authority goes straight to a calendar invite. A lead with weak signals gets a follow-up question. A lead that clearly doesn't fit gets a polite redirect with a relevant resource.

What Does the Technical Setup Actually Look Like?

The minimum viable qualification agent runs on four components: an intake form with targeted questions, an AI scoring layer that reads responses, a routing mechanism that sends different responses based on score, and a log that records every lead and decision. No complex CRM required. The whole thing can be assembled in a few hours.

You don't need a CRM, a complex backend, or custom code to start. The minimal version runs on:

An intake form with the right questions baked in. Don't make it long. Four or five fields maximum: what's the problem, what have you tried, what's the timeline, how did you find us. These answers feed directly into scoring.

An AI agent with scoring logic. I run this through Evo, which reads the form response and applies the qualification criteria above. The output is a score and a routing decision: escalate, ask more, or redirect.

A routing mechanism. Depending on the score, the agent either sends a calendar invite link automatically, sends a follow-up question, or replies with a polished "here's what might actually help you" message that points to the right resource without burning the relationship.

A log. Every lead, every score, every routing decision goes into a simple Supabase table. This is how you improve the system over time. You look at the leads you closed, find the pattern, and tighten the scoring criteria.

The full pipeline takes about two hours to set up the first time. After that, it runs without you touching it.

How Should the AI Agent Handle Follow-Up After Qualification?

After a lead is qualified and routed, most won't convert immediately. The agent sends one well-timed follow-up if the lead doesn't respond to the initial routing. If they reply with a question, the agent answers it. If they aren't ready yet, the agent notes their timeline and schedules a check-in automatically.

Qualification is step one. Most leads don't buy immediately even when they're qualified.

The agent handles follow-up on a schedule. Someone fills out the form, scores as qualified, gets a calendar invite, but doesn't book. Three days later, the agent sends a short check-in: "Did you get a chance to look at that link? Happy to answer any questions first if that's easier."

This works because it's one message, sent at the right time, with the right tone. Not a drip sequence. Not five emails over two weeks. One message. If they respond, you take over. If they don't, the agent logs it and moves on.

The difference between this and a CRM sequence is that the agent can adapt. If the person replies with a question, the agent answers it. If they say they're not ready yet, the agent notes the timeline and schedules a follow-up for when they said they'd be ready.

That kind of contextual follow-up is what a VA would do, if you had one, and if they had perfect memory.

Where Should a Human Stay in the Loop With This System?

Two moments require human judgment: reviewing any lead that scores as a genuine fit before sending a calendar invite, and running the actual conversation. The agent handles intake, scoring, follow-up, and logging. The founder handles the call. Keeping humans in the loop at these two points prevents mistakes without creating bottlenecks.

This system is not fully autonomous. There are two places where I still make the call myself.

First: any lead that scores as a genuine fit gets a human review before I send a calendar invite. The agent proposes the action. I confirm. This takes ten seconds and ensures I never accidentally book someone who is clearly a bad fit based on something the form didn't capture.

Second: the first call itself. The agent sets it up, sends the briefing doc, loads the context. But the conversation is mine. The value I provide comes from that call, not from automation replacing it.

Everything else, the initial scoring, the follow-up messages, the no-fit redirects, the logging, runs automatically.

How Do You Improve the Qualification System Over Time?

The qualification system improves by analyzing the log of past leads. Reviewing closed deals reveals which intake signals to weight more heavily. Reviewing failures shows where scoring went wrong. Over weeks, criteria tighten, routing becomes more accurate, and fewer unqualified leads reach a real conversation. The log makes the system self-correcting.

After running this for a few months, the most valuable thing is the log.

I can look at the leads that converted and trace back what signals were present at intake. Then I update the scoring criteria to weight those signals more. I can look at the leads that didn't convert and find the pattern there too, usually a mismatch between what they described and what I deliver.

Over time, the qualification gets more accurate. The agent gets better at finding the right leads faster. And I spend less time in conversations that were never going to go anywhere.

This is the real value of an AI qualification system. Not just saving time on individual leads. Building a machine that gets smarter the more it runs.

Where Should You Start If You're Building This From Scratch?

Start by writing your qualification criteria on paper before touching any tooling. Define what a good lead looks like in three to five observable signals. Then build an intake form, connect a simple AI scoring layer, and handle routing manually while you validate the criteria. Add automation layer by layer once the logic proves out.

If you're starting from zero, don't overbuild. Here's the sequence:

First, write out your qualification criteria manually. What does a good lead look like? What are the signals? Three to five criteria, specific and observable.

Second, set up a simple intake form. Google Forms or Typeform works. Make sure it captures the signals you actually need.

Third, connect a simple AI agent to read form responses and score them. You can do this with a manual review step at first, where the agent sends you a summary and a suggested routing decision. You make the call. Later you automate the routing.

Fourth, add follow-up. Start with one message, timed right. Then add a second touch if needed.

That's the whole system. Simple, visible, and improvable.

If you want to see how this fits into a broader AI agent operating system for a solo business, that's covered in How to Build an AI Operating System for Your Solo Business. And if you want to understand what happens after qualification, the follow-up automation piece is in How to Automate Customer Follow-Up With an AI Agent.

For founders who want this built and running in a day rather than pieced together over weeks, that's exactly what the Xero AI Build Lab does. We scope the qualification criteria to your business, build the intake and scoring logic, and hand you a system that runs without you babysitting it.


For more on how AI agents handle structured decision-making, HubSpot's guide to lead scoring covers the traditional framework this architecture builds on. Zapier's automation blog has practical examples of routing logic you can adapt. Both are worth reading before wiring your first qualification pipeline.


Related:


Start Building Your Own AI System


Want to build your own AI co-founder?

I'm building Xero in public — an AI system that runs distribution, content, and ops while I work a full-time job.

Originally published at xeroaiagency.com

Top comments (0)