AI AGENTS

PagerDuty Incident Runbook: Propose Fix, Wait for Approval

When a high-urgency PagerDuty incident fires, an agent reads the matching runbook, drafts the exact remediation steps.

CategoryAI Agents
Enginepaperclip
Difficultyadvanced
Triggerevent
Steps6
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerPagerDuty incident createdPagerDutyPagerDuty
  • LogicKeep only high-urgency incidents
  • ActionFetch matching runbook from ConfluenceConfluenceConfluence
  • ActionAgent drafts remediation steps + rollback
  • OutputPost plan to Slack with Approve/RejectSlack
  • ActionOn approval, execute via shellShell

What it does

Turns a paged incident into a concrete, reviewable remediation plan. The agent matches the alert to your runbook library, writes out the precise commands and their expected effect, and pauses for a human to approve or reject in Slack. Nothing is executed without an explicit yes.

When to use it

Use this when your on-call rotation handles recurring incident types (disk full, stuck queue, hung worker) that have documented fixes, but you are not yet comfortable letting automation act unsupervised. It compresses the diagnosis-and-draft phase while keeping a human in the loop for the action.

How it works

  1. 1A PagerDuty incident triggers the flow with its title, service, and urgency.
  2. 2A logic step filters to high-urgency incidents only; low-urgency ones are dropped.
  3. 3The agent fetches the candidate runbook from Confluence and matches it to the alert signature.
  4. 4It drafts step-by-step remediation with the exact shell commands and rollback notes.
  5. 5The plan is posted to the incident's Slack channel with Approve / Reject controls.
  6. 6On approval, the shell action executes the steps and the final result is posted back to Slack.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect PagerDutyIncidents, on-call, escalations.
  2. 2
    Connect ConfluenceSpaces, pages, blueprints.
  3. 3
    Connect SlackChannels, DMs, threads, mentions.
  4. 4
    Connect ShellRun sandboxed commands inside the workspace.
  5. 5
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  6. 6
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  7. 7
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.