pagerPagerDuty

Procedures and concepts for the PagerDuty integration.

circle-info

The following documentation is for PagerDuty v1.0.3 (BDK).

Overview

PagerDuty is an incident management platform that helps teams respond to and resolve critical issues quickly. This integration enables automated incident creation, escalation management, and on-call scheduling workflows. Improve incident response times and maintain system reliability through automated monitoring.

Prerequisites

1. Required Books

The following Book(s) need to be added to your agent so it can learn and understand the automation procedures defined within them:

  • PagerDuty

How to Add the Book(s)

  1. Go to BooksAll Books.

  2. Search for the name of the book and click on it.

  3. Click on Install or Add Connection to add the book to your agent.

  4. If adding a connection, you'll be prompted for connectivity details.

Connectivity

This section outlines the available methods for connecting to the Book, along with the required configuration details for each.

This books supports the connectivity methods described in this section.In here you will find information about what information is required in order to employ each method.

Connect using API Key

Connect to PagerDuty API using API key.

Label
Description
Type

API Key

The API key for authentication.

sensitive

Procedures

to create an (incident) in pagerduty

Create an incident in PagerDuty.

Input Concepts

Concept
Description
Type
Required
Default Value

The data for the incident to create.

pagerduty incident creation payload

Yes

(no default)

Output Concepts

Concept
Description
Type

The created incident.

pagerduty incident

Examples

Create an incident in PagerDuty

to get some (incidents) from pagerduty

FILTER - CAPABLE

Get incidents from PagerDuty using a Filter Expression.

Output Concepts

Concept
Description
Type

A list of incidents.

pagerduty incident

Examples

Get all incidents from PagerDuty

to manage an (incident) in pagerduty

Manage an incident in PagerDuty.

Manage (update) an incident in PagerDuty. The 'From' header with a valid user email may be required by PagerDuty for this operation, depending on what was the authentication method used.

Input Concepts

Concept
Description
Type
Required
Default Value

The ID of the incident to update.

pagerduty incident

Yes

(no default)

The data to update for the incident.

pagerduty incident update payload

Yes

(no default)

user email

The email of the PagerDuty user for 'From' header in write operations.

text

No

(no default)

Output Concepts

Concept
Description
Type

The updated incident.

pagerduty incident

Examples

Manage an incident in PagerDuty

Concepts

Pagerduty incident creation payload

Payload for creating a PagerDuty incident.Payload for creating an incident

Field Name
Description
Type

title

The title of the incident.

text

service

The service the incident is associated with.

json

type

The type of the incident.

optional[text]

The priority of the incident.

optional[json]

urgency

The urgency of the incident.

optional[text]

The body of the incident.

optional[json]

incident_key

The incident key.

optional[text]

The assignments of the incident.

optional[list of json]

The escalation policy of the incident.

optional[json]

The conference bridge of the incident.

optional[json]

incident_type_name

The incident type name.

optional[text]

Pagerduty incident

PagerDuty incident data model.A PagerDuty incident.

Field Name
Description
Type

id

The ID of the incident.

text

type

The type of the incident.

text

summary

The summary of the incident.

optional[text]

self_url

The self URL of the incident.

optional[text]

html_url

The HTML URL of the incident.

optional[text]

incident_number

The incident number.

optional[number]

title

The title of the incident.

optional[text]

created_at

The creation time of the incident.

optional[text]

updated_at

The last update time of the incident.

optional[text]

status

The status of the incident.

optional[text]

incident_key

The incident key.

optional[text]

The service the incident is associated with.

optional[json]

The assignments of the incident.

optional[list of json]

assigned_via

The assigned via of the incident.

optional[text]

last_status_change_at

The last status change time of the incident.

optional[text]

resolved_at

The resolution time of the incident.

optional[text]

The first trigger log entry of the incident.

optional[json]

The alert counts of the incident.

optional[json]

is_mergeable

Whether the incident is mergeable.

optional[boolean]

The type of the incident.

optional[json]

The escalation policy of the incident.

optional[json]

The teams of the incident.

optional[list of json]

The pending actions of the incident.

optional[list of json]

The acknowledgements of the incident.

optional[list of json]

The last status change by of the incident.

optional[json]

The priority of the incident.

optional[json]

The conference bridge of the incident.

optional[json]

urgency

The urgency of the incident.

optional[text]

The body of the incident.

optional[json]

Pagerduty incident update payload

Payload for updating a PagerDuty incident.Payload for updating an incident (subset of fields)

Field Name
Description
Type

status

The status of the incident.

optional[text]

resolution

The resolution of the incident.

optional[text]

title

The title of the incident.

optional[text]

The priority of the incident.

optional[json]

escalation_level

The escalation level of the incident.

optional[number]

The assignments of the incident.

optional[list of json]

incident_type_name

The incident type name.

optional[text]

The escalation policy of the incident.

optional[json]

urgency

The urgency of the incident.

optional[text]

The conference bridge of the incident.

optional[json]

Concept attribute specifications

priority (pagerduty incident creation payload)

Name
Type

id

text

type

optional[text]

summary

optional[text]

self_url

optional[text]

html_url

optional[text]

body (pagerduty incident creation payload)

Name
Type

type

optional[text]

details

optional[any?]

assignments (pagerduty incident creation payload)

Name
Type

at

optional[text]

assignee

optional[json]

escalation_policy (pagerduty incident creation payload)

Name
Type

id

text

type

optional[text]

summary

optional[text]

self_url

optional[text]

html_url

optional[text]

conference_bridge (pagerduty incident creation payload)

Name
Type

conference_number

optional[text]

conference_url

optional[text]

service (pagerduty incident)

Name
Type

id

text

type

optional[text]

summary

optional[text]

self_url

optional[text]

html_url

optional[text]

assignments (pagerduty incident)

Name
Type

at

optional[text]

assignee

optional[json]

first_trigger_log_entry (pagerduty incident)

Name
Type

id

text

type

optional[text]

summary

optional[text]

self_url

optional[text]

html_url

optional[text]

alert_counts (pagerduty incident)

Name
Type

triggered

optional[number]

resolved

optional[number]

all

optional[number]

incident_type (pagerduty incident)

Name
Type

name

optional[text]

escalation_policy (pagerduty incident)

Name
Type

id

text

type

optional[text]

summary

optional[text]

self_url

optional[text]

html_url

optional[text]

teams (pagerduty incident)

Name
Type

id

text

type

optional[text]

summary

optional[text]

self_url

optional[text]

html_url

optional[text]

pending_actions (pagerduty incident)

Name
Type

type

text

at

text

to

optional[text]

acknowledgements (pagerduty incident)

Name
Type

at

optional[text]

acknowledger

optional[json]

last_status_change_by (pagerduty incident)

Name
Type

id

text

type

text

summary

optional[text]

self_url

optional[text]

html_url

optional[text]

priority (pagerduty incident)

Name
Type

id

text

type

optional[text]

summary

optional[text]

self_url

optional[text]

html_url

optional[text]

conference_bridge (pagerduty incident)

Name
Type

conference_number

optional[text]

conference_url

optional[text]

body (pagerduty incident)

Name
Type

type

optional[text]

details

optional[any?]

priority (pagerduty incident update payload)

Name
Type

id

text

type

optional[text]

summary

optional[text]

self_url

optional[text]

html_url

optional[text]

assignments (pagerduty incident update payload)

Name
Type

at

optional[text]

assignee

optional[json]

escalation_policy (pagerduty incident update payload)

Name
Type

id

text

type

optional[text]

summary

optional[text]

self_url

optional[text]

html_url

optional[text]

conference_bridge (pagerduty incident update payload)

Name
Type

conference_number

optional[text]

conference_url

optional[text]

Last updated

Was this helpful?