Skip to main content

New Incident

Triggers a workflow on every new PagerDuty incident.

info

Automations based on this trigger will search for new events every 5 minutes.

Basic Parameters

ParameterDescription
IncludeArray of additional details to include.

Advanced Parameters

ParameterDescription
Team IDsA comma separated list of team IDs. Only results related to these teams will be returned.Account must have the teams ability to use this parameter.

Sample Event

{
"incident_number": 2,
"title": "Test List incidents",
"description": "Test List incidents",
"created_at": "2022-07-12T13:29:38Z",
"status": "triggered",
"incident_key": "dccd602214d24ffa9b09f58f1740284f",
"service": {
"id": "PFRWZGT",
"type": "service_reference",
"summary": "Plugin test",
"self": "https://api.pagerduty.com/services/PFRWZGT",
"html_url": "https://plug-acc.pagerduty.com/service-directory/PFRWZGT"
},
"assignments": [
{
"at": "2022-07-12T13:29:38Z",
"assignee": {
"id": "PF4R6T7",
"type": "user_reference",
"summary": "Dani Din",
"self": "https://api.pagerduty.com/users/PF4R6T7",
"html_url": "https://plug-acc.pagerduty.com/users/PF4R6T7"
}
}
],
"assigned_via": "escalation_policy",
"last_status_change_at": "2022-07-12T13:29:38Z",
"first_trigger_log_entry": {
"id": "R2B1HJI4TXNH3LFX9C7KWFDO8P",
"type": "trigger_log_entry_reference",
"summary": "Triggered through the website.",
"self": "https://api.pagerduty.com/log_entries/R2B1HJI4TXNH3LFX9C7KWFDO8P",
"html_url": "https://plug-acc.pagerduty.com/incidents/Q0P83M3J7ZCUQQ/log_entries/R2B1HJI4TXNH3LFX9C7KWFDO8P"
},
"alert_counts": {
"all": 0,
"triggered": 0,
"resolved": 0
},
"is_mergeable": true,
"escalation_policy": {
"id": "PYPBX9W",
"type": "escalation_policy_reference",
"summary": "Default",
"self": "https://api.pagerduty.com/escalation_policies/PYPBX9W",
"html_url": "https://plug-acc.pagerduty.com/escalation_policies/PYPBX9W"
},
"teams": [],
"pending_actions": [],
"acknowledgements": [],
"basic_alert_grouping": null,
"alert_grouping": null,
"last_status_change_by": {
"id": "PFRWZGT",
"type": "service_reference",
"summary": "Plugin test",
"self": "https://api.pagerduty.com/services/PFRWZGT",
"html_url": "https://plug-acc.pagerduty.com/service-directory/PFRWZGT"
},
"incidents_responders": [],
"responder_requests": [],
"subscriber_requests": [],
"urgency": "high",
"id": "Q0P83M3J7ZCUQQ",
"type": "incident",
"summary": "[#2] Test List incidents",
"self": "https://api.pagerduty.com/incidents/Q0P83M3J7ZCUQQ",
"html_url": "https://plug-acc.pagerduty.com/incidents/Q0P83M3J7ZCUQQ"
}