Recent searches


No recent searches

Ben Rivlin's Avatar

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

Latest activity by Ben Rivlin

Ben Rivlin commented,

Community comment 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:

  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
 

View comment · Edited Dec 10, 2024 · Ben Rivlin

0

Followers

0

Votes

0

Comments