A web form brings in forty leads on a Monday. Six are real buyers, ten are students and suppliers, three are typos and the rest sit somewhere in between. Lead scoring in Salesforce exists to sort that list before a person reads it, so the first call of the day goes to one of the six.

This guide shows how to set up lead scoring with AI in Salesforce using AI Engine: what the score is based on, how to write the rules, how to handle fake entries and what each score costs. To see the result first, score a sample lead in the interactive demo. It takes a few minutes and needs no sign-up.

What an AI lead score looks like

Each Lead gets three things, saved in fields on the record:

Field What it holds
AI Score A number from 0 to 100
AI Score Label Hot (70–100), Warm (40–69) or Cold (0–39), or your own labels
AI Score Reason A few sentences that say why the lead got this score

The reason is the part that makes the score usable. "82, Hot" tells a rep to call. "Operations director at a 400-person manufacturer, came from the pricing page, asked about a rollout in January; no phone number yet" tells the rep what to say. On the record page, the AI Score card also shows a recommendation for the next step.

Rule-based scoring and AI scoring

Classic lead scoring adds points: ten for a job title, five for an industry, minus twenty for a free-mail address. It works, but someone has to keep the point table up to date, and it cannot read a free-text field such as "What do you need?".

AI scoring reads the lead the way a person would. It takes the fields you selected, your written rules and examples of leads you won and lost, and weighs them together. You can still add fixed points where you want them. The two approaches are not exclusive: the AI score is saved in its own fields and does not change any other scoring you already use in Salesforce.

Step 1: Choose the Lead fields the AI reads

On the AI Scoring tab, select Lead and tick the fields in Scoring Context Fields. Five to ten fields are usually enough. A long list dilutes the signal.

Fields that usually carry a real signal on a Lead:

  • Title and Company
  • Lead Source
  • Industry and Number of Employees
  • Country
  • Website
  • a description or notes field, where the form's free-text answer lands
  • your own qualification fields, such as budget or timeline

Leave out administrative fields such as record type or system dates. AI Engine adds the lead's age, the days since the last activity and its recent tasks and events by itself.

Two details matter here. A field that is empty on a lead is not sent at all, so the AI treats it as unknown and not as a bad sign. And email and phone values are replaced with placeholders unless your admin switched Allow PII on, so personal data stays out of the request by default.

Step 2: Write the rules in plain language

In Scoring Instructions, describe a good lead the way you would explain it to a new SDR:

A good lead is a manufacturing or logistics company with more than 200 employees. The best contacts work in operations, purchasing or IT. A free-mail address with no company name is Junk, score 0 to 10. Students, job seekers and suppliers offering their services are Junk. Use the labels Hot, Warm, Cold and Junk.

If some signals deserve fixed points, add them under Field Weights: pick a field, enter the points and a condition, for example Lead Source equals Web, plus 20. The AI applies the weights on top of its own reading of the lead.

You can also choose the language of the written reason, which helps when the sales team does not work in English.

Step 3: Add your own history

Tell AI Engine where your outcomes are. For leads that is usually the Status field with a value for converted and a value for disqualified. For teams that judge lead quality by what happens later, the history can come from Opportunities instead, with Closed Won and Closed Lost.

Each scoring request then includes up to 15 recent won and 15 recent lost examples. The score reflects what closes in your company, not an average across other companies. If you have no history yet, the step is skipped and the score relies on your rules and the lead itself.

Step 4: Filter fake web-form leads

Inbound forms attract invented companies and mistyped domains. With Verify Company On The Web switched on, AI Engine runs one web search per lead before scoring. It checks that the company exists and that its domain and website are genuine, and adds the result to the scoring request.

This costs one extra AI request per lead, so it fits web-form leads best. For imported lists from a trusted source, leave it off.

Step 5: Decide when leads are scored

Option When to use it
Score New Records Automatically Inbound leads that need a score within moments of arriving
Auto-Refresh Re-score when Status, Rating, Lead Source or Industry changes
Score All Leads Now The first run: up to 200 leads per click
Scheduled batch Daily, weekly or monthly, for leads that have no score yet
Generate AI Score on the record A rep wants a fresh score after updating a lead

Start with the batch button. Score 200 leads, read twenty of the reasons and compare them with what your best rep would say. If the score disagrees with the rep, the fix is usually in the rules or in the list of fields. Turn on automatic scoring once the reasons read right.

Put the score to work

The score fields behave like any other field in Salesforce:

  • List view: new leads sorted by AI Score, so SDRs start from the top.
  • Flow: when a lead is scored Hot, create a task for the owner or send a notification.
  • Report: leads by label and source, to see which channels bring Hot leads and which bring Junk.
  • Assignment: route Hot leads to senior reps.

What it costs

AI Engine uses your own OpenAI, Claude or Azure OpenAI account, and each scored lead is one request. The web check adds one more. To keep the bill predictable:

  • use the filter to score only the leads that matter, for example by leaving out converted and disqualified leads
  • list specific fields for Auto-Refresh instead of re-scoring on every update
  • check the usage in the Activity Monitor after the first batch, before you switch on automatic scoring

More on this in what AI in Salesforce costs to run.

What AI lead scoring does not do

A score is a guide, not a verdict. The AI reads only what is on the record, so a lead with three filled fields gets a cautious score and a low confidence badge. It does not track website visits or email opens by itself: if you want those signals in the score, they have to be in Lead fields. And a score is as good as the rules behind it, which is why the first batch is for reading the reasons, not for acting on the numbers.

Summary

AI lead scoring in Salesforce works when three things are in place: a short list of fields that carry a signal, rules written the way your team talks about leads, and your own won and lost history. With those, every new lead arrives with a number, a label and a reason a rep can check in ten seconds.

The same setup works for deals. See how AI opportunity scoring works in Salesforce or the overview of Salesforce opportunity scoring and lead scoring with AI Engine.

Frequently Asked Questions

Does AI lead scoring work with custom Lead fields?

Yes. The admin ticks any standard or custom Lead field the AI should read, and can refer to those fields in the written rules and in field weights.

Can I use it together with the lead scoring I already have in Salesforce?

Yes. AI Engine saves its score, label and reason in its own fields and does not change any other score on the Lead. Both can sit side by side in a list view or report.

How many leads can be scored at once?

The Score All Leads Now button and each scheduled run score up to 200 leads. Click again, or let the schedule run, to work through a larger backlog of unscored leads.

Is personal data sent to the AI provider?

Only the fields the admin selected are sent. With Allow PII off, which is the default, email addresses, phone numbers and address fields are replaced with placeholders before the request leaves Salesforce.

See AI Engine on your own data

Native Salesforce package. Your own OpenAI, Claude or Azure key. 5-day free trial, no credit card.

Book a 30-min demo