PagerDuty Help & Support

What PagerDuty Triggers and Actions are Supported?

Supported Triggers#

  • New or Updated Incident - Triggers when new incidents are created, or when existing incidents change state.

Supported Actions#

  • Add Acknowledge Event - Acknowledge the incident with this Incident Key.
  • Add Trigger Event - Trigger an incident in PagerDuty with this Incident Key.
  • Add Resolve Event - Resolve the incident with this Incident Key.

How to Get Started with PagerDuty

Setting up PagerDuty#

To get PagerDuty to work with Zapier, the first thing to do is to add your PagerDuty account to Zapier. We'll prompt you to add these details when you're adding your first PagerDuty Zap.

Zap Editor 1

You will now need to enter some details to connect Zapier to your PagerDuty account.

Zap Editor 2

The account name and API key fields are a lot more particular. Your Account Name in PagerDuty is the same as your subdomain on PagerDuty. If you go to to log in, your account name is "mycompany."

You must generate the API key in PagerDuty, but it's really easy to do. After logging in to PagerDuty, click on the "Configuration" on the top navigation menu and then choose "API Access".

Inside PagerDuty 1

Type a description in the appropriate field ("Zapier" or anything you'll recognize later), and choose "V2 (Current)" as the API version. Then click Create Key. Leave "Read-only API Key" unchecked.

Inside PagerDuty 2

Your key will appear on the left side and you can then paste it into the Zapier window and click Continue.

Inside PagerDuty 3

Zapier will automatically test your settings. If they're good, you're in the clear to continue setting up your Zap.

Zap Editor 4

If you get an error at this point, some piece of data was entered incorrectly.

Zap Editor Editor Error

  1. If you get "authorization failed: Account Not Found", your subdomain was entered incorrectly.
  2. If you get "authorization failed: (401) Unauthorized", your API key is incorrect.

The final bit is to set up the webhook.

Zap Editor Webhook

Make sure to enter your Webhook URL into your PagerDuty service(s) that you would like to tie into Zapier. Copy the "Webhook URL" and paste it into your PagerDuty settings.

Inside PagerDuty 4

After this step, you are finished connecting PagerDuty to Zapier.

Incident Key Fields and Regular Expressions#

The incident key field is how PagerDuty de-duplicates so you don't get multiple alerts for the same thing.

You should provide an incident key that will be unique per alert session, such as an email subject line or an ID number of an exception.

If you want to only use part of the incident key field, you can use a regular expression to parse it. If you use a regular expression, only the first matching group will be used as the incident key.

Examples of Regular Expressions you might use:

"Web Server (\S+) is UP" would turn "Web Server WWW41 is UP" into "WWW41"

"Recovery on (.*) port (.*)" would turn "Recovery on WWW41 port 443" into "WWW41"

Common Problems with PagerDuty

We don't have any common problems documented yet, but feel free to contact us so we can help you personally!

Need More Help? - Our support team is happy to help -- send us a message

PagerDuty is the leading digital operations management platform for businesses, that integrates with ITOps and DevOps monitoring stacks to improve operational reliability and agility. From enriching and aggregating events to correlating them into actionable incidents, PagerDuty provides insights so you can intelligently respond to critical disruptions for exceptional customer experience. With hundreds of native integrations with monitoring and collaboration tools, automated scheduling, advanced reporting, and guaranteed reliability, PagerDuty is trusted by thousands of organizations globally to increase business and employee efficiency.

Learn More

Getting Started with Zapier