You are here:
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 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.
-
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.
-
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.
-
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.
-
Create a Salesforce Flow.
-
If your flow calls the API, use the Make Async Apex Call action to call the
provider and listen for the AsyncRequestResponseEvent platform event.

-
If your flow calls the API, use the Make Async Apex Call action.

-
Listen for the AsyncRequestResponseEvent platform event.

-
If your flow calls the API, use the Make Async Apex Call action to call the
provider and listen for the AsyncRequestResponseEvent platform event.
- Process Integration Provider Interface
TheProcessIntegrationProviderinterface specifies two methods that you must implement before you create an integration definition.
Did this article solve your issue?
Let us know so we can improve!

