> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Salesforce WSDL Webhook Event

Salesforce allows you to configure WSDL outbound messages, which send information to a third-party platform like Blink Ops in XML format.
Once outbound messaging is set up, a message is sent to the specified endpoint URL whenever a triggering event occurs.
This message contains the specific fields you selected when creating the outbound message.

## Set Salesforce Webhook

Configuring webhooks in Salesforce involves creating new [Outbound Messages](#create-outbound-message) and setting up a [Trigger Flow](#create-new-flow). For detailed information on outbound messages, refer to [Salesforce Documentation](https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_om_outboundmessaging_understanding.htm).

### Create Outbound Message

1. Log in to your **Salesforce** account, and go to **Setup**.

   ![Salesforce\_setup](https://mintcdn.com/blinkops-2/yuv0j7RWJFirVOzo/img/Salesforce/setup.png?fit=max\&auto=format\&n=yuv0j7RWJFirVOzo\&q=85\&s=4a79e06234f6e08a05586f3b17b05ffc)

2. On the left hand search bar, search for **Outbound Messages**. Enter the link under **Workflow and Approvals**.

   ![Salesforce\_search](https://mintcdn.com/blinkops-2/yuv0j7RWJFirVOzo/img/Salesforce/outbound_search.png?fit=max\&auto=format\&n=yuv0j7RWJFirVOzo\&q=85\&s=a9fcc8a936b61056a93208e5bc68ba48)

3. Click **New Outbound Message**.

   ![Salesforce\_new\_message](https://mintcdn.com/blinkops-2/yuv0j7RWJFirVOzo/img/Salesforce/new_message.png?fit=max\&auto=format\&n=yuv0j7RWJFirVOzo\&q=85\&s=182e3beebe6ff18eaf5c15f2e1b868f0)

4. Choose the **object** that includes the fields you want to retrieve when the webhook is triggered and click **Next**.

   ![Salesforce\_message\_object](https://mintcdn.com/blinkops-2/yuv0j7RWJFirVOzo/img/Salesforce/message_object.png?fit=max\&auto=format\&n=yuv0j7RWJFirVOzo\&q=85\&s=f33f3a6a9be30c099844e8f16d34c0d2)

5. Provide the message details, including the **name**, **endpoint URL**, and the **object fields** you wish to retrieve.

   ![Salesforce\_message\_details](https://mintcdn.com/blinkops-2/yuv0j7RWJFirVOzo/img/Salesforce/message_details.png?fit=max\&auto=format\&n=yuv0j7RWJFirVOzo\&q=85\&s=2c9b48ae1da726e27d5389711b864fd5)

> [!NOTE]
>
> **A 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](https://docs.blinkops.com/docs/workflows/building-workflows/triggers/event-based-triggers/webhooks.md).
>
> ![Salesforce\_webhook\_url](https://mintcdn.com/blinkops-2/yuv0j7RWJFirVOzo/img/Salesforce/webhook_url.png?fit=max\&auto=format\&n=yuv0j7RWJFirVOzo\&q=85\&s=2dd9b8a521b98020900b2deb8744bb03)

6. Once done, you will see the new created message on the messages list.

   ![Salesforce\_message\_created](https://mintcdn.com/blinkops-2/yuv0j7RWJFirVOzo/img/Salesforce/message_created.png?fit=max\&auto=format\&n=yuv0j7RWJFirVOzo\&q=85\&s=7eb27faa7c6e5d05e5b01cfb28b2899f)

### Create New Flow

7. Go back to the search bar on the left, and search for **flows**. Click on the link under **Workflow and Approvals**.

   ![Salesforce\_flows\_search](https://mintcdn.com/blinkops-2/yuv0j7RWJFirVOzo/img/Salesforce/flows_search.png?fit=max\&auto=format\&n=yuv0j7RWJFirVOzo\&q=85\&s=c1fee32b218b027c522b12b35ed22a85)

8. Click **New Flow**

   ![Salesforce\_new\_flow](https://mintcdn.com/blinkops-2/yuv0j7RWJFirVOzo/img/Salesforce/newflow.png?fit=max\&auto=format\&n=yuv0j7RWJFirVOzo\&q=85\&s=832a223062b96ffa372aeab904aedd48)

9. On the flows platform, choose **Start From Scratch** and click **Next**.

   ![Salesforce\_scratch](https://mintcdn.com/blinkops-2/yuv0j7RWJFirVOzo/img/Salesforce/new_flow.png?fit=max\&auto=format\&n=yuv0j7RWJFirVOzo\&q=85\&s=2a71f0fdb4158a0bafef7263708a5d0f)

10. Select **Record Triggered Flow** type and click **Create**.

    ![Salesforce\_flow\_type](https://mintcdn.com/blinkops-2/yuv0j7RWJFirVOzo/img/Salesforce/flow_type.png?fit=max\&auto=format\&n=yuv0j7RWJFirVOzo\&q=85\&s=e9efb6aacf221dbb03db9f1027fcbb91)

11. 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**.

    ![Salesforce\_set\_flow](https://mintcdn.com/blinkops-2/yuv0j7RWJFirVOzo/img/Salesforce/set_flow.png?fit=max\&auto=format\&n=yuv0j7RWJFirVOzo\&q=85\&s=9fc165361b6a2c3fcab8141eeaec71dd)

12. In the **Save Flow** window that appears, enter a **name** for the flow and click **Save**.

    ![Salesforce\_save\_flow](https://mintcdn.com/blinkops-2/yuv0j7RWJFirVOzo/img/Salesforce/save_flow.png?fit=max\&auto=format\&n=yuv0j7RWJFirVOzo\&q=85\&s=c7554ba71a0f710bfdf243fb810b5fd7)

13. In the flow diagram, click the **+** icon below the "Run Immediately" label. Then, choose **Action**.

    ![Salesforce\_action](https://mintcdn.com/blinkops-2/yuv0j7RWJFirVOzo/img/Salesforce/action.png?fit=max\&auto=format\&n=yuv0j7RWJFirVOzo\&q=85\&s=02233782e2f8f0508b95ef1a62653c50)

14. In the **Search Action** Bar, search for **Outbound Message**.

    ![Salesforce\_outbound\_action](https://mintcdn.com/blinkops-2/yuv0j7RWJFirVOzo/img/Salesforce/outbound_action.png?fit=max\&auto=format\&n=yuv0j7RWJFirVOzo\&q=85\&s=6f1fa08ca309e803f972dd4702d5fc3b)

15. Select your recently added message.

    ![Salesforce\_user\_update](https://mintcdn.com/blinkops-2/yuv0j7RWJFirVOzo/img/Salesforce/user_update.png?fit=max\&auto=format\&n=yuv0j7RWJFirVOzo\&q=85\&s=478ef73118b504d483f65c31853c097b)

16. Choose a label for the action and click **Save**.

    ![Salesforce\_label\_action](https://mintcdn.com/blinkops-2/yuv0j7RWJFirVOzo/img/Salesforce/label_aciton.png?fit=max\&auto=format\&n=yuv0j7RWJFirVOzo\&q=85\&s=c16e04128c455976ee2af10cb666cee3)

17. **Activate** your flow.

    ![Salesforce\_activate](https://mintcdn.com/blinkops-2/yuv0j7RWJFirVOzo/img/Salesforce/activate.png?fit=max\&auto=format\&n=yuv0j7RWJFirVOzo\&q=85\&s=d4b45a0775496f374f3b32cf36be044f)
