Prediction write back fields in Salesforce are custom fields that serve as containers for storing numerical predictions or scores generated by Einstein Discovery. They are exclusive to Einstein and can only be written to by the Einstein Discovery platform.
Prediction writeback fields are typically used for two types of predictive tasks:
- Regression: In regression tasks, these fields store continuous numerical predictions.
- Binary Classification: In binary classification tasks, the fields store scores representing the likelihood of a binary outcome Despite their specialized write access, prediction writeback fields function similarly to other custom number fields in Salesforce.
We can use them in reports, dashboards, and other Salesforce features just like any other custom field.
Features of prediction writeback fields
- Access Control: You can determine which profiles have read access to these fields.
- Page Layout Integration: You can include these fields in various page layouts.
- Versatility: These fields can be added to any list view and report, making it easier to use prediction data in various contexts.
To ensure proper usage, it is essential to configure row-level security for prediction fields. This configuration guarantees that only authorized users can view the prediction data, maintaining data security and integrity.
How to create a prediction writeback field
After deploying the model in Einstein discovery, enable the automated predicted writeback.

Select Create a prediction field and type in an appropriate label.

Choose whether to automatically refresh data.

Assign Field-Level Security to the Prediction Field
- To view this prediction field in Reports, List Views, or Page Layouts, you must first assign field-level security, just as you would for other custom fields.
- Navigate to Set up-Object Manager-Loan custom object-Select Predicted credit score (which is our prediction write back field here)-Click View Filed Accessibility

- Select the profile to which you want the field to be visible. Mark the field as visible. Prediction writeback fields are Read only fields.

- For the prediction field to appear in the record pages, we have to add it to the page layout of the Loan custom object.

- Edit any record page and drag the field to the fields section.
- For a single entity, there can be a maximum of three prediction write back fields. The predictions can be brought to the Einstein Predictions panel in the lightning app builder. The prediction shown in the Einstein Predictions panel on a Lightning record page or Experience Cloud sites page can differ from the prediction shown in the prediction field. The Einstein Predictions panel displays real-time predictions, while the prediction field is updated only if the record is updated or it’s written to by the Get Predictions With Bulk Scoring feature.

Assign Predictions to List Views and Custom Report Types
Once field-level security is set, you can add this field to existing custom report types and list views in the same way you do for other custom fields.

To learn more about prediction writeback fields in Salesforce, click Display Einstein Predictions Using Automated Prediction Writeback (salesforce.com)
Take Five Consulting is a technology company, based in Virginia U.S., that specializes in the Mortgage Banking vertical especially LOS implementation and application development. Take Five Consulting creates and implement mortgage technology and software specifically for Mortgage Industry.


