What is the Einstein Prediction Builder in 2024?

Artificial intelligence today simplifies decision-making by improving forecasts, automating tasks, saving time and money, and also making life easier. Using the capabilities of artificial intelligence will help make business more efficient and the efforts of employees more fruitful. 

For example, in e-commerce, artificial intelligence that drives predictions for product recommendations has the potential to increase customer engagement, boost sales, and improve the overall customer experience. 

When it comes to commercial relationships, there is the challenge of contacting customers who may forget to pay their bills on time. 

In the retail industry, a lack of quality forecasts of the popularity of certain products can lead to shortages or overstocking, which affects profits and customer service. 

In the hospitality industry, incorrect forecasts of hotel demand and bookings can lead to overcrowding or shortages, lack of demand for tours or other services, affecting customer satisfaction and booking profits. 

Application 

Einstein Prediction Builder (EPB) can be used to build predictions based on a large number of fields within one object, whether they are standard objects or custom objects. 

EPB can make predictions for these types of fields: 

  • Checkbox 
  • Specially-constructed formula fields 
  • Numeric 

There are two options for the predicted result: Yes/no or Numeric result. 

  • Yes/no prediction. 

Yes-or-no questions are some of the most common questions that AI can answer. The result of the prediction will not be a boolean value (yes /no), but a number in the range from 0 to 100. 

  • Numeric prediction. 

If we have a question in which the answer is a number (e.g. “How much revenue does this campaign bring?”) we should chose this type of prediction – it stores the result of analysis in numeric field in number format. 

We should have a set of records (at least 100) in which the value of the predicted field is known. Our model uses these known records, analyzes the relationships and influences between this field and other values in the records, and based on this predicts the likely result for the field for the remaining records. The model is dynamically trained and corrects its predictions by comparing them with real values. The prediction results are recorded in the corresponding new field created by EPB. 

dont miss out iconDon't forget to check out: Learn About Salesforce Einstein Prediction Builder 

Order of Settings 

In this article I’ll focus on the Einstein Prediction Builder (EPB) tool, and show the creation of a chain of automated actions based on the results of its work in the next part. 

Generally, the chain for setting up forecasts and automating actions looks like this. 

  • Setting up predictions in Prediction Builder 
  • Setting up Recommendations (standard object) 
  • Setting up Actions (based on Flows) 
  • Setting up strategies in Strategy Builder 
  • Adding Einstein Next Best Action to Lightning pages 

Model 

In the example below I'll set up predictions for an imaginary service of car sales and maintenance Car Care. Some contacts are members of the full service support provided by Car Care, some contacts have been invited to the demonstration in the past and have declined offers to join the full support. The company would like to reduce demonstration and negotiation costs and focus on customers who are more likely to join full support. The customization process to create such a prediction is described below. 

Setup of the Prediction Builder 

  • Setup > Einstein Prediction Builder > new Prediction 

As described above, we have two options to choose the type of prediction: yes/no type or numeric type. 

Predictions values are not stored in the same fields. To store predictions results a new number-format field will be created by Prediction Builder. 

  • When setting up, we select the object for which the predicted result is being built and specify the segment (filters for records) to which the predicted result will be applied. 

In the example we have a field on the Contact object called "Full Service Support Contributor", indicating whether a contact is joined to full service support. We want to create a predicted outcome for each contact who hasn't yet joined, estimating the likelihood of them purchasing such a service. 

  • We need to provide examples for 'Yes' and 'No' predictions. In the example, 'Yes' branch is based on the checkbox value 'Full Service Support Contributor’ = true, indicating a likelihood of subscribing to full service support. For the 'No' branch, it's based on 'Rejected Full Service Support’ = true, suggesting a lack of interest in the full service support at this time. 

Important: in this step we should double-check that there are no intersections in ‘Yes’ and ‘No’ example sets. 

  • In the next step is the option to choose which fields should be included in the analysis (by default, all fields of records), we can disable fields that are not relevant for prediction for more accurate results. Salesforce recommends including as many fields as possible but excluding fields that can introduce hindsight bias. Hindsight bias happens when a field is used as a predictor whose value can only be known after the predicted event occurs. 
  • On the Records to Predict page, select Predict on all records that aren’t example records. At the last step, on the Score Field page we have to create a field where the estimation of the predicted results will be saved. This field will become available for adding to the record page layouts. 
  • After settings review click Build button. It can take between 30 minutes to 24 hours to evaluate the prediction, or even a bit more depending on the size of the dataset. 

dont miss out iconCheck out another amazing blog here by Vimera: Marketing Cloud Overview in 2024 

Important: When building predictions the best approach is not to do manipulations with the object (e.g. add or delete fields, rename API field names, etc.) to not break the process of building. 

When prediction is built it should be enabled to add values to the score fields. 

To read about prediction metrics, visualization and limitations, please visit our website. 

This article is prepared by our Salesforce Administrator Dzmitry Pimenau. 

Responses

  1. Really insightful about the Einstein Prediction Builder. The information assisted me to gain good understanding of it!

Popular Salesforce Blogs