Automate PagerDuty
Follow PagerDuty incidents and on-call shifts from your inbox or team chat. Incidents that trigger, get acknowledged or resolve, a weekly breakdown by service with time to resolve, a heads-up the day before your shift and incidents still open after a day are all sent automatically. Write out what you need for your AI assistant, approve what it plans to do, and it goes on running.
Try asking
Create a ClickRuntime automation: every 5 minutes, check PagerDuty and email me whenever an incident is triggered, acknowledged or resolved, with the service, title, urgency and who is assigned.
Paste it into your assistant. It tells you what it will send or change before it runs live.
Ideas
What you can automate in PagerDuty
Get an email when a PagerDuty incident changes
When an incident is triggered, acknowledged or resolved, you get the update with its service and urgency.
See how it worksGet a weekly incident report by service
Every Monday you see how many incidents each service had last week and how long they took to resolve on average.
See how it worksGet a reminder the day before you're on call
The afternoon before a shift, you get a note saying when your on-call starts and ends.
See how it worksGet a morning list of incidents open over a day
Every morning you see the incidents still triggered or acknowledged after 24 hours, oldest first.
See how it works Your own logicAny other automation you can describe in words
Your own rules, schedule and AI steps with PagerDuty, plus any other app. Describe it and your assistant builds it.
See how to build your ownBuild your own
Build any PagerDuty automation you can describe
Your own rules
Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.
Any number of apps
One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.
AI where it helps
Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.
On a schedule or on each event
Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.
For example, ask your assistant
Every Monday, pull last week's PagerDuty incidents and send me counts per service, mean time to resolve, and the noisiest alert.
When a PagerDuty incident is triggered, post it to our #incidents Slack channel with the service and urgency.
When a high-urgency PagerDuty incident is resolved, create a postmortem Google Doc from a template, add the timeline, and post the link in Slack.
Beyond chat
Have PagerDuty work when you're not in the chat
On a schedule
Get a weekly incident report by serviceWeekly
Watches for changes
Get an email when a PagerDuty incident changesEvery 5 minutes
On a schedule
Get a reminder the day before you're on callDaily
Setup
Connect PagerDuty
PagerDuty connects with a REST API key you create. An admin can make a general access key, read-only if you prefer, or any user can create a personal API token that carries their own permissions.
PagerDuty
Developer / Incident management
- As an Admin or Account Owner, open Integrations, then Developer Tools, then API Access Keys, and choose Create New API Key.
- Enter a description, tick Read-only if the automations only need to read, then create the key.
- Copy the key straight away, since it is shown once. Alternatively, create a personal token under My Profile, User Settings, Create API User Token.
- In the ClickRuntime dashboard, save the key as a secret on Connections & secrets. If your account is in the EU region, use the EU API.
Good to know
PagerDuty limits that affect automations
- An API key is shown only once. If it is lost, create a new one and update the secret.
- Creating a general access API key requires the Admin or Account Owner role.
- A personal API user token can do exactly what that user can, no more and no less.
- Some write actions must include the email of a PagerDuty user, so read-only keys are the simpler choice for reporting.
- Sending new events into PagerDuty uses the separate Events API with a per-service integration key, not the REST API key.
FAQ
Questions about automating PagerDuty
What can ClickRuntime see in PagerDuty?
How fast are incident updates sent?
Can it remind me before my on-call shift?
How does the weekly report work out time to resolve?
Do PagerDuty automations need AI?
Is this a PagerDuty connector for ChatGPT or Claude?
Related pages
Keep exploring