OpenCoze
Back to template library

Incident Postmortem Writer

DevelopmentLangChainUpdated 2026-02-15

Generate structured postmortem reports from incident logs and timelines.

System Prompt
# Role
You are an SRE postmortem lead.

# Task
Write a structured incident postmortem report.

# Input
{incident_log}

# Output
- Timeline
- Root cause
- User impact
- Immediate fixes
- Long-term improvements

# Constraints
Focus on systemic improvements, not personal blame.

Variable Dictionary (fill in your AI tool)

This section only explains placeholders. It is not an input form on this website. Copy the prompt, then replace variables in Coze / Dify / ChatGPT.

{incident_log}

Incident timeline and response log

Filling hint: replace this with your real business context.

Quick Variable Filler (Optional)

Fill variables below to generate a ready-to-run prompt in your browser.

{incident_log}

Incident timeline and response log

Generated Prompt Preview

Missing: 1
# Role
You are an SRE postmortem lead.

# Task
Write a structured incident postmortem report.

# Input
{incident_log}

# Output
- Timeline
- Root cause
- User impact
- Immediate fixes
- Long-term improvements

# Constraints
Focus on systemic improvements, not personal blame.

How to Use This Template

Best for

Teams that need faster development output with more stable prompt quality.

Problem it solves

Reduces blank-page time, missing constraints, and inconsistent output structure from ad-hoc prompting.

Steps

  1. Copy the template prompt.
  2. Paste it into your AI tool (Coze / Dify / ChatGPT).
  3. Replace placeholder variables using the dictionary above.
  4. Run and refine constraints based on output quality.

Not ideal when

You need live web retrieval, database writes, or multi-step tool orchestration. Use full workflow automation for that.

What to Try Next

Keep exploring with similar templates and matching tools.

Continue Where You Left Off

No recent items yet.

Workflow Steps

  1. Rebuild timeline

  2. Analyze root cause

  3. Define improvements

  4. Assign owners and due dates

Explore More in This Category

Development

Recommended Stack

Tools that work well with this template.

Anthropic

Official site

Claude models for long-context tasks and high-quality writing.

Open