Integromat custom webhook queue keeps filling with the same salesforce data

1k Views Asked by At

I have an Integromat scenario setup that starts with a custom webhook. The data to the webhook comes from Salesforce. Everything is working fine except the webhook queue seems to keep running the same data every 2 hours. For example, I do the thing in Salesforce that triggers the outbound message to the webhook, Integromat scenario triggers and does what I want.....Then two hours later it does it again....then two more hours it does it again. As if the server buffer is not clearing (wild guess, and I don't think Integromat would even allow access to clear this).

I had a very similar flow on Zapier, triggered by the exact same Salesforce event so I don't think it's Salesforce sending the data on a loop. I am trying to migrate the workflow from Zapier to Integromat for cost reasons but obviously can't do it if this bug isn't fixed.

Any ideas would be greatly appreciated. Thanks.

1

There are 1 best solutions below

1
On BEST ANSWER

Thanks Diego and eyescream. I was able to see in Salesforce that the message was failing on the Salesforce side because an acknowledgment was not sent back. For anyone else who has this issue in Integromat, you need to add a second step Webhook Response and structure it like:

Status: 200

Body:

    <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>

Then it worked and SF got the acknowledgment and stoped trying to send the message. I didn't need to add any custom headers.