PagerDuty
Overview
NudgeBee integrates with PagerDuty for incident management. Events and alerts can automatically create PagerDuty incidents, triggering your on-call workflows and escalation policies.
Prerequisites
Before configuring the integration, ensure you have:
- A PagerDuty account on the US service. Accounts on the EU service (
api.eu.pagerduty.com) are not supported yet - A PagerDuty API key (v2 REST API key)
- At least one service configured in PagerDuty
Generate a PagerDuty API Key
- In PagerDuty, navigate to Integrations > Developer Tools > API Access Keys.
- Click Create New API Key.
- Enter a description (e.g.,
NudgeBee Integration) and click Create Key. - Copy the API key — it will not be shown again.
Use a General Access REST API Key (not a read-only key). NudgeBee needs write access to create incidents and add notes.
PagerDuty Integration Configuration
Navigate to Admin → Integrations → Ticketing tab and select PagerDuty to open the configuration form.

Configuration Fields
| Field | What to enter |
|---|---|
| Name * | A name for this connection |
| Account URL | Fixed at api.pagerduty.com; it can't be changed |
| Email * | The email of a registered PagerDuty user. It's sent as the From header when NudgeBee creates incidents or notes |
| API Key * | A PagerDuty REST API key (v2). Stored encrypted |
| Post RCA analysis to PagerDuty incidents | When on, NudgeBee posts its root-cause analysis as a note on the originating PagerDuty incident |

Test Connection lists your PagerDuty services to confirm the key works. If authentication fails, verify your API key is correct and has sufficient permissions.
Capabilities
Once configured, NudgeBee can perform the following operations with PagerDuty:
| Operation | Description |
|---|---|
| Create Incident | Create incidents linked to a specific PagerDuty service |
| Add Note | Add notes to existing incidents |
| Query Metadata | Fetch available services and users for form population |
Supported Incident Fields
| Field | Description |
|---|---|
| Title | Incident title |
| Description | Incident body with event context |
| Service | Target PagerDuty service for the incident |
Creating Incidents
Incidents can be created from NudgeBee in two ways:
- Automatically — from events, alerts, or autopilot runbook actions
- Manually — from the NudgeBee event detail view by clicking the ticket icon
When an incident is created, it triggers PagerDuty's on-call schedule, notifications, and escalation policies for the selected service.
Verify the Integration
- Save the configuration. If credentials are valid, the integration is created without errors.
- Navigate to any event in NudgeBee.
- Click the ticket creation option and select PagerDuty.
- Verify the incident is created in your PagerDuty account under the selected service.
Notes
- PagerDuty incidents are created in a triggered state, which activates on-call notifications.
- The username/email field is used as the
Fromheader in PagerDuty API calls (required by PagerDuty for incident creation). - PagerDuty also supports a separate webhook integration for receiving PagerDuty alerts into NudgeBee. See the webhook configuration in Integrations > Webhooks.
Troubleshooting PagerDuty Integration
1. 400 Bad Request: 'From' header is required
- Symptom: Incident creation fails with a missing
Fromheader error. - Root Cause: The PagerDuty REST API v2 requires the email address of a registered PagerDuty user in the
Fromheader for write operations. - Remediation:
- Go to Admin → Integrations → Ticketing → PagerDuty.
- Verify that the Email field holds the email of a user that exists in your PagerDuty account.
2. 401 Unauthorized: Invalid Token
- Symptom: Connection test returns
401 Unauthorized. - Root Cause: The API key is a scoped or user personal token that was revoked, or an Events API Integration Key was provided instead of a REST API Key.
- Remediation:
- Ensure you generated a General Access REST API Key (v2) from Integrations $\rightarrow$ Developer Tools $\rightarrow$ API Access Keys, not a service-specific Events API routing key.
3. Incident Not Triggering Escalation Policy
- Symptom: Incident appears in PagerDuty but on-call engineers are not alerted.
- Remediation:
- In PagerDuty, open the target Service.
- Verify that the service is linked to an active Escalation Policy and not in
Maintenance Mode. - Ensure the service's Incident Creation setting is set to Create Incidents (not alerts only).