Dev Ops · n8n

Draft an Incident Postmortem Automatically After Resolution

Capture learnings while they're fresh. When an incident resolves, draft a postmortem from the timeline, chat and actions for the team to refine.

difficulty Advancedsetup 40 minresult Every resolved incident gets a draft postmortem, so learnings are captured instead of lost.
  1. 1

    Trigger on Resolution

    Add a PagerDuty Trigger node when an incident is resolved.

  2. 2

    Gather the Timeline

    Add a step collecting the incident timeline, chat and actions taken.

  3. 3

    Draft the Postmortem

    Add an OpenAI node producing a blameless postmortem with timeline, impact and action items.

  4. 4

    Create the Doc

    Add a Notion node saving the draft for the team to refine.

  5. 5

    Activate and Test

    Activate the workflow and resolve a test incident. Confirm the postmortem drafts.

Frequently asked questions

Does it replace the review?

No — it gives the team a factual draft so the review focuses on learnings, not writing.

Should postmortems be blameless?

Yes — prompt the AI for a blameless tone focused on systems and process, not individuals.

About this recipe. Recipes on FlowRecipesHub are written for business owners, not developers, and are tested before publishing — how recipes get made. Some ingredient links are affiliate links that cost you nothing — full disclosure.