webhooks.xyz

Examples / CRM and marketing / Salesforce (Outbound Messages)

Salesforce (Outbound Messages) webhooks

Workflow and Flow outbound messages when a record meets a condition. Also Platform Events through Pub/Sub, which is pull, not push.

Events

  • Outbound Message: Opportunity Closed Won
  • Outbound Message: Lead Converted

Signature

No signature. Outbound messages are SOAP XML. Salesforce can send a session ID in the message, and you can allow Salesforce IP ranges.

Retries

Salesforce retries for 24 hours with increasing gaps, and keeps a queue of undelivered messages.

See a retry schedule in the calculator.

Sample request from Salesforce (Outbound Messages)illustrative, shortened
Content-Typetext/xml; charset=UTF-8SOAPAction""
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
  <soapenv:Body>
    <notifications xmlns="http://soap.sforce.com/2005/09/outbound">
      <OrganizationId>00D000000000001EAA</OrganizationId>
      <Notification>
        <Id>04l000000000001AAA</Id>
        <sObject xsi:type="sf:Opportunity" xmlns:sf="urn:sobject.enterprise.soap.sforce.com">
          <sf:Id>006000000000001AAA</sf:Id>
          <sf:Name>Acme renewal</sf:Name>
          <sf:StageName>Closed Won</sf:StageName>
          <sf:Amount>18000</sf:Amount>
        </sObject>
      </Notification>
    </notifications>
  </soapenv:Body>
</soapenv:Envelope>

Receive Salesforce (Outbound Messages) webhooks with webhooks.xyz

Create a bin. Paste its URL into Salesforce (Outbound Messages). Each request shows at once with its headers and body. Add your server as a destination, and deliveries retry when it is down. Request an invite.

More in crm and marketing: HubSpot, Mailchimp.