Loading
Data Consumption Framework
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
          Create a Process Type Integration

          Create a Process Type Integration

          A Process type integration runs a Salesforce Flow that’s initiated by an agent and can be completed while the agent performs other tasks.

          Required Editions

          Available in: Lightning Experience
          Note
          Note For a process type flow integration, the Data Consumption Framework uses platform events to address governor limits, providing scalability to handle large numbers of simultaneous users and calls.
          1. Set up the provider class and integration response.
            The provider class contains the business logic for processing the intake data gathered by the agent and for making the API callout to the external system. The provider class implements the ProcessIntegrationProvider interface and returns IntegrationCalloutResponse. To know more about the available methods, see Process Integration Provider Interface.
          2. Enable MuleSoft and create a named credential.
            The named credential configures the endpoint details in Salesforce. You can use your own middleware instead of MuleSoft.
          3. Create an integration definition.
            The integration definition maps the named credential to the provider class. The configuration is retrieved by the Data Consumption Framework and passed into the provider class.
          4. Create a Salesforce Flow.
            1. If your flow calls the API, use the Make Async Apex Call action to call the provider and listen for the AsyncRequestResponseEvent platform event.
              Flow Builder Data Consumption Framework
            2. If your flow calls the API, use the Make Async Apex Call action.
              Configure the flow action
            3. Listen for the AsyncRequestResponseEvent platform event.
              Configure the flow pause
           
          Loading
          Salesforce Help | Article