Webhooks Failure



Posted Mar 16, 2022

Hello,

 

Do you think it's possible to :

- Be alerted per mail (for Admin) when a Webhook fail?

- Have a button that permit to launch again Webhooks when issue is solved?

Thanks 


16

15

15 comments

We recently wrote a python script for this exact purpose, it runs daily, consuming the WebHook API: https://developer.zendesk.com/api-reference/webhooks/webhooks-api/webhooks/

The script works in the following way:

  1. Get all Webhooks: https://developer.zendesk.com/api-reference/webhooks/webhooks-api/webhooks/#list-webhooks
  2. Loop over all Webhooks and get the invocations (each time it ran): https://developer.zendesk.com/api-reference/webhooks/webhooks-api/webhooks/#list-webhook-invocations
    1. Use filter[status] to filter on only the error statuses
    2. Use filter[from_ts] and filter[to_ts] to capture only the errors in a specific time range (i.e. since the script last ran till now)
  3. Add each error as a message to then send in Slack in 1 go.

As the Invocation history last 7 days we run this on a daily basis and we can see the list of errors per WebHook
 

0


I also voted for this because even some Webhooks failed through updates from ZD directly and we don't see any issue without checking it manually.

0


Totally agree, this is absolutely needed for large scale webhook use. 

0


1264663898009  any admin should at least be able to subscribe to a notification about any specific webhook failure. I think this is a critical feature that there's no reasonable way around.

 

Subscription should be flexible too, via email, or slack or another external system through webhook

0


Upvoting this as well. It’s hard to know it failed unless you’re actually in the webhooks screen refreshing. It is not feasible to check this on any cadence when you have 60+ webhooks like we do. I am sure there are customers with more.

 

It has become all the more important with the URL to webhooks migration.

 

Please provide this business critical feature to ensure the continued reliability of the support we provide our customers. Thanks.

 

 

0


this is a must have to track the system automations uptime

0


We have several mission-critical integrations with Zendesk and this makes it hard to rely on when I get error notifications from every system except Zendesk. I'd like to be able to set up the notifications on a per-webhook basis. Some I don't need to be notified about, but others I need an email directly (or even better, the option to be notified via another method, like Slack). 

1


This would be incredibly helpful. We had a case recently where a webhook started to fail for several days as a result of a change on another system and we only became alerted to this when internal staff noticed a business critical function stopped working...

I see this functionality in Hubspot / Jira - Zendesk desperately need this.

1


Voting for this feature too. My team would love to have alert of webhook because we realized the webhook failure when we checked by ourselves or someone noticed the behavior changing.

1


Upvoting this. I'm currently trying to determine whether my organization can even use webhooks, given that there's no way to be alerted of endpoint failures except for someone to check the activity log of every webhook every day, which is not sustainable. It would be especially useful if webhook failures after the standard 3 retries could be used as a trigger condition, so we can decide how we want to handle the failure...notify someone, log it, etc.

0


Sign in to leave a comment.

Didn't find what you're looking for?

New post