PagerDuty

Real-Time Operations and Incident Response

Integrate the PagerDuty API with the HTTP / Webhook API

Setup the PagerDuty API trigger to run a workflow which integrates with the HTTP / Webhook API. Pipedream's integration platform allows you to integrate PagerDuty and HTTP / Webhook remarkably fast. Free for developers.

Acknowledge Incident with PagerDuty API on New Requests from HTTP / Webhook API
HTTP / Webhook + PagerDuty
 
Try it
Find Oncall User with PagerDuty API on New Requests from HTTP / Webhook API
HTTP / Webhook + PagerDuty
 
Try it
Resolve Incident with PagerDuty API on New Requests from HTTP / Webhook API
HTTP / Webhook + PagerDuty
 
Try it
Trigger Incident with PagerDuty API on New Requests from HTTP / Webhook API
HTTP / Webhook + PagerDuty
 
Try it
Acknowledge Incident with PagerDuty API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + PagerDuty
 
Try it
New Requests from the HTTP / Webhook API

Get a URL and emit the full HTTP event on every request (including headers and query parameters). You can also configure the HTTP response code, body, and more.

 
Try it
New Requests (Payload Only) from the HTTP / Webhook API

Get a URL and emit the HTTP body as an event on every request

 
Try it
New On-Call Rotation from the PagerDuty API

Emit new event each time a new user rotates onto an on-call rotation

 
Try it
New or Updated Incident from the PagerDuty API

Emit new event each time an incident is created or updated

 
Try it
New event when the content of the URL changes. from the HTTP / Webhook API

Emit new event when the content of the URL changes.

 
Try it
Acknowledge Incident with the PagerDuty API

Acknowledge an incident. See the docs here

 
Try it
Find Oncall User with the PagerDuty API

Find the user on call for a specific schedule. See the docs here

 
Try it
Send any HTTP Request with the HTTP / Webhook API

Send an HTTP request using any method and URL. Optionally configure query string parameters, headers, and basic auth.

 
Try it
Send GET Request with the HTTP / Webhook API

Send an HTTP GET request to any URL. Optionally configure query string parameters, headers and basic auth.

 
Try it
Resolve Incident with the PagerDuty API

Resolve an incident. See the docs here

 
Try it

Connect PagerDuty

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    pagerduty: {
      type: "app",
      app: "pagerduty",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.pagerduty.com/users/me`,
      headers: {
        Authorization: `Bearer ${this.pagerduty.$auth.oauth_access_token}`,
        "Accept": `application/vnd.pagerduty+json;version=2`,
      },
    })
  },
})

Connect HTTP / Webhook

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
export default defineComponent({
  props: {
    http: {
      type: "http_request",
      default: {
        method: "GET",
        url: "http://api.open-notify.org/iss-now.json",
      }
    }
  },
  async run({steps, $}) {
    return await this.http.execute()
  },
})
Run a Pipedream workflow on PagerDuty on-call rotations
Run a Pipedream workflow on PagerDuty on-call rotations
Run common workflows, or any Node.js code you'd like, each time a new user rotates onto an on-call schedule.

Community Posts

A Look at Pipedream
A Look at Pipedream
I'm going to build a workflow that will search Twitter every hour for a keyword. It will take the results, format them nicely, and then email it.
Building a Traffic-Based Workflow in Pipedream
Building a Traffic-Based Workflow in Pipedream
Normally I don't like to blog about stuff that isn't generally available to all, but as it will be available sometime soon, I decided to go ahead anyway. And I built something really cool I want to share so that's another reason to talk about this now!