You are here:
Data Consumption Framework
With Data Consumption Framework, your agents can access complete and current data from external systems without leaving Salesforce. The framework enhances the Continuations framework in FlexCards and OmniScripts by providing them with integration definition capabilities for better real-time performance. In addition, agents can use the framework to initiate asynchronous flows that call APIs at scale to support more simultaneous users.
The Data Consumption Framework supports these types of integrations:
- Service Integration: Data Consumption Framework uses the Continuation framework to
communicate with the external system in real time while the agent waits and then delivers
the response to Salesforce. Integration definitions are an additional layer of flexibility
on top of the Continuation framework. Managing your configuration is easier because the
configuration is built into the Data Consumption Framework, providing a standard,
best-practice pattern.
You can use the ServiceIntegrationProvider component provided for service flows or build your own.
- Process Integration: Data Consumption Framework supports flows to perform tasks outside of
Salesforce by a high volume of users. Data Consumption Framework makes an asynchronous
callout to the external service. The flow is paused while the call to the external service
is pending. After the response from the external service is received, a platform event is
raised to provide the paused flow with the response from the external service. The flow
resumes and processes the response from the external service.
You can use the ProcessIntegrationProvider component provided for process flows or build your own.
- Confirm Permissions and User Access for Data Consumption Framework
Confirm that the Data Consumption Framework permission is turned on and provide access to your users. - Set Up MuleSoft for Integration
To use MuleSoft as the middleware layer, turn on MuleSoft Integration and create named credentials. - Create a Service Type Integration
Service type integrations enable Salesforce to communicate with your external system while your agent waits. - 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. - Create an Integration Definition
To connect Salesforce with an external system, create integration definitions. APIs work with the integration definitions to perform operations in both Salesforce and the external system. You can create Apex, External Services, or Standard integration definitions.

