How to run salesforce "watch record field" module imediately?

There’s a (slightly) simpler way to create outbound webhooks from Salesforce that you can use with the Make Custom Webhook module to get the same behaviour as an Instant Trigger.

In Salesforce Flow, you can set up an Outbound Message and trigger that to be sent under your desired conditions.

This sends an XML packet via Webhook, and expects a special XML packet in response, so there are a couple of special things you need to do.

In Make, you’ll have a Custom Webhook - that needs to be followed immediately by a Webhook Response module to send the special XML acknowledgement. You then need to parse the XML from the Custom Webhook to turn it into fields that Make modules can use.

It will look something like this:

The Webhook Response module needs to return a status 200 and with a body of:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
  <soapenv:Body>
    <notificationsResponse xmlns="http://soap.sforce.com/2005/09/outbound">
      <Ack>true</Ack>
    </notificationsResponse>
  </soapenv:Body>
</soapenv:Envelope>

4 Likes