Create a Strategy by Using Einstein Predictions
Create a strategy based on predictions or rules. If you want predictions-based visit recommendations, then create predictions using the Einstein Prediction Builder. And map the prediction fields in the strategy.
Required Editions
| Available in: Professional, Enterprise, and Unlimited editions where Consumer Goods Cloud is enabled. |
| User Permissions Needed | |
|---|---|
| To create or manage action strategies: | Modify All Data OR Manage Next Best Action Strategies |
| To run an action strategy: | Run Flows OR Flow User field enabled on the user detail page |
- From Setup, in the Quick Find box, enter Next Best Action, and select Next Best Action.
- Click New Strategy.
- Enter the name and the API name for the strategy.
- Click Done.
-
Drag the Generate element onto the canvas.
We recommend that you use the Generate element to load the data. Using the Generate element helps overcome the per-transaction limits imposed by the Salesforce governor.
- Enter the name and the API name for the element.
-
If using the Load node, configure these parameters.
- Enter the name and the API name for the element.
- In the Object field, select either Retail Store or an object that has a foreign key relationship with the Retail Store ID field.
- Define the conditions that you want Einstein to consider to recommend visits.
- Click Done.
- Drag the Map element onto the canvas.
- Enter the name and the API name for the element.
-
Provide these details in the Map Values to Fields section.
Name Value Type ActionReference Enter the API name of the flow that runs this strategy inside double quotes. Text StoreID Enter an expression that identifies the relationship between the StoreID field and the object that you selected in the Load element. Text Description Enter a description. The description is a required field for the Recommendation object. Text Reasons Enter a value that must be populated in the Recommendation Reason field of the AI Visit Recommendation record. To specify multiple reasons, use ampersand (&) after each reason. Text PredictionApiNames To create a prediction-based strategy, define the prediction model created using the Einstein Prediction Builder.
Note To use multiple prediction models, use ampersand (&) between the prediction model names.Text TargetRecordID To create a prediction-based strategy, define the ID column name of the object used to create the prediction that the strategy gets mapped to. Text - Click Done.
- Drag the Map element after the Generate element.
-
Save your work.
Sales managers and field reps in your org can use this strategy to create visit recommendation requests.
If you want Einstein to provide visit recommendations for specific stores, use the Filter element.
Did this article solve your issue?
Let us know so we can improve!

