
Ben Rivlin
已加入2022年4月28日
·
最后活动2024年12月10日
Senior Principal Support Technologist at a Legal Tech SaaS. I strive to provide world class internal solutions to allow the Teams of Experts to work more efficiently on customer needs.
关注
0
关注者
0
活动总数
3
投票
1
订阅
1
活动概览
标记
文章
帖子
社区评论
文章评论
活动概览
的最新活动 Ben Rivlin
Ben Rivlin 进行了评论,
社区评论 Feedback - Admin Center
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:
- Get all Webhooks: https://developer.zendesk.com/api-reference/webhooks/webhooks-api/webhooks/#list-webhooks
- 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
- Use filter[status] to filter on only the error statuses
- 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)
- 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
查看评论 · 已于 2024年12月10日 编辑 · Ben Rivlin
0
关注者
0
投票
0
评论