Flow into Action: Invoking Your Integration Channel!
Last updated
Last updated
With Flow, you can effortlessly trigger callouts to external systems through the Integration Channel, enabling smooth and real-time data exchanges right from within Salesforce!
Here you have two ways to invoke integration channel in flow as follows.
1. Simulate the Integration Channel in synchronous mode 2. Simulate the Integration Channel in Asynchronous mode a. Simulate the Integration Channel in synchronous mode It will execute the integration channel in synchronous mode you can refer the below images How to use integration channel in flows 1. Once you select the flow create new action in the flow by clicking icon 2. Select the action as shown in the below image
Once you select the action, in the left side find for 200OK and click on it as shown in the below image.
Once you select the 200OK, in the middle under action you will find search section there you search for integration channel as shown in the below image.
Once you select the execute integration channel(Flow), provide the information as below Integration Channel Name(Required) - provide the channel name from the integration channel record as shown in the below images
Request Payload - You can provide the request payload to send this data to the request body. If you provided any index values in the Request Payload fields of Integration Channel record, you need to provide the values by the Request Data Separator as shown in the below images.
Query Params - If you provided any index values in the Query Params fields of Integration Channel record, you need to provide the param values by the Request Data Separator. Similar to request payload's images.
8. Record Id - If you provide any mergeFields in the Query Params / Request Payload / Response Mapping fields of Integration Channel record, you need to provide the Record Id to get the field values from the record. Similar to request payload's images. *Note :- After simulating integration channel in synchronous mode, you can extract the json from the response of the integration channel to use that in the next integration channel. b. Simulate the Integration Channel in Asynchronous mode It will execute the integration channel in asynchronous mode you can refer the below images 1. Similar to synchronous mode, only change is while selecting action in the flow you need to select the Execute Integration Channel(PB & Flow) as shown in the below image.
Follow the steps from (5 -8) from the above synchronous mode.
*Note:- After simulating integration channel in asynchronous mode, you will not get the output because it is in asynchromous mode.