DEVOPS

PagerDuty Resolved Incident to Postmortem Stub in Confluence

When a PagerDuty incident resolves, the workflow drafts a postmortem stub in Confluence pre-filled with the timeline, responders, and duration.

CategoryDevOps
Enginesim
Difficultyintermediate
Triggerevent
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerPagerDuty incident resolvedPagerDutyPagerDuty
  • ActionPull timeline, responders, and durationPagerDutyPagerDuty
  • LogicBranch on whether postmortem is warranted
  • ActionCreate pre-filled Confluence postmortem stubConfluenceConfluence
  • OutputPost draft link to Slack with owner promptSlack

What it does

When a PagerDuty incident is resolved, this workflow assembles the facts while they're fresh and drafts a postmortem stub in Confluence. The page is pre-filled with the incident timeline, who responded, time-to-resolve, and linked alerts, leaving the team to fill in only the analysis. It then nudges the channel so the writeup actually happens.

When to use it

Use it when postmortems get skipped because starting from a blank page is friction, and the timeline details fade once the incident closes. Best for teams that owe postmortems on significant incidents and want a consistent template populated automatically.

How it works

  1. 1A PagerDuty incident transitions to resolved and fires the workflow.
  2. 2The workflow pulls the incident timeline, responders, log entries, and total duration.
  3. 3A branch checks whether the incident was high enough urgency to warrant a postmortem.
  4. 4For qualifying incidents, it creates a Confluence page from the postmortem template, pre-filling timeline, responders, and duration.
  5. 5It posts the draft postmortem link to the team's Slack channel with an owner prompt.
  6. 6The final step records the page link back on the PagerDuty incident for traceability.

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
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    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.