We’re using Webhooks to send data to an external server. This usually works, but there is absolutely no error handling if the remote server doesn’t process the Webhook. For instance, if it is offline for whatever reason.
The Webhook Log shows me the responses from the remote server, so it should be possible for the code to match or not match a response.
It would be nice if it got added to a queue to be retried on a schedule. Furthermore, perhaps an email could be sent on error?
Gravity Flow’s Outgoing webhook step gives you the ability to define what should happen based on response types from the server (2XX success/4XX or 5XX errors). That would let you either trigger a notification step to staff for investigation, or attempt retry in defined scenarios. The gravityflow_next_step filter also lets you programmatically define where an entry should proceed in its’ workflow - to retry a set number of times, on a schedule, etc.