---
schema_version: "1"
id: cdf5840ddd3b004fb8f193529c765cf1ee9bd30e5e6822c7075c06a28c655128
title: Einstein Discovery Action
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/flow_ref_elements_actions_ed_predictions.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_actions_ed_predictions.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: dc7c766964f704feb62be46fd42b41a57ad1b3c3d3d114087397b1f7ffc508cf
description: Get predictive and prescriptive intelligence directly in your flows with Einstein Discovery-powered models. Select the row or fields to use for your predictions and let Einstein Discovery generate predictions, suggested ways to improve predicted outcomes, and other details.
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# Einstein Discovery Action

Get predictive and prescriptive intelligence directly in your flows with Einstein Discovery-powered models. Select the row or fields to use for your predictions and let Einstein Discovery generate predictions, suggested ways to improve predicted outcomes, and other details.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=platform.flow_ref_supported_editions.htm&amp;release=264.0.0&amp;type=5" title="Learn about the editions and user interfaces that support Flow Builder. Some Flow Builder features integrate with other Salesforce products that require additional licenses.">View supported editions.</a></td></tr></tbody></table>

## Set Input Values

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_note.png)

Note To view Einstein Discovery predictions, improvements, and other details, users need the **View Einstein Discovery Recommendations** system permission. 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&language=en_US) .

Use values from an Einstein Discovery model to set the inputs for the action.

 
| Field | Description |
| --- | --- |
| **Action** | Search for the deployed models to which you have access. |
| **Label** | Descriptive label for the action. |
| **API Name** | API name for the action. |
| **Description** | Description for the action. |
| What to Store |   |
| **Predictions** | Enable output from a predictive model to be stored in a flow resource. |
| **Top Predictors** | Enable top predictors to be stored in a flow resource. |
| **Top Improvements** | Enable suggested actions to be stored in a flow resource. Applies only to numeric and binary classification models. |
| **Select Object Record ID Field** | Generate predictions based on a Salesforce object record. |
| **Map Fields** | Generate predictions using flow resources. |
| **Record ID Field** | ID of the record to use for the prediction. |
| **Model Variable** | Map the prediction model variables to flow resources. |
| **Advanced** | Optionally, for predictions associated with multiclass classification models, expand Advanced, select **Manually assign variables**, and selectively store output values (class probabilities, the prediction, and top predictors). |

#### See Also

- [About Models](https://help.salesforce.com/s/articleView?id=analytics.bi_edd_model_about.htm&language=en_US)
- [Add and Edit Elements](https://help.salesforce.com/s/articleView?id=platform.flow_build_elements.htm&release=264.0.0&type=5 "Use elements to define actions that the flow can run. When they’re on the canvas, connect them to create the order in which they run.")