PagerDuty
  • 11 Dec 2022
  • 1 Minute to read
  • Dark
    Light

PagerDuty

  • Dark
    Light

Article Summary

The PagerDuty integration enables you to ingest PagerDuty incidents as events in Torq and use PagerDuty steps in workflows. Some common use cases for the PagerDuty integration include:

  • Speed up and standardize incident resolution with automated workflows triggered by PagerDuty incidents.
  • Automate incident acknowledgments, updates, and status changes.
  • Use PagerDuty on-call schedules in workflows to streamline communication and escalation during incidents.

To configure the integration, there are several configurations you'll make in Torq and several configurations in PagerDuty.

Trigger workflows with PagerDuty incidents

Create a PagerDuty integration in Torq

  1. Go to the Integrations page, locate the PagerDuty card, and click Add.
  2. Enter a meaningful name for the integration.
  3. Copy the generated webhook URL, which you will need when configuring the webhook in PagerDuty.

Create a Webhook Extension in PagerDuty

You need to configure the unique webhook URL for each corresponding service defined in PagerDuty that will trigger workflows in Torq.

  1. Navigate to Configuration → Services, then click the name of the service you want to add a webhook to.
  2. Select the Integrations tab, under Extensions and Add-Ons, click Add or manage extensions for this service and then click New Extension.
  3. For the Extension Type select your webhook type or Generic v3 Webhook.
  4. Enter a Name for your webhook.
  5. In the Details field, enter the webhook URL for PagerDuty.
  6. Click Save.

Use PagerDuty steps in workflows

Generate a PagerDuty API Key

  1. Go to the Apps and Add-Ons > API Access and click Create New API Key.
  2. Enter a Description that will help you identify the key later on. Keep the Read-Only option unchecked.
  3. Click Create Key.
  4. A unique API key will be generated. Copy it for use in the next steps.

Create a PagerDuty secrets integration in Torq

  1. Go to the Integrations and locate the PagerDuty API Keys card.
  2. Click Add.
  3. Enter a meaningful name for the integration that you will be able to easily identify when creating workflows.
  4. Paste the API key you created in the previous step.
  5. Click Save.

Available steps (v1)

  • Acknowledge an incident
  • Create anote on an incident
  • Create an incident
  • Get aggregated service data
  • Get an escalation policy
  • Get user details
  • List escalation policies
  • List incident notes
  • List incidents
  • List oncalls
  • Resolve an incident
  • Update incident urgency

Available steps (v2)

  • Acknowledge an event
  • Create an event
  • Resolve an event

Available templates


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.