LIVE · Thursday 3 December

AI Models for Lead Qualification: Use an LLM to Extract Signals and a CRM Score or Tree Model to Rank

Lead qualification is four jobs, not one. Rules, Einstein, HubSpot, tree models, prompted LLMs and decision models each fit a different job, and none is proven best until it is tested on your own leads.

By Surya14 min read

The best AI model for lead qualification is usually two models. A language model such as Gemini extracts budget, authority, need and timing from emails, and a tabular scorer ranks leads from CRM fields. The tabular scorer can be Salesforce Einstein Lead Scoring, HubSpot's AI fit and engagement scores, or your own logistic regression or XGBoost model. Research supports tree-based models for tabular data, but no published study shows that any one approach wins on lead conversion. A score of 85 from an LLM is not an 85 percent chance of conversion until it has been tested against outcomes.

Lead qualification is four separate jobs that need different kinds of models

Lead qualification covers four tasks, and each task has a different input and produces a different kind of output.

  1. Extracting buying signals turns an email, chat or call note into fields such as budget, authority, need and timing. This is a language task, and LLMs with structured output are built for it.
  2. Predicting conversion estimates how likely a lead is to reach a stated outcome, such as a sales-accepted opportunity. This needs historical outcomes and a model trained on them.
  3. Ranking leads orders the queue so that reps spend their limited hours on the leads that are most likely to pay off. A ranking can be useful even when its numbers are not true probabilities.
  4. Making a qualification decision picks one action, such as sending a lead to sales review, putting it in nurture or asking for more information. The decision is a choice among options, and the application still has to carry it out.

A model that is good at the first job can be poor at the second. An LLM can correctly extract authority from "I run operations and will bring our CFO in" and still have no basis for saying how often such leads convert in your business.

Explicit rules are a sensible start when you have little conversion history

Rules are points that you assign by hand: so many for a job title, so many for a pricing-page visit. They need no historical data, every score can be explained, and they run inside any CRM. Their weakness is that the weights come from opinion rather than outcomes.

Rules are the right starting point when a business has too few conversions to train anything. They also become the baseline that every other model has to beat. HubSpot's scoring tool shows how far rules can go. HubSpot lets teams cap total points, set High, Medium and Low thresholds, and decay engagement points after 1, 3, 6 or 12 months.

Einstein Lead Scoring produces scores from your own conversion history or from a global model

Salesforce describes Einstein Lead Scoring as a machine learning system that is trained on "your business' lead conversion history." According to Salesforce's help article, the model analyzes past converted leads, including custom fields and activity data, and finds current leads that most resemble them.

Einstein needs data before it can build a model on your org. Salesforce lists a minimum of 1,000 leads created in the last 200 days, with at least 120 of them converted to an account and contact. Those minimums apply to each segment, so splitting leads into segments raises the data that you need. When an org scores all leads together and falls short, Einstein uses a global model that is built from "anonymous data from many Salesforce customers." Einstein switches to an org-specific model once it has enough data and that model performs better.

Salesforce refreshes the models every 10 days and updates scores at least every six hours. Each lead shows its top positive and negative fields, which gives reps a reason for the score. Two details limit coverage. Einstein ignores encrypted lead fields, and a lead with no activity in the last 90 days may get no score at all.

Einstein is a sensible default for a Salesforce team that meets the data minimum. It requires Sales Cloud Einstein, which Salesforce includes in Performance and Unlimited Editions and sells at extra cost in Enterprise Edition. Salesforce's FAQ describes a dashboard that shows how well scores correlate with conversion rates. It does not describe the score as a probability.

Einstein is enough on its own when its top factors make sense to reps and most qualification signals already live in CRM fields. It is not enough when key signals sit in email or call text that never reaches a field.

HubSpot predictive lead scoring separates fit from engagement

HubSpot keeps two ideas apart that many scoring systems blur. Its fit score qualifies records "based on their demographic information through property values," such as company size or industry. Its engagement score qualifies records "based on their actions and interactions," such as visits and email clicks. A combined score uses both, and its thresholds run from A1 to C3, with the letter for fit and the number for engagement.

The split matters because a student who downloads every whitepaper can have high engagement and no fit. A buyer at a target account who visits once can have high fit and low engagement. Ranking on one blended number hides that difference from the rep.

HubSpot's AI scoring trains on your own contacts. HubSpot asks you to choose the lifecycle change that defines success, such as Subscriber to Sales Qualified Lead, and an evaluation window, such as 90 days. The AI then recommends criteria and points, and you review and edit them before the score goes live. Evaluation can take up to one hour. AI contact scores require Marketing Hub Enterprise. The rule-based scoring tool is available in Marketing Hub and Sales Hub Professional and Enterprise.

Tree-based models for tabular data remain a strong choice for ranking leads outside the CRM

A team with its own data scientists can train a model on exported CRM data. Logistic regression and gradient-boosted trees are the two baselines worth comparing first.

Gradient-boosted trees, such as XGBoost and CatBoost, are well matched to CRM tables full of categories, gaps and irrelevant columns. In a 2022 benchmark of 45 datasets, Léo Grinsztajn, Edouard Oyallon and Gaël Varoquaux found that "tree-based models remain state-of-the-art on medium-sized data," which they put at about 10,000 samples. One reason that they give is that neural networks struggle to stay robust to uninformative features. CRM exports usually contain many such features. XGBoost has handled categorical data directly since version 1.5. CatBoost advises users not to one-hot encode categories during preprocessing.

That benchmark did not include lead data, so it supports trees as a starting point, not as a proven winner for your pipeline.

Logistic regression is the simpler baseline, and it has one practical advantage. The scikit-learn documentation notes that logistic regression "is more likely to return well calibrated predictions by itself," while the other models it shows return biased probabilities. A calibrated model is one where, among leads given a score near 0.8, about 80 percent reach the outcome. If a rep is going to read a score as a chance of conversion, calibration is what makes that reading valid.

Gemini structured output classification turns emails into qualification fields

The text that matters most for qualification often sits outside CRM fields, in an inbound email or call notes. An LLM with structured output can turn that text into fields that the rest of the system can use.

Google's Firebase AI Logic documentation describes a response schema as "a blueprint for model responses." Developers set responseMimeType to application/json and pass a responseSchema that can include enum, nullable and required fields. For pure classification, the text/x.enum type limits the answer to one value from a fixed list.

Google's documentation is explicit about the limits of structured output. Its Gemini API documentation says that output is syntactically correct JSON, but it advises developers to "always validate values in your application." It also recommends error handling for "schema-compliant but semantically incorrect outputs." The schema controls the shape of the answer, not whether the values in it are true.

A worked lead shows where the model's job ends and application code takes over

The following lead is invented for illustration. The CRM holds these fields: a logistics company with 240 employees, a demo request as the lead source, and three visits to the pricing page in the past week. The prospect's email reads:

We're reviewing tools for our dispatch team before our current contract renews in March. I run operations and will bring our CFO in once we have a shortlist. Can you send pricing for about 40 seats?

An extraction step asks the LLM to fill a schema that records evidence for every value and allows null when the email gives no evidence. Its output might look like this:

{
  "budget": {"value": null, "evidence": "Asks for pricing for about 40 seats; no amount stated"},
  "authority": {"value": "evaluator", "evidence": "I run operations and will bring our CFO in"},
  "need": {"value": "dispatch tooling", "evidence": "reviewing tools for our dispatch team"},
  "timing": {"value": "before March renewal", "evidence": "before our current contract renews in March"}
}

Budget stays unknown because a seat count is not a budget. Forcing a value there would create a fact that the prospect never gave.

Fit and engagement are then judged separately. Fit comes from the CRM fields: company size and industry. Engagement comes from behaviour: the demo request and the pricing visits. This lead scores well on both, with one gap on budget and an economic buyer who has not yet been engaged.

A decision step then scores a short list of allowed choices, for example sales_review, nurture and request_more_info. That step can be the LLM with an enum schema, a rule, or a decision model. For this lead, sales_review is the likely pick, with a note to confirm budget on the first call.

The model's choice is not the action. Application code has to resolve the arguments, such as which rep owns the territory and which queue to use. It checks that the change is permitted, writes the CRM update through the CRM's own API and logs what happened. Keeping that layer separate means that a wrong or malformed model output cannot reassign a lead or change a record on its own.

TOD from Parsec scores supplied choices, but its confidence is not a conversion probability

Parsec, a small language model lab, publishes a decision model called TOD that is built for a decision step like this one. Parsec describes TOD as a "universal decision model" that takes text, images, policy and task state and ranks the next action from a list of allowed actions. It generates no free text and cannot invent an option that is not on the list.

The published release is a set of LoRA adapters on google/gemma-4-12B-it plus a ModernBERT-base retriever. Users must download the Gemma 4 base weights separately and accept the Gemma 4 licence, and the adapters themselves are listed as Apache-2.0. The interface is predict(state, options, question, images), which returns one probability per supplied option, with the probabilities summing to 1. Parsec's page dates its release evaluation as "TOD decision v1 release evaluation, 29 September 2026." The page lists a price of $0.30 per 1,000 decisions and up to 48,000 tokens of context per decision. A confidence gate lets TOD handle a decision when it is confident and otherwise passes the decision unchanged to the parent LLM that it sits in front of.

Three limits apply to lead qualification. Parsec has published no lead-qualification results, so this use is a proposed application that needs validation. Its own page reports that the release scored below its untrained base model on one public benchmark, and the repo says that TOD is not state of the art there. A TOD output of 0.7 on sales_review would mean confidence in that option among the options supplied. It would not mean a 70 percent chance that the lead converts, and only an evaluation against outcomes can link the two.

Seven approaches differ in input, output meaning, data needs and integration work

The first table covers approaches that score structured CRM data.

Approach Input What the output means History and integration
Explicit rules CRM fields and events Points you assigned by hand No history; built into most CRMs
Logistic regression Exported CRM fields A probability that is often well calibrated Needs labelled outcomes; your own service
XGBoost or CatBoost Exported CRM fields A ranking score, calibration not assured Needs labelled outcomes; your own service
Einstein Lead Scoring Salesforce lead fields and activity A score with top positive and negative factors 1,000 leads and 120 conversions in 200 days, or a global model; native
HubSpot AI scoring HubSpot contact properties and actions A fit or engagement score in a property Your own contacts; Marketing Hub Enterprise; native

The second table covers approaches that work on text and on choices.

Approach Input What the output means History and integration
Prompted LLM with a schema Emails, notes, CRM fields Extracted fields or an enum label No history to start; app must validate and act
TOD Text, images, state and a list of options A probability across the supplied options No history to start; app must validate and act

The decision by situation follows from those differences.

  • A team with little conversion history should start with explicit rules and an LLM that extracts evidence, allowing "unknown" for missing budget or authority.
  • A Salesforce team that meets Einstein's data minimum should turn Einstein on first and use it as the benchmark for anything custom.
  • A HubSpot team on Marketing Hub Enterprise should use separate fit and engagement scores before it builds a model of its own.
  • A team with reliable outcome history and a data scientist should compare logistic regression and gradient-boosted trees against the current score.
  • A team with heavy email, chat or call volume should use an LLM to fill qualification fields and feed those fields into rules or a tested scorer.
  • A team that wants a per-decision price for choosing among fixed actions can test a decision model such as TOD against an LLM with an enum schema on the same leads.

Customization earns a test only when the native score misses something that matters, such as a signal that sits in email text or an outcome that the CRM's model does not use.

Inference costs cents per lead while rep time costs dollars

The model bill is rarely the cost that decides this choice. Suppose that a team receives 5,000 inbound leads a month. Each extraction call sends 2,000 input tokens of CRM fields, email text and instructions, and returns 300 output tokens.

On Google's paid tier, gemini-3.8-flash costs $0.75 per million input tokens and $3.75 per million output tokens. That is $7.50 for 10 million input tokens and $5.63 for 1.5 million output tokens, or about $13 a month. Google lists a rise to $1.50 and $7.50 on January 1, 2027, which takes the same work to $26.25. On gemini-3.1-flash-lite, at $0.25 and $1.50, it is $4.75. Adding a TOD decision for each lead at Parsec's listed price adds $1.50, plus the parent LLM's cost for any decisions that it defers.

Rep time is a different order of magnitude. Suppose, as an assumption to replace with your own figures, that 1,000 leads go to sales review, that each takes 15 minutes and that rep time costs $60 an hour. That review costs $15,000 a month. If 100 of those leads become sales-accepted opportunities, which is again an assumption, the cost per qualified opportunity is about $150, and inference is well under 1 percent of it.

That is why cost per qualified opportunity has to be measured separately from inference cost. A model that costs ten times more to run but sends reps fewer dead leads can still be the cheaper system.

A 60-day evaluation on your own leads decides which approach wins

No published study compares rules, Einstein, HubSpot AI scoring, tree models, prompted LLMs and decision models on the same lead data, so the comparison has to be run on your own. A fair test has a fixed design.

  1. Define one target outcome, such as a lead that becomes a sales-accepted opportunity within 60 days of creation.
  2. Split leads by creation date, training on older leads and testing on newer ones. The scikit-learn documentation warns that random splits on time-ordered data lead to "training on future data and evaluating on past data."
  3. Let outcomes mature before scoring the test. On November 24, 2026, a 60-day target means that only leads created on or before September 25, 2026 have complete outcomes.
  4. Use only scoring-time features, meaning information that existed when the lead arrived. Fields that are filled in after a rep calls, such as meeting counts, reveal the outcome in advance.
  5. Score the same eligible leads with every approach: rules, the native CRM score, frozen models used as supplied and any tuned models. Do not assume that tuning helps until the tuned model beats the frozen one on this test.

Before anyone claims that one configuration beats another, the test should report the same set of measurements for each named configuration.

  • Report qualification accuracy against a sample of leads that reps have labelled by hand.
  • Count the opportunities among the top leads that reps can actually contact, using the team's real monthly capacity as the cutoff.
  • Count the missed opportunities, meaning leads that converted even though the model did not route them to sales.
  • Check calibration by comparing predicted rates with observed rates in each score band, because a lower Brier loss alone does not prove better calibration.
  • Record deferral coverage, meaning the share of leads that a confidence gate handed to another model or a person.
  • Measure latency and total operating cost, including licences, inference and rep time, and report cost per qualified opportunity apart from inference cost.

A retrospective test like this shows which model would have ranked past leads better. It does not show conversion lift. Lift needs a live comparison. A random share of new leads is routed by the old method and the rest by the new one, and the two groups' opportunity rates are compared after 60 days.

Sources

More in Models

All Models →