Jump to content

Webhooks sends multiple times


Recommended Posts

I'm using power automate with a webhook that then fires off the updated content off to one of our suppliers, luckily this isn't live yet but when testing it seems to fire twice even though there was one update. 

 

image.thumb.png.e5862647921387123bf8b20624559712.png

What am I doing wrong here? 

image.png.84a79f47008f688834d98921caceba81.png

Link to comment
Share on other sites

The weird thing is they are 2 completely different updates, it seems to send the last update and the current update, you can see by the times here they are completely different yet the webhook sent the 2 

image.png.7cd997cf9b35a4ef670103044e7a48f3.png image.png.e7a128cf82fa20910ec1fe91d05ae8e0.png

Link to comment
Share on other sites

I've noticed that a single update can cause multiple cascading updates under the hood.

The way I handle this is to uncheck the "Include all data in payload" which means that only the updated fields are included in the payload and this allows me to do conditional checking in my scripts (I use both Azure Logic Apps and Python-based Azure functions).

If I require more data than only the updated fields, I will query the Hornbill API in the script for additional data.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...