PagerDuty
Connect Cased to PagerDuty to manage incidents and alerts
PagerDuty
Section titled “PagerDuty”To use PagerDuty, we just need a single API key, which is easy to create.
Generate an API Key
Section titled “Generate an API Key”- Visit PagerDuty API Keys
- Create a new API key
- Do not select a read-only API key
- The API key should have write permissions so that we can create the event webhook

Connect to Cased
Section titled “Connect to Cased”- Go to app.cased.com/connections/pagerduty
- Enter your PagerDuty API key
- Enter your default service name (e.g., “Production” or “Main Service”)
- Cased will automatically configure webhooks to receive PagerDuty incident events
- Cased agent will start using the PagerDuty connection.
Workflow Triggers
Section titled “Workflow Triggers”Once connected, PagerDuty can trigger automated workflows based on incident events. This allows you to automatically respond to incidents, gather diagnostics, notify teams, or even attempt automated remediation.
Available Trigger Events
Section titled “Available Trigger Events”PagerDuty workflows can be triggered by the following incident events:
- Incident Triggered - Fires when a new incident is created
- Incident Acknowledged - Fires when someone acknowledges an incident
- Incident Resolved - Fires when an incident is marked as resolved
Setting Up a PagerDuty Workflow
Section titled “Setting Up a PagerDuty Workflow”- Navigate to your project’s Workflows page
- Create a new workflow or edit an existing one
- In the Trigger section, select “PagerDuty”
- Choose which incident events should trigger this workflow
- Configure your workflow instructions to handle the incident
Example Use Cases
Section titled “Example Use Cases”- Auto-diagnostics: When an incident triggers, automatically gather logs, metrics, and system status
- Team notifications: Send custom notifications to Slack or other channels with incident details
- Runbook automation: Execute predefined runbooks based on the incident type or service
- Post-incident actions: When an incident resolves, create a post-mortem document or update status pages
Workflow Context
Section titled “Workflow Context”When a PagerDuty incident triggers a workflow, the following context is available:
incident_number
- The PagerDuty incident numberincident_title
- Title/description of the incidentincident_urgency
- Urgency level (high, low)incident_url
- Direct link to the incident in PagerDutyservice
- The affected service name
This context can be used in your workflow instructions to create targeted responses based on the specific incident details.