Einstein AI

Salesforce Einstein Prediction Builder: What It Needs and When to Use It

Prediction Builder lets an administrator build a predictive model without code, which makes the data requirements — not the modelling — the thing that decides whether it works.

RASPSYS Admin10 min read

Short answer

Prediction Builder lets an administrator build a predictive model without code, which makes the data requirements — not the modelling — the thing that decides whether it works. This guide explains what it can and cannot predict, the data volume and history it genuinely needs, how to read the model scorecard, and where a formula or a flow would serve you better.

What Prediction Builder Actually Does

Einstein Prediction Builder is a declarative tool that produces a predictive score on a Salesforce record. An administrator defines what to predict, which records to learn from, and which fields may be used as inputs; the platform trains a model and writes a score to a field on each record.

It handles two kinds of prediction. Binary questions — will this case be escalated, will this customer churn, will this application be approved — produce a likelihood score from 0 to 100. Numeric questions — how much will this account spend, how many days will this case take — produce an estimated value.

What it is not is a general machine learning platform. You cannot bring arbitrary external data, engineer features freely, choose an algorithm, or tune hyperparameters. That is the trade: you give up control and get a model an administrator can build and maintain without a data science team.

Question type Example Suitable for Prediction Builder?
Binary outcome on a record Will this opportunity close won? Yes — the core use case
Numeric estimate on a record What will this account spend next year? Yes, with enough history
Likelihood of an event already recorded Did this case breach SLA? No — that is a report, not a prediction
Something determined by a known rule Does this order qualify for free shipping? No — use a formula or flow
Prediction needing external data Will this customer default, using bureau data? Not directly; bring the data in first
Text or image interpretation What is this email about? No — different Einstein features cover this

See how RASPSYS delivers Einstein predictions →

The Data Requirement Is the Real Constraint

Prediction Builder needs history: records where the outcome is already known, enough of them, and with enough examples of both outcomes. Salesforce publishes minimum thresholds, but meeting the minimum and getting a useful model are different things.

The practical requirements are a reasonable volume of historical records — thousands rather than hundreds for most problems — a healthy proportion of both outcomes, fields that were populated consistently over the historical period, and an outcome field that was filled in reliably rather than when someone remembered.

The most common disqualifier

Class imbalance. If only two per cent of your cases were ever escalated, a model can achieve 98 per cent accuracy by predicting "no" every time. Check the balance of outcomes before you build anything, and if it is extreme, consider predicting a more common related outcome instead.

The second common disqualifier is a field that only gets populated after the outcome is known. If your "churn reason" field is filled in at the moment of churn, including it as an input produces a model with spectacular accuracy and zero predictive value, because it is reading the answer. Prediction Builder flags some of these, but not all — review the input field list yourself and ask of each one whether it was knowable before the outcome occurred.

  • Check field history, not just current state. A field populated diligently for the last six months and ignored before that gives the model inconsistent signal.
  • Watch for process changes. If your sales stages were redefined eighteen months ago, history from before that is a different process.
  • Exclude fields a user edits after the fact. Any field updated as part of closing the record is suspect.
  • Consider the record population. Training on all accounts and scoring only enterprise accounts produces a model tuned to the wrong distribution.

Reading the Model Scorecard Honestly

When Prediction Builder finishes training it produces a scorecard. Reading it properly is the difference between deploying something useful and deploying something that looks impressive and is not.

Scorecard element What it tells you What to watch for
Overall quality rating A broad judgement of model usefulness A good rating on imbalanced data can still mean a useless model
Top predictors Which fields drove the prediction most A field you did not expect at the top usually means leakage
Prediction distribution How scores are spread across records All records scoring in a narrow band means the model is not discriminating
Accuracy on held-out data Performance on records not used in training Compare it to simply guessing the majority class
Record count used How much history the model actually learned from Far lower than expected means filters excluded more than you thought
Field exclusions Fields the platform dropped automatically Review these; the reason is often informative about your data

The single most useful check is the top predictors list. If the strongest predictor of "will this opportunity close won" is a field your team only fills in on won opportunities, you have not built a prediction — you have built a lookup. Rebuild without it.

The second check is the baseline comparison. Always ask what accuracy you would achieve by predicting the most common outcome for every record. If the model beats that by a small margin, it may still be useful, but the business case has to acknowledge the margin rather than quoting raw accuracy.

Turning a Score Into Something Useful

A prediction that sits in a field changes nothing. The value comes entirely from the workflow built around it, and this is where most Prediction Builder deployments quietly fail — not because the model was poor, but because nobody decided what to do differently.

Design the action before you build the model. For each score band, name the action, the owner, and the expected effect. If no action differs between a score of 80 and a score of 20, the prediction is decoration.

01

Define the bands

Usually three: act now, monitor, ignore. More bands than that rarely change behaviour.

02

Name the action per band

A specific action with an owner, not "the team should pay attention to it".

03

Put it where the work happens

A score on a record detail page is seen; a score in a report is not. Surface it in the list view, queue, or flow the user already lives in.

04

Explain the score

Show the top factors alongside the number. Users reject scores they cannot interrogate, and rightly so.

05

Measure the action, not the score

Track whether the different treatment produced a different outcome. That is the only evidence that matters.

06

Schedule a retrain

Models drift as the business changes. Decide the review cadence at launch rather than discovering decay later.

Design a prediction workflow with RASPSYS →

When a Formula Would Serve You Better

A surprising share of requests for a predictive model are better served by something simpler, and a partner who never says so is not being helpful.

  • The rule is already known. If the business can articulate the criteria, encode them. A formula is explainable, instant, and free.
  • You want a ranking, not a probability. A weighted scoring formula built from agreed criteria is often more useful and far more trusted than a model.
  • The outcome is rare and the cost of a miss is high. Extreme class imbalance plus high stakes is the worst combination for an automated score.
  • Nobody can act on the result. Predicting churn in an organisation with no retention process just creates a sad dashboard.
  • The data is three months old. Fix the data collection first; a model built on it will encode the gaps.
  • The real question is "why". Prediction Builder tells you what is likely, not what is causing it. Causal questions need analysis, not scoring.

There is also a licensing dimension. Prediction Builder availability and limits depend on edition and add-on licensing, and the number of predictions you can run concurrently is bounded. Confirm what you are entitled to before designing a programme around a dozen models.

Where It Sits in the Wider Einstein Landscape

"Einstein" labels a wide range of Salesforce capability, and the names change often enough that confusion is understandable. It helps to separate them by what kind of problem they address.

Capability What it does When to reach for it
Prediction Builder Custom binary or numeric predictions on your objects You have history and want a score on a record
Opportunity and lead scoring Prebuilt models over standard sales objects Standard sales process; no configuration appetite
Next Best Action Recommendation engine combining rules and predictions You want to recommend an offer or action in context
Einstein Discovery Deeper analysis including why a factor matters and what to improve You need explanation and improvement levers, not just a score
Generative features and Agentforce Language generation, summarisation, conversational agents The task is reading or writing text, not scoring a record
Einstein Bots Scripted conversational automation Largely superseded by Agentforce for new builds

The common mistake is reaching for a predictive score when the business question is "why is this happening and what should we change", which is a Discovery or analysis question. Prediction tells you where to look; it does not tell you what to do.

A Sensible First Prediction

If you are starting out, pick a prediction where the history is clean, the outcome is reasonably balanced, and there is an obvious action attached. Resist the temptation to start with the highest-value question, because the highest-value questions usually have the messiest data.

01

Pick the question

One binary outcome, with a defined action that would change if the score were high.

02

Profile the history

Record count, outcome balance, field completeness over the training window. Decide go or no-go on this before building.

03

Build and read the scorecard

Check top predictors for leakage and compare accuracy to the majority-class baseline.

04

Pilot with one team

Surface the score to a single team with the action defined, and leave the rest of the business on the existing process.

05

Compare outcomes

After one full cycle, compare the pilot team's results to the control. This is the evidence that justifies expansion.

06

Retrain and expand

Refresh the model on newer data, then apply the pattern to a second question.

A first prediction delivered this way takes weeks rather than months and produces something you can defend. It also builds the internal habit of checking a model before trusting it, which matters a great deal more once the questions get bigger.

Start with a scoped Einstein pilot →

Frequently Asked Questions

What can Einstein Prediction Builder predict?

Two kinds of thing, both scored onto a Salesforce record. Binary outcomes — will this opportunity close, will this customer churn, will this case escalate — produce a likelihood from 0 to 100. Numeric outcomes — expected spend, expected days to resolution — produce an estimated value. It cannot interpret text or images, cannot use external data you have not loaded into Salesforce, and cannot answer causal questions about why something is happening. For anything determined by a rule your business can already articulate, a formula field is faster, free, and explainable.

How much data does Einstein Prediction Builder need?

Salesforce publishes minimum record thresholds, but meeting the minimum and getting a useful model are different. In practice you want thousands of historical records rather than hundreds, a reasonable balance between the two outcomes, fields that were populated consistently across the whole training period, and an outcome field that was filled in reliably rather than sporadically. Severe class imbalance is the most common disqualifier: if only two per cent of records have the outcome, high accuracy can be achieved by always predicting the majority, which tells you nothing.

How do I know whether the model is actually any good?

Read the scorecard critically rather than accepting the overall rating. Check the top predictors first — if the strongest one is a field your team only completes after the outcome is known, the model is reading the answer rather than predicting it, and you should rebuild without that field. Then compare the accuracy to what you would get by simply predicting the most common outcome for every record. A model that beats that baseline narrowly may still be useful, but the business case has to state the margin rather than quote raw accuracy.

Why do predictions get built and then ignored?

Almost always because no one decided what to do differently. A score written to a field changes nothing by itself. Before building the model, define the score bands, name a specific action and owner for each, and surface the score where the work actually happens — a list view, a queue, or a flow — rather than on a report nobody opens. Show the contributing factors alongside the number, because users reasonably reject scores they cannot interrogate. Then measure whether the different treatment changed the outcome.

What is the difference between Prediction Builder and Einstein Discovery?

Prediction Builder answers "what is likely to happen to this record" and writes a score. Einstein Discovery goes further: it analyses which factors are associated with an outcome, how much each contributes, and what improvement might follow from changing them. If your question is "which accounts should the team call first", a prediction is enough. If it is "why are we losing these deals and what should we change", that is a Discovery or analysis question, and a score alone will not answer it.

Want Predictions Your Team Will Actually Use?

RASPSYS can help you decide whether a prediction is the right answer at all, check that your history supports one before you build it, and design the workflow that turns a score into an action rather than another field nobody looks at.