Supercharge Your Workflow: Invoke Integration Channel via API!

With 200 OK, the ability to invoke an Integration Channel is extended such that it can be done from anywhere outside Salesforce securely with appropriate authentication.

This functionality helps to execute Integration Channel securely from outside of the Salesforce org where it resides using valid credentials/authorization, similar to calling any REST API.

Below details are required to use this functionality.

In the target Salesforce org, Integration Channel has to be created and configured with required External service details and Integration Actions(if any).

Endpoint URL: https://<YOUR_DOMAIN_URL>/services/apexrest/lwapic/lws/channel/CHANNEL_NAME?recordId=RECORD_ID&executeResponseOnly=true&token=TOKEN

YOUR_DOMAIN_URL- Target Salesforce org domain URL

CHANNEL_NAME - Integration Channel unique name

RECORD_ID - Dynamic record ID(optional)

ExecuteResponseOnly - Pass true if only action needs to be executed, without making a callout, else by default this is set to FALSE

TOKEN - pass Webhook Token same as the token configured in Advance Setting of the Integration Channel

In case, any other dynamic values to be passed for the Integration Channel in Endpoint URL/Params/Header/Body, please pass the details in the request body with the appropriate request data separator in case of POST callout and in Parameters in case of GET callout.

Method:

GET/POST

Header:

Authorization for a valid Salesforce User(or Integration User)

Content-Type(if applicable, such as for POST method)

Other Header Information(as required)

Body:

Request Body(if applicable, such as for POST method)

This is how you can power up your Integration Channel by invoking it via API!

Last updated