---
schema_version: "1"
id: 60e2c0a58df3e67a787a1d44edb1320191d7c7e55b152e8bb48cfaba33a7afb1
title: Display Einstein Predictions Using Automated Prediction Writeback
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/analytics/264-0-0/bi_edd_prediction_automated.md
canonical_url: https://help.salesforce.com/s/articleView?id=analytics.bi_edd_prediction_automated.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 5c1157ceaa24e839ebd69f3ce18ed04bbc7a937ae2aa0ad2869cb70aa0a5b00c
description: When automated prediction writeback fields are configured for a prediction definition that outputs a numerical prediction (regression) or score (binary classification), Einstein Discovery can save predictions directly to Salesforce records for use in reports and list views. Configure automated prediction writeback in Model Manager. After deployment, Einstein scores newly created or updated records in the Salesforce object and writes the score to the prediction field. Only the prediction is written, not the reasons for the prediction or the suggested ways in which to improve the prediction.
products:
  - CRM Analytics
  - Cross Cloud
release: "264"
---
# Display Einstein Predictions Using Automated Prediction Writeback

When automated prediction writeback fields are configured for a prediction definition that outputs a numerical prediction (regression) or score (binary classification), Einstein Discovery can save predictions directly to Salesforce records for use in reports and list views. Configure automated prediction writeback in Model Manager. After deployment, Einstein scores newly created or updated records in the Salesforce object and writes the score to the prediction field. Only the prediction is written, not the reasons for the prediction or the suggested ways in which to improve the prediction.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/images/icon_note.png)

Note Automated prediction writeback doesn’t support multiclass classification models.

## About Automated Prediction Writeback Fields

Prediction writeback fields are a special type of custom field that only Einstein can write to. Otherwise, an automated prediction writeback field works just like other custom number fields: you can choose which profiles have read access and which page layouts to include the field. In addition, you can add this field to any list view and to any report. The only requirement is that you configure row-level security for prediction fields.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/images/icon_note.png)

Note To view predictions, improvements, and related details, users must have the View Einstein Discovery Recommendations permission assigned to their Salesforce account. To learn more, see [Assign Einstein Discovery Permission Sets to Users](https://help.salesforce.com/s/articleView?id=analytics.bi_edd_setup_assign_permsets.htm&release=264.0.0&type=5 "After you have defined permission sets for Einstein Discovery users, you can assign the appropriate permission sets to individual users or groups of users. You can assign multiple permission sets to an individual user account.").

## Salesforce Objects and Mapping

To use Automated Prediction Writeback fields:

- Select a Salesforce object, and
- Map all variables in the model to corresponding fields in the Salesforce object or a supplemental dataset.
    - Salesforce Object Use the Object Field column, which supports any field on that object for which the prediction definition was deployed, or for any parent object.
    - Supplemental Dataset Use the Supplemental Dataset Column to select a column from another dataset or live data connection.
        
        ![Map Model Variables page, showing Snowflake dataset selected as supplemental dataset](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/bi/images/bi/bi_edd_prediction_snowflake.png)
        
        ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/images/icon_note.png)
        
        Note
        
        - To map predictions to live Google BigQuery data, create a live connection to Google BigQuery. For more information and instructions, see [Gain Insights on Data Directly in Google BigQuery](https://help.salesforce.com/s/articleView?id=analytics.bi_direct_data_for_googlebigquery.htm&release=264.0.0&type=5 "You can explore your data in a Google BigQuery data warehouse without loading data into CRM Analytics or preparing it in datasets. CRM Analytics Direct Data for Google BigQuery lets you set up a live connection to the BigQuery schema you want to explore. You can run queries on the schema associated with the connection in real time. You can also build dashboard charts and tables based on the queries you run on BigQuery data.").
        - To map predictions to live Snowflake data, create a live connection to Snowflake. For more information and instructions, see [Gain Insights on Data Directly in Snowflake](https://help.salesforce.com/s/articleView?id=analytics.bi_direct_data_for_snowflake.htm&release=264.0.0&type=5 "You can explore your data in a Snowflake warehouse without loading data into CRM Analytics or preparing it in datasets. CRM Analytics Direct Data for Snowflake lets you set up a live connection to the Snowflake schema you want to explore. You can run queries on the Snowflake schema associated with the connection in real time. You can also build dashboard charts and tables based on the queries you run on Snowflake data.").

## Assign Field-Level Security to the Prediction Field (Required)

Before you can see this prediction field in Reports, List Views, or Page Layouts, you must assign field-level security just like you do for other custom fields. For instructions, see [Manage Fields for a Specific Object](https://help.salesforce.com/articleView?id=viewing_fields.htm&language=en_US)

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/images/icon_note.png)

Note Prediction fields are _always_ read only.

## Assign Predictions to List Views and Custom Report Types

After you have set field-level security, you can add this field to existing custom report types and list views just like you do for other custom fields.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/images/icon_note.png)

Note If you plan to add this field to a page layout, updating this field is an asynchronous process. You can’t see immediate results after editing a record.

## Prediction Values in the Einstein Predictions Panel

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](https://help.salesforce.com/s/articleView?id=analytics.bi_edd_model_manager_score.htm&release=264.0.0&type=5 "You can score predictions on multiple records at a time. For example, use bulk scoring to refresh all prediction scores after you deploy an updated model. You can also run bulk scoring on historical data to see how well your model performs. With bulk scoring, you can score all records, a segment of the records, or records that have not reached the completed state.") feature.

## View Reasons and Improvements Associated with Predictions

Only the prediction value (or score) is written to the prediction field. If you also want to display the prediction reason and suggested improvements to the predicted outcome, add the Einstein Prediction Lightning component on a Lightning record page. For instructions, see [Get Predictions on Lightning Pages](https://help.salesforce.com/s/articleView?id=analytics.bi_edd_einstein_predictions_lightning.htm&release=264.0.0&type=5 "After a model is deployed, you can use it to display predictions and improvements for a standard or custom object on a Lightning Experience record page.").

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/images/icon_note.png)

Note When opening a record, predictions are real-time queries. However, the results aren’t written anywhere.