Avoid a endless loop when using webhooks that trigger update

Hi

I’ve got a table that triggers a webhook on update. The code (that the webhook activates) eventually writes a status back to the table (Succesfull update). But this in turn triggers a new update and so on spinning the system in to an endless loop.

I could probably work with some filters to avoid this but I don’t think it would be safe enough (just one error and the endless loop would re-appear). It would be nice if you could somehow disable webhooks when calling the update method from the API perhaps?