Recent searches
No recent searches

Ben Rivlin
Joined Apr 28, 2022
·
Last activity Dec 10, 2024
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.
Following
0
Followers
0
Total activity
3
Vote
1
Subscription
1
ACTIVITY OVERVIEW
BADGES
ARTICLES
POSTS
COMMUNITY COMMENTS
ARTICLE COMMENTS
ACTIVITY OVERVIEW
Latest activity by Ben Rivlin
Ben Rivlin commented,
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
View comment · Edited Dec 10, 2024 · Ben Rivlin
0
Followers
0
Votes
0
Comments