Invoke with Flow
Last updated
Last updated
Using flow you can invoke the Integration Channel to do the callouts to the external system. 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 1. 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 Once you select the flow create new action in the flow by clicking icon 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.
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. 2. Simulate the Integration Channel in Asynchronous mode It will execute the integration channel in asynchronous mode you can refer the below images 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.
*Note:- After simulating integration channel in asynchronous mode, you will not get the output because it is in asynchromous mode.