PagerDuty doesn't natively have Discord webhooks, so we made this CloudFlare worker to relay them to Discord.
We use Uptime Kuma to monitor certain services, so there is also functionality to parse the specific incident parameters.
Go to Integrations > Generic Webhooks, click New Webhook enter the URL of your hosted worker, and change your event subscription to have these events.
incident.acknowledgedindicent.triggeredincident.resolved
These are the only events currently supported by this relay.
Once you add the webhook it will give you a secret, you will need to set this to PAGERDUTY_TOKEN environment variable for the worker to verify the request is from PagerDuty.
This is extremely simple, create a webhook, copy the URL and set the DISCORD_WEBHOOK environment variable to the parts after /webhooks should look something like this 12345678910/WEBHOOK_TOKEN
| Default | Uptime Kuma |
|---|---|
![]() |
![]() |

