This page provides a comprehensive reference for PagerDuty actions available in the workflow automation actions catalog. These actions enable you to integrate PagerDuty incident management into your workflow definitions, including creating, updating, resolving, listing, and retrieving incidents.
Prerequisites
Before using PagerDuty actions in workflow automation, ensure you have:
- A PagerDuty account with appropriate permissions.
- A PagerDuty API token (either a user token or account token).
- The necessary permissions to manage incidents in your PagerDuty account.
- For account tokens, you'll need to provide the
fromemail address in relevant actions.
Incident actions
Resolves a PagerDuty incident by updating its status to resolved with optional resolution notes.
Input Field | Optionality | Type | Example |
|---|---|---|---|
token | Required | String |
|
incidentId | Required | String |
|
type | Required | String |
|
from | Optional | String |
The |
resolution | Optional | String |
|
selectors | Optional | List |
|
Output Field | Type | Example |
|---|---|---|
response | object | |
success | Boolean |
|
errorMessage | String |
|
Workflow example |
|---|
|
Retrieves a list of incidents from PagerDuty with optional filtering parameters such as date ranges and status.
Input Field | Optionality | Type | Example |
|---|---|---|---|
token | Required | String |
|
parameters | Optional | Map | |
selectors | Optional | List |
|
Importante
The PagerDuty List API supports multiple optional query parameters, which can be efficiently handled using a parameter map
Output Field | Type | Example |
|---|---|---|
response | object | |
success | Boolean |
|
errorMessage | String | |
Workflow example |
|---|
|
Retrieves detailed information about a specific PagerDuty incident by its ID.
Input Field | Optionality | Type | Example |
|---|---|---|---|
token | Required | String |
|
incidentId | Required | String |
|
parameters | Optional | Map | |
selectors | Optional | List |
|
Output Field | Type | Example |
|---|---|---|
response | Object | |
success | Boolean |
|
errorMessage | String | |
Workflow example |
|---|
|
Creates a new incident in PagerDuty with specified service, title, priority, and other optional attributes.
Input Field | Optionality | Type | Example |
|---|---|---|---|
token | Required | String |
|
type | Required | String |
|
title | Required | String |
|
service | Required | Map | |
from | Optional | String |
The from field is required for account tokens but optional for user tokens |
priority | Optional | Map | |
urgency | Optional | String |
|
body | Optional | Map | |
incidentKey | Optional | String |
|
assignments | Optional | List | |
incidentType | Optional | String | |
escalationPolicy | Optional | Map | |
conferenceBridge | Optional | Map | |
selectors | Optional | List |
|
Output Field | Type | Example |
|---|---|---|
response | object | |
success | Boolean |
|
errorMessage | String | |
Workflow example |
|---|
|
Updates an existing PagerDuty incident's properties such as status, priority, title, assignments, and other attributes.
Input Field | Optionality | Type | Example |
|---|---|---|---|
token | Required | String |
|
incidentId | Required | String |
|
from | Optional | String |
The from field is required for account tokens but optional for user tokens |
type | Required | String |
|
status | Optional | String |
|
priority | Optional | Map | |
title | Optional | String |
|
escalation_level | Optional | Integer |
|
assignments | Optional | List | |
incident_type | Optional | Map | |
escalation_policy | Optional | Map | |
urgency | Optional | String |
|
conference_bridge | Optional | Map | |
service | Optional | Map | |
resolution | Optional | String |
|
selectors | Optional | List |
|
Output Field | Type | Example |
|---|---|---|
response | Object | |
success | Boolean |
|
errorMessage | String |
Workflow example |
|---|
|