---
schema_version: "1"
id: c66618754de97e7967a6e0ba2f2ea4eb47b5049fde35643e10cae50e19c3b606
title: Run Einstein Discovery Predictions in Slack
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/slack/264-0-0/crm_analytics_slack_app_predictions.md
canonical_url: https://help.salesforce.com/s/articleView?id=slack.crm_analytics_slack_app_predictions.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: e0ae8108935a80c046fe8694ef361fe71158eef50a223fe0cf63a4ecbcbb4150
description: Get Einstein Discovery predictions on records in your Lightning Reports—directly in Slack. Use the CRM Analytics for Slack app to run an Einstein Discovery model on the records in the report. The app returns the average prediction score, top-influencing factors, recommended actions, and the most at-risk records in the report. Share the predictions with your Slack channels and colleagues.
products:
  - Slack
  - Cross Cloud
release: "264"
---
# Run Einstein Discovery Predictions in Slack

Get Einstein Discovery predictions on records in your Lightning Reports—directly in Slack. Use the CRM Analytics for Slack app to run an Einstein Discovery model on the records in the report. The app returns the average prediction score, top-influencing factors, recommended actions, and the most at-risk records in the report. Share the predictions with your Slack channels and colleagues.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d8934e27">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d8934e27 ">To use CRM Analytics for Slack:</td>
            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d8934e27 ">
              <p style="margin-bottom:0;">Connect Salesforce with Slack</p>
            </td>
          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d8934e27 ">To view Einstein Discovery predictions, improvements, and related details that
              are derived from the deployed model:</td>
            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d8934e27 ">View Einstein Discovery Recommendations</td>
          </tr>
        </tbody>
      </table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-slack-slack_apps-264-0-0-production-enus/68481d6c-8c01-419d-9d5c-ebe6efa3b5f3/images/icon_note.png)

Note Available on Lightning Reports based on a primary object with an Einstein Discovery binary classification or regression model deployed.

**Prerequisites**

A CRM Analytics Plus or Einstein Predictions license is required to access Einstein Discovery. See [License and Permission Requirements for Einstein Discovery](https://help.salesforce.com/s/articleView?id=bi_edd_about_license.htm&language=en_US).

In CRM Analytics, create an Einstein Discovery story and deploy the model to a Salesforce object with all the fields mapped. See [Deploy Models](https://help.salesforce.com/s/articleView?id=bi_edd_model_deploy.htm&type=5&language=en_US).

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-slack-slack_apps-264-0-0-production-enus/68481d6c-8c01-419d-9d5c-ebe6efa3b5f3/images/icon_note.png)

Note The CRM Analytics app uses the most recently deployed model on the object.

In Salesforce, create a report containing the records you want to analyze. The report must contain the record ID or name. Make sure the report’s primary object matches the object where the Einstein Discovery model is deployed. See [Build a Report](https://help.salesforce.com/articleView?id=rd_reports_build.htm&type=5&language=en_US).

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-slack-slack_apps-264-0-0-production-enus/68481d6c-8c01-419d-9d5c-ebe6efa3b5f3/images/icon_note.png)

Note The prediction results use the first 2000 rows of the report.

**Run Einstein Discovery Predictions in Slack**

To view and share predictions in Slack:

1. In the CRM Analytics app for Slack, find the report and select **Run Prediction** in the action menu.
2. View results in the Predictions window. See the [table](https://help.salesforce.com/s/articleView?id=slack.crm_analytics_slack_app_predictions.htm&release=264.0.0&type=5) for result descriptions.
3. Optionally, scroll down and click **Share** to collaborate directly in Slack.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:23.076923076923077%">
          <col style="width:76.92307692307693%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d8934e97">Result</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d8934e99">Description</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Result" class="slds-cell-wrap" style="vertical-align:top;" headers="d8934e97 ">Average Prediction Score</td>
            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d8934e99 ">
              <p style="margin-bottom:0;" dir="ltr">The overall predicted likelihood to reach the outcome defined in
                the model, across the first 2000 records in the report. </p>
              <p style="margin-bottom:0;">In Einstein
                Discovery, a prediction is a derived value, produced by a model, that represents a
                possible future outcome. You can think of a prediction as the output of a
                predictive model that is based on the inputs of predictor variables that the model
                accepts. </p>
            </td>
          </tr>
          <tr class="">
            <td data-label="Result" class="slds-cell-wrap" style="vertical-align:top;" headers="d8934e97 ">Top Predictors</td>
            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d8934e99 ">The conditions that most significantly drive the predicted outcome, in
              decreasing order of magnitude. A condition is a data value associated with a
              column. In Einstein Discovery, a predictor consists of one or two conditions.
            </td>
          </tr>
          <tr class="">
            <td data-label="Result" class="slds-cell-wrap" style="vertical-align:top;" headers="d8934e97 ">How to Improve this Outcome</td>
            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d8934e99 ">
              <p>Suggested action, based on prescriptive analytics, that a user can take to
                improve the likelihood of a desired outcome. Improvements are associated with
                actionable variables, which are explanatory variables that people can control.
                Taking a suggested action can improve the predicted outcome. An improvement is
                analogous to a prescription in prescriptive analytics.</p>
              <p style="margin-bottom:0;">Improvements are shown
                based on the model's actionable variables. Actionable variables are optional. If
                no actionable variables are configured, improvements aren’t shown in results.
              </p>
            </td>
          </tr>
          <tr class="">
            <td data-label="Result" class="slds-cell-wrap" style="vertical-align:top;" headers="d8934e97 ">Records Least Likely to Reach a Successful Outcome</td>
            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d8934e99 ">
              <p>The records in the report with the strongest predicted likelihood to be
                unsuccessful, among the first 2000 records in the report. Success is based on the
                goal defined in the model.</p>
              <p style="margin-bottom:0;">Requires binary classification model.</p>
            </td>
          </tr>
        </tbody>
      </table>

#### See Also

- [Deploy Models](https://help.salesforce.com/s/articleView?id=analytics.bi_edd_model_deploy.htm&type=5&language=en_US)