Start n8n workflow from Salesforce flow with HTTP Callout

Hi there,

If you want an n8n flow to run when you change thing in Salesforce or when you start an screenflow in Salesforce and pass the information to other applications the HTTP callout is the right way to do it.

I recently shared a tip connecting Salesforce and n8n with outbound message: Outbound message Salesforce and n8n - Tips & Tricks - n8n
Now I would like to share an improved connection between n8n and Salesforce with the new HTTP Callout in SF. This connection is more secure and modern way to connect n8n with SF.

It takes some time to set up correctly but i think the following steps will help you get there.

Read the steps in Salesforce to configure the HTTP Callout. Configuring an HTTP Callout Action ( to understand what it is and how it works.

Follow this youtube video to set it up with more direction, See the next link for authentication. Create HTTP Callout for Salesforce Flow (Spring '23 Beta Feature) - YouTube

To configure the right Authentication in Salesforce for n8n follow this instruction. and copy paste your self made webhook apikey into Salesforce. How to set up Header based API Key authentication in External Services? | forcePanda (

The JSON input for the flow is standard {“message”:“Workflow was started”} but it depends what you want send back to Salesforce. The value the n8n flow gives back to Salesforce you will have to define in the flow.

Tip: HTTP Callouts can only run as Asynchronously in Salesforce

This is a quick summary of what is possible. If you have any question please ask :slight_smile: