See llms.txt for all machine-readable content.

PagerDuty and Slack integration

Save yourself the work of writing custom integrations for PagerDuty and Slack and use n8n instead. Build adaptable and scalable Communication, Development, workflows that work with your technology stack. All within a building experience you will love.

How to connect PagerDuty and Slack

Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

PagerDuty and Slack integration: Create a new workflow and add the first step

Investigate Alertmanager incidents with GPT-4.1, ClickUp, Slack, and PagerDuty

Quick overview This workflow receives Prometheus Alertmanager webhooks, uses an OpenAI-powered incident investigator agent to query logs and recent deployments, writes a root-cause analysis to Postgres, creates a ClickUp incident task, notifies a Slack channel, and pages PagerDuty for critical incidents. How it works Receives a POST webhook from Prometheus Alertmanager containing the firing alert details. Normalizes key fields (alert name, severity, affected service, description, start time) and derives a session ID from the alert fingerprint to keep follow-up alerts in the same investigation context. Uses an OpenAI agent with session memory to investigate the incident, optionally querying your log API and your CI/CD deployment API multiple times before returning a structured RCA JSON. Parses the agent’s JSON output into fields like root cause, confidence, evidence, likely deployment, severity, and recommended actions. Inserts the analysis into a Postgres incident_analyses table for audit history. Creates a ClickUp task for the incident and posts a formatted summary with the ticket link to a Slack DevOps channel. If the agent-assessed severity is critical, creates a PagerDuty incident to page the on-call engineer, then returns a JSON response to the original webhook caller. Setup Configure Alertmanager to send alerts to this workflow’s webhook URL (POST /alertmanager-incident). Add an OpenAI credential for the Chat Model (set to gpt-4.1) and ensure the agent can use it. Update the two HTTP tool endpoints (logs and deployments) and add any required authentication so they can query your log store (for example Loki/ELK/CloudWatch/Sentry) and your CI/CD or release-tracking system. Add Postgres credentials and create a public.incident_analyses table with columns matching the insert (alert_fingerprint, alert_name, affected_service, root_cause, confidence, evidence, likely_deployment, severity, recommended_actions, created_at). Add ClickUp credentials and set the target List ID where incident tasks should be created. Add Slack credentials and set the target channel (for example #devops-incidents), and add PagerDuty API token credentials plus a Service ID if you want critical paging enabled.

Build your own PagerDuty and Slack integration

Create custom PagerDuty and Slack workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

PagerDuty supported actions

Slack supported actions

PagerDuty and Slack integration details

PagerDuty

PagerDuty

PagerDuty, a cloud computing company, is a useful tool for IT departments of companies as it provides incident response, critical event management, CollabOps, and automated diagnosis. It helps many companies save time and money with its powerful services.

Slack

Slack

Slack is a powerful collaboration tool for businesses of all sizes. It brings team communication and collaboration into one place so you can get more work done, whether you belong to a large enterprise or a small business.

Save engineering resources

Reduce time spent on customer integrations, engineer faster POCs, keep your customer-specific functionality separate from product all without having to code.

Learn more

FAQ about PagerDuty integrations

Need help setting up your PagerDuty and Slack integration?

Discover our latest community's recommendations and join the discussions about PagerDuty and Slack integration.

  • Michelle

    Slack node: Channel list not loading with "Issues: There was a problem loading the parameter options from server: "[object Object]""

    Michelle

    I’m trying to use a Slack node for searching messages in a specific channel. Yet, when I add the option for channel selection, I get an error: *Issues: There was a problem loading the parameter options from server: “[ob…

    Open topic
  • Ageng Putra

    Slack Trigger Node stopped working between two different channels

    Ageng Putra

    Describe the problem/error/question I have two separate workflows, each using a different Slack app integration: Staging channel → uses trigger-app 1 Production channel → uses trigger-app 2 The issue: The Slack…

    Open topic
  • Kyrylo

    Slack's channel history timestamp parameters

    Kyrylo

    Describe the problem I’m trying to get certain messages from a channel. The way I had it configured with HTTP node was by making a request to this URL: https://slack.com/api/conversations.history?channel={{ $(‘get_all_m…

    Open topic
  • Ignas

    Scalable Slack triggers set up

    Ignas

    Describe the problem/error/question Hey Community, we recently rolled out N8N company wide and we are missing is scalable solution to Slack trigger set up. The problem is that for every workflow that we create in N8N we …

    Open topic
  • Sergiy B.

    Slack node token rotation issue

    Sergiy B.

    Describe the problem/error/question I have a Opt in option switched on in the Slack app, so tokens are rotating every 12 hours, but there is no way I found in n8n to make dynamik access tocken to be applied, so every 12…

    Open topic

Looking to integrate Slack and VirusTotal in your company?

Trusted by teams building smarter workflows.

Why

Why use n8n to integrate PagerDuty with Slack

Handle branching, merging and iteration easily. Pause your workflow to wait for external events.

Re-run single steps to test changes in no time. And pin your data to avoid generating trigger events every time you execute.

Your data is displayed alongside your settings, making edge cases easy to track down.

Use 1000+ workflow templates available from our core team and our community.

Copy and paste, easily import and export workflows.

Simple enough to 
understand + sophisticated 
enough to ship