Salesforce Webhook Event
Salesforce allows you to create outbound messages, which send information to a third-party platform like Blink Ops. After you set up outbound messaging, when a triggering event occurs, a message is sent to the specified endpoint URL. The message contains the fields specified when you created the outbound message.
Set Salesforce Webhook
Configuring webhooks in Salesforce involves creating new Outbound Messages and setting up a Trigger Flow. For detailed information on outbound messages, refer to Salesforce Documentation.
Create Outbound Message
Log in to your Salesforce account, and go to Setup.
On the left hand search bar, search for Outbound Messages. Enter the link under Workflow and Approvals.
Click New Outbound Message.
Choose the object that includes the fields you want to retrieve when the webhook is triggered and click Next.
Provide the message details, including the name, endpoint URL, and the object fields you wish to retrieve.
infoA reminder: The Endpoint URL is taken from the Salesforce webhook setup in Blink. For further information on webhooks, please refer to Blink's Webhooks documentation.
- Once done, you will see the new created message on the messages list.
Create New Flow
Go back to the search bar on the left, and search for flows. Click on the link under Workflow and Approvals.
Click New Flow
On the flows platform, choose Start From Scratch and click Next.
Select Record Triggered Flow type and click Create.
Select the object you want to trigger the flow on and specify the trigger type. Under Optimize the Flow for, select Actions and Related Records. Once done, click Save.
In the Save Flow window that appears, enter a name for the flow and click Save.
In the flow diagram, click the + icon below the "Run Immediately" label. Then, choose Action.
In the Search Action Bar, search for Outbound Message.
Select your recently added message.
Choose a label for the action and click Save.
Activate your flow.