Loading
Salesforce now sends email only from verified domains. Read More
Automate Your Business Processes
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
          Debug a Template-Triggered Prompt Flow Example

          Debug a Template-Triggered Prompt Flow Example

          Debug a prompt flow that integrates with a prompt template that generates a list of events.

          Required Editions

          Available in: Lightning Experience
          View supported editions.
          This feature requires the Einstein for Sales, Einstein for Service, or Einstein Platform add-on. To purchase, contact your Salesforce account executive.
          User Permissions Needed
          To open, edit, create, activate or deactivate a flow using all flow types, elements, and features available in Flow Builder, including Einstein and Agentforce for Flow: Manage Flow
          To create and manage prompt templates in Prompt Builder: Prompt Template Manager permission set

          Template-triggered prompt flows aren’t compatible with prompt templates created in Winter ’24.

          Before creating your sales email prompt template, you debug the flow to troubleshoot any flow failure.

          1. Create or open the Get Marketing Events prompt flow in Flow Builder.
          2. Click Debug.
          3. Set the debug options and input variables.
            If you want to run the flow as another user, ensure that Let admins debug flows as other users is enabled in Process Automation Settings.
            Warning
            Warning If you debug a flow without choosing to run the flow in rollback mode, the flow performs its actions, including any DML operations and Apex code execution. Remember, closing or restarting a running flow doesn’t roll back its previously executed actions, callouts, and changes committed to the database.
          4. Enable Run flow in rollback mode under Debug Options.
            Debugging options and input variables
          5. Click Run.
            The debug details for the run appear in a panel on the right.
          6. Review the Debug Details to see the results.
            Debug Details panel showing example content such as record queries and their results and how the interview started.
          7. (Optional) To restart the flow by using the same or different values for the input variables, click Debug Again.
            You can’t convert the debug run to a test in the prompt flow.
           
          Loading
          Salesforce Help | Article