PagerDuty Webhook
Receive PagerDuty incident notifications directly into NudgeBee. When an incident is triggered or resolved in PagerDuty, NudgeBee automatically creates or updates the corresponding event and triggers troubleshooting workflows.
Step 1: Create the Webhook in NudgeBee
- Navigate to Integrations > Webhooks tab.
- Click the PagerDuty Webhook card.
- Fill in the configuration:
- Integration Config Name — a descriptive name (e.g.,
PagerDuty Production). - Account — select the NudgeBee account to receive events.
- Integration Config Name — a descriptive name (e.g.,
- Click Save. NudgeBee generates a unique webhook URL in the format:
https://<your-nudgebee-domain>/api/webhooks/pagerduty?token=<generated-token>
Copy the URL exactly as the integration shows it. The path segment is the provider name — lowercase, no _webhook suffix — and nothing may follow it. pagerduty_webhook is the integration type NudgeBee stores internally, not a URL you can post to; a URL that does not match the route above is answered by the NudgeBee web app with a 404 and never reaches the alert pipeline.
- Copy the webhook URL — you will configure it in PagerDuty in the next step.
Step 2: Configure PagerDuty Webhook Subscription
- In PagerDuty, navigate to Integrations > Generic Webhooks (V3).
- Click New Webhook.
- Fill in the webhook details:
- Webhook URL: paste the NudgeBee webhook URL from Step 1.
- Scope Type: select Account (to receive all incident events) or Service (to filter by specific services).
- Events to Send: select the following event types:
incident.triggeredincident.resolved
- Click Add Webhook.
- Use the Send Test Event button to confirm delivery. PagerDuty reports
200 OK, but no event appears in NudgeBee — see the note below.
NudgeBee only processes incident.triggered and incident.resolved events. Other event types are accepted with 200 OK and recorded as skipped, not failed — they create no NudgeBee event. This includes incident.acknowledged, incident.annotated, and pagey.ping, which is what Send Test Event sends. A green test event therefore proves the URL and token are right; it does not produce an event. Trigger a real incident to see one.
How It Works
When PagerDuty sends a webhook payload to NudgeBee, the following processing occurs:
State Mapping
| PagerDuty Event Type | NudgeBee Status |
|---|---|
incident.triggered | Firing |
incident.resolved | Resolved |
Priority Mapping
NudgeBee reads the incident priority field first, falling back to urgency if priority is not set:
| PagerDuty Priority / Urgency | NudgeBee Priority |
|---|---|
P1, critical, high | High |
P2, P3, medium | Medium |
P4, P5, low | Low |
Automatic Enrichment
If a PagerDuty ticket integration is also configured for the same account, NudgeBee automatically enriches each alert event with:
- Incident Details — title, description, service name, escalation policy, and assignments fetched from the PagerDuty API.
- Alert Labels — custom fields and CEF payload labels extracted from the incident body (supports Alertmanager, Grafana, SigNoz, Chronosphere, and Last9 alert sources).
- Dedup Key — extracted from the alert body for accurate event fingerprinting.
Event Deduplication
Events are deduplicated using the PagerDuty webhook event ID (event.id). If PagerDuty sends a resolution webhook for the same incident, the existing NudgeBee event is updated to Resolved instead of creating a duplicate.
Account Mapping (Advanced)
If you use multiple NudgeBee accounts and want to route PagerDuty incidents to different accounts based on alert labels, edit the saved integration and use the Account Mapping (Optional) section:
- Click + Add rule.
- Under WHEN, enter a Label name (for example
env) and its Label value(s) (for exampleproduction). Separate several values with commas to match any of them. Conditions inside one rule must all match. - Under THEN use account, pick the Account.
Rules are checked top to bottom and the first match wins. If no rule matches, the incident goes to the account selected on the form.
Verify the Integration
- In PagerDuty, trigger a real incident on a monitored service. Send Test Event will not work here — it sends
pagey.ping, which NudgeBee skips. - In NudgeBee, navigate to Troubleshoot > All Events and verify the incident appears with:
- Correct title and priority
- Incident details evidence attached
- Service name and labels populated (if PagerDuty ticket integration is configured)
Troubleshooting
| Issue | Resolution |
|---|---|
Webhook URL returns HTTP 400 with webhook validation failed | Verify the token query parameter in the URL is correct. Regenerate the integration if needed. |
| Events not appearing | Ensure the PagerDuty webhook subscription is active and includes incident.triggered in the event types. |
| Enrichment labels missing | Ensure a PagerDuty ticket integration is configured for the same NudgeBee account — this is required for API-based enrichment. |
| Acknowledged events not updating | Expected behavior — NudgeBee only processes triggered and resolved events. Acknowledgements do not update the NudgeBee event status. |
| Test event succeeds but no event appears | Expected behavior — Send Test Event sends pagey.ping, which NudgeBee skips. Trigger a real incident instead. |
| Webhook URL returns a 404 HTML page | The path is wrong, so the request is reaching the NudgeBee web app instead of the alert pipeline. The correct path is /api/webhooks/pagerduty. Check that the URL uses https, is lowercase, has no _webhook suffix, and has nothing after pagerduty except the ?token= query. To avoid typos, copy the URL directly from the integration. |