Overview
PagerDuty integration enables IncidentFox to:- Automatically investigate when alerts trigger
- Post findings to configured Slack channels
- Provide context before the oncall engineer responds
- Correlate alerts with recent deployments
Prerequisites
- PagerDuty account with admin access
- Webhook configuration permissions
- Slack integration configured (for responses)
Setup
Step 1: Create Generic Webhook
- Log in to PagerDuty
- Go to Services > Select your service
- Click Integrations tab
- Add Generic Webhooks (v3)
- Configure:
- URL:
https://api.incidentfox.ai/api/pagerduty/webhook - Events:
incident.triggered,incident.acknowledged
- URL:
- Copy the signing secret
- Save
Step 2: Add to IncidentFox
Configuration Options
| Option | Description | Default |
|---|---|---|
auto_investigate | Auto-start investigation on trigger | true |
notification_channel | Slack channel for findings | Required |
urgency_filter | Only investigate high urgency | all |
service_filter | List of services to investigate | All |
How It Works
When a PagerDuty incident triggers:- Webhook fires to IncidentFox
- Agent extracts context from alert details
- Investigation runs against configured data sources
- Findings posted to Slack before oncall responds
Automatic Investigation
Alert Context
IncidentFox extracts from the PagerDuty webhook:- Service name
- Alert title/description
- Urgency level
- Custom details (if provided)
Example Flow
PagerDuty Alert:Service Configuration
Configure per-service investigation:Urgency Filtering
Only investigate high urgency alerts:Enriching Alert Context
Add custom details to your PagerDuty alerts for better investigations:Response Time
Typical investigation times:| Alert Complexity | Response Time |
|---|---|
| Single service | 15-30 seconds |
| Multi-service | 30-60 seconds |
| Complex correlation | 60-90 seconds |
Best Practices
- Add custom details to alerts for targeted investigations
- Configure per-service investigation prompts
- Use dedicated channels per service/team
- Review investigation accuracy to improve prompts
- Combine with Incident.io for full incident workflow
Troubleshooting
Webhook Not Triggering
- Check webhook URL is correct
- Verify signing secret matches
- Check PagerDuty webhook delivery logs
- Ensure incident.triggered event is enabled
Investigation Not Starting
- Check service is not in filter exclude list
- Verify urgency meets threshold
- Review agent logs in Web UI
Slow Investigations
- Reduce number of data sources queried
- Add more specific investigation prompts
- Check data source connectivity
Next Steps
Incident.io
Full incident workflow
Configuration
Customize investigation behavior

