Loading
Feature Disruption - Service Cloud VoiceRead More
Feature degradation | Gmail Email delivery failureRead More
Set Up and Maintain Retail Execution
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Set Up Einstein Visit Recommendations Using Apex

          Set Up Einstein Visit Recommendations Using Apex

          You can use Apex to select a list of specific stores that Einstein must provide visit recommendations for. You can then create a flow and add the Apex Class as an Action element.

          Required Editions

          Available in Lightning Experience in Professional, Unlimited, and Enterprise Editions that have Consumer Goods Cloud enabled.
          User Permissions Needed
          To create flows: Manage Flows
          1. From Setup, create an Apex Class.
          2. From Setup, go to Flows and click New Flow.
          3. Select Autolaunched flow and click Create.
          4. Create StoreIDs as an input variable.
          5. Create output variables as RecommendationReasons and RecommendedStoreIDs.
          6. Drag the Action element and select your Apex class as Action.
          7. Enter a label and API name for the element, and map the input and output parameters of Apex class to the corresponding parameters of the flow.
          8. Connect the Start and Action element.
          9. Save your work.
          10. Enter the flow’s label and API name.
          11. Save your changes.
          12. Click Activate
          • Recommend Visits Using Apex
            Create an Apex class to list of specific stores that Einstein must provide visit recommendations for. You can then create a flow and add the Apex Class as an Action element.
           
          Loading
          Salesforce Help | Article