npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

n8n-nodes-pagerduty-trigger

v0.3.1

Published

n8n Trigger node for PagerDuty

Downloads

34

Readme

PagerDuty Trigger for n8n

Banner image

This trigger node allows you to receive updates in your n8n workflows when significant events happen in your PagerDuty account. For example, when an incident triggers, escalates or resolves. See the Events Supported support section below for a full list of events.

PagerDuty Trigger node screenshot

How to install

Community Nodes (Recommended)

For users on n8n v0.187+, your instance owner can install this node from Community Nodes.

  1. Go to Settings > Community Nodes.
  2. Select Install.
  3. Enter n8n-nodes-pagerduty-trigger in Enter npm package name.
  4. Agree to the risks of using community nodes: select I understand the risks of installing unverified code from a public source.
  5. Select Install.

After installing the node, you can use it like any other node. n8n displays the node in search results in the Nodes panel.

Manual installation

To get started install the package in your n8n root directory:

npm install n8n-nodes-pagerduty-trigger

For Docker-based deployments, add the following line before the font installation command in your n8n Dockerfile:

RUN cd /usr/local/lib/node_modules/n8n && npm install n8n-nodes-pagerduty-trigger

Node Reference

Credentials

You can find authentication information for this node here.

Events Supported

The following resources and event types are available using PagerDuty's Webhook Subscriptions API.

Incidents

| Event | Description | | ---------------------------------- | ------------------------------------------------------------------------------------------ | | Incident Acknowledged | Triggered when an incident is wledged | | Incident Annotated | Triggered when a note is added to an incident | | Incident Delegated | Triggered when an incident has been reassigned to another escalation policy | | Incident Escalated | Triggered when an incident has been escalated to another user in the same escalation level | | Incident Reassigned | Triggered when an incident has been reassigned to another user | | Incident Reopened | Triggered when an incident is reopened | | Incident Resolved | Triggered when an incident has been resolved | | Incident Status Update Published | Triggered when a status update is added to an incident | | Incident Triggered | Triggered when an incident is newly created/triggered | | Incident Unacknowledged | Triggered when an incident is unacknowledged | | Incident Responder Added | Triggered when a responder has been added to an incident | | Incident Responder Replied | Triggered when a responder replies to a request | | Incident Priority Updated | Triggered when the priority of an incident has changed |

Services

| Event | Description | | ---------- | ----------------------------------- | | Service Created | Triggered when a service is created | | Service Deleted | Triggered when a service is deleted | | Service Updated | Triggered when a service is updated |

Additional event types may be added to this list over time.

Options

Custom Headers

You can define optional headers that will be passed along with the payload to the destination URL. The header values are redacted in GET requests, but are not redacted on the webhook when delivered to trigger node. All header names must be unique.

When sending custom headers, the JSON for the event will have headers and query parameters will always included.

Include Headers and Query Parameters

By default, you'll receive the event body as your JSON. You can choose whether to return the full details of the request, including headers and query parameters instead of only the body.

Troubleshooting / Testing

If you're having issues with the webhook subscriptions, you can review the webhook subscriptions in PagerDuty using the Integrations > Generic Webhooks (v3) menu.

You send also send a test event to your listening trigger node here as well:

Manage webhook screenshot

License

MIT License

Copyright (c) 2022 Nicholas Penree [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.