Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,15 @@
"zh/on-call/incident/outlier-incidents"
]
},
{
"group": "故障复盘",
"pages": [
"zh/on-call/post-mortem/what-is-post-mortem",
"zh/on-call/post-mortem/create-edit-post-mortem",
"zh/on-call/post-mortem/ai-generate-post-mortem",
"zh/on-call/post-mortem/manage-templates"
]
},
{
"group": "状态页",
"pages": [
Expand Down Expand Up @@ -473,6 +482,15 @@
"en/on-call/incident/outlier-incidents"
]
},
{
"group": "Post-Mortem",
"pages": [
"en/on-call/post-mortem/what-is-post-mortem",
"en/on-call/post-mortem/create-edit-post-mortem",
"en/on-call/post-mortem/ai-generate-post-mortem",
"en/on-call/post-mortem/manage-templates"
]
},
{
"group": "Status Page",
"pages": [
Expand Down
69 changes: 69 additions & 0 deletions en/on-call/post-mortem/ai-generate-post-mortem.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
title: "AI-Assisted Post-Mortem Generation"
description: "Let AI generate a post-mortem report draft based on your incident data, dramatically reducing the manual effort of writing from scratch."
keywords: ["AI generation", "smart post-mortem", "auto-generate", "incident analysis", "AI-assisted"]
---

## Let AI Write the First Draft

The hardest part of writing a post-mortem is often getting started — staring at a blank page, unsure where to begin.

Flashduty's AI-assisted generation can help you get past that. It analyzes all the context around the linked incident and, following the template's section structure, produces a complete first draft. All you need to do is adjust the wording, fill in details, and add your team's conclusions.

<Note>
The post-mortem feature is available on the Professional plan only.
</Note>

## How to Use

<Steps>
<Step title="Create a Post-Mortem Report">
Create a post-mortem report. AI will begin generating content and display it in the editor in real time.
</Step>

<Step title="Refine the Draft">
Once generation is complete, you can edit, trim, or add to the content directly in the editor. Other team members can join and edit simultaneously.
</Step>
</Steps>

## What Data Does AI Use

AI doesn't write in a vacuum — it analyzes the following data to generate the report:

| Data Source | Description |
| :--- | :--- |
| Template structure | Organizes content according to the sections in your chosen template |
| Incident details | Labels, custom fields, severity, responders, and more |
| Response timeline | Actions taken and status changes during incident handling |
| War room chat logs | Discussion content from Feishu or Slack war rooms related to the incident |

<Note>
To provide the AI with complete incident lifecycle context for generating post-mortem reports, your IM war room integration requires additional permissions to read war room chat logs.

1. Feishu integration requires the `im:message.group_msg` scope.
2. Slack integration requires the `channels:history` scope.

Please update your app permissions or reauthorize. Refer to the integration documentation for details. Due to platform API limitations, WeCom and Dingtalk do not currently support war room chat log extraction.
</Note>

## Usage Limits

To ensure service quality, AI generation has the following limits:

| Constraint | Details |
| :--- | :--- |
| Generation frequency | Up to 5 times per minute per account |
| Concurrency | Only 1 generation task per report at a time |

If you see a rate limit message, wait a moment and try again. If a message indicates someone else is generating, wait for them to finish.

## Tips for Better AI Output

- **Pick the right template**: AI strictly follows the template's section structure. A well-organized template leads to a well-organized report.
- **Enrich your incident context**: Labels, custom fields, and the response timeline are the primary inputs for AI analysis. The more complete they are, the deeper the generated report will be.
- **Leverage your IM integration**: If your team discussed root causes and remediation in a Feishu or Slack war room, those conversations will be factored into the AI's analysis for a more accurate report.
- **Treat AI as a starting point, not the finish line**: The AI draft is a great foundation, but the final report should include your team's in-depth discussion, genuine root cause consensus, and actionable improvement plans.

## Time Display

Time information in the post-mortem report automatically adapts to your timezone settings, ensuring team members in different regions see accurate local times.
89 changes: 89 additions & 0 deletions en/on-call/post-mortem/create-edit-post-mortem.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
---
title: "Create and Edit Post-Mortem Reports"
description: "Learn how to create a post-mortem report from an incident, collaborate with your team using the online editor, and publish and manage reports."
keywords: ["create post-mortem", "edit post-mortem", "collaborative editing", "publish post-mortem", "delete post-mortem", "image upload"]
---

## Create a Post-Mortem Report

Once an incident has been closed, you can begin the post-mortem process.

<Steps>
<Step title="Select an Incident">
From the incident list or incident detail page, select the incident you want to review.
</Step>

<Step title="Choose a Template">
Pick a post-mortem template to define the report's section structure. The system provides built-in templates in Chinese and English, or you can choose a custom template created by your team.
</Step>

<Step title="Create with One Click">
Click "Create Post-Mortem Report" and the system will automatically extract severity, response time, responders, and other key information from the incident, generate a draft report, and take you to the editor.
</Step>
</Steps>

<Note>
Currently, each incident can only have one post-mortem report. If the incident already has a report, the system will open the existing one.
</Note>

## Online Collaborative Editing

Once you open the report, you'll enter an online collaborative editor. If you've used Google Docs, Notion, or Feishu Docs before, this will feel very familiar — multiple team members can edit the same report simultaneously, with all changes visible in real time.

The editor auto-saves your work, so there's no need to manually click save.

### Inserting Images

While editing, you can paste or drag images directly into the editor — monitoring dashboard screenshots, architecture diagrams, or any other key visuals.

| Constraint | Details |
| :--- | :--- |
| Supported formats | JPEG, PNG, WebP, GIF |
| Max size per image | 4 MB |
| Max images per report | 100 |

## Refining Report Details

Beyond the report body, there are a few other important fields to pay attention to:

### Title

The system auto-generates a default title based on the linked incident's title. You can edit it directly at the top of the editor to something more precise, such as "2026-03-15 Payment Service Timeout Causing Order Failures". The maximum title length is 256 characters.

### Key Metrics

The key metrics panel shows the critical indicators for this incident. You can adjust them based on the actual situation:

| Field | Description |
| :--- | :--- |
| Highest severity | The peak severity level of this incident |
| Earliest start time | When the incident was first triggered |
| Latest close time | When the incident was last closed |
| Total duration | The combined duration of all linked incidents |
| Responders | People who participated in handling the incident |

### Follow-Up Items

Follow-up items are for recording action items that come out of the review — things like "optimize database connection pool settings" or "add cache circuit breaker". Follow-ups can be edited at any time, whether the report is in draft or published status.

## Publishing and Managing

### Publish a Report

Once the team has confirmed the content, click the "Publish" button to switch the report from draft to published.

<Tip>
Publishing isn't the end of the road. If new findings emerge or corrections are needed later, just switch back to draft, make your changes, and republish.
</Tip>

### Finding Reports

In the post-mortem report list, you can filter by status, team, channel, and creation date range, with sorting by creation time or last updated time.

### Deleting a Report

If a report is truly no longer needed, you can delete it from the report detail page.

<Warning>
Deletion is irreversible. Please proceed with caution.
</Warning>
93 changes: 93 additions & 0 deletions en/on-call/post-mortem/manage-templates.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
---
title: "Manage Post-Mortem Templates"
description: "Use templates to standardize your team's post-mortem process and ensure every review covers the key information."
keywords: ["post-mortem template", "template management", "custom template", "built-in template", "template editing"]
---

## Why Templates

Having to think from scratch about "what should we cover" every time you write a post-mortem is both time-consuming and error-prone. Templates solve this by defining sections and guidelines upfront, so every report follows a consistent structure — and giving AI a clear framework to generate content from.

<Note>
The post-mortem feature is available on the Professional plan only.
</Note>

## Built-In Templates

The system comes with two ready-to-use built-in templates:

| Template | Language | Sections |
| :--- | :--- | :--- |
| 默认故障复盘报告模板 | Chinese | Summary, Root Cause, Impact, Timeline, Corrective Actions, Lessons Learned |
| Default Post Mortem Report Template | English | Summary, Root Cause, Impact, Timeline, Corrective Actions, Lessons Learned |

These two templates cover the most common sections in a post-mortem and work well for most scenarios. If your team has specific needs, you can create custom templates based on these.

<Note>
Built-in templates cannot be modified or deleted.
</Note>

### What Each Section Is For

| Section | What Question Does It Answer |
| :--- | :--- |
| **Summary** | What happened? A few sentences to give anyone not involved a quick overview |
| **Root Cause** | Why did it happen? What were the direct and underlying causes |
| **Impact** | How many users were affected, which services, and for how long |
| **Timeline** | From detection to recovery — what was done and when |
| **Corrective Actions** | What will be done next to prevent similar issues |
| **Lessons Learned** | What did the team take away from this experience |

## Creating Custom Templates

If the built-in templates don't fully meet your needs — say your team wants to add a "Customer Communication Log" or "Cost Impact Assessment" section — you can create custom templates.

<Steps>
<Step title="Go to Template Management">
On the post-mortem report page, click "Template Management".
</Step>

<Step title="Fill in Basic Information">

| Field | Required | Description |
| :--- | :---: | :--- |
| Template name | Yes | Give it a clear name, such as "Payment Team Post-Mortem Template" |
| Template description | No | Briefly describe what scenarios this template is for |
| Owning team | Yes | Select the team responsible for maintaining this template |
| Template content | Yes | Define the section structure in the editor |
</Step>

<Step title="Design the Section Structure">
Define your template sections in the editor. We recommend using H2 headings for section titles and adding a quote block under each one as a writing guide to tell authors what that section should cover.
</Step>

<Step title="Save">
Click "Save" to finish. The new template will immediately appear in the template list and be available for all users when creating post-mortem reports.
</Step>
</Steps>

<Tip>
The template's section structure also serves as the framework for AI-generated content, so clear section definitions don't just help people write better — they also make the AI's output more targeted.
</Tip>

## Editing and Deleting Templates

Click any custom template in the template list to edit its name, description, owning team, or content. Templates that are no longer needed can be deleted.

<Tip>
Deleting a template does not affect any post-mortem reports that were already created using it.
</Tip>

## Who Can Manage Templates

Anyone can create a template, but editing and deleting are controlled by team ownership:

| Role | Edit and Delete |
| :--- | :--- |
| Account-level user / Account admin | Can manage all templates |
| Members of the template's owning team | Can manage their team's templates |
| Other users | Can view and use only, cannot edit or delete |

<Tip>
While editing and deleting have permission restrictions, all users can choose any template when creating a post-mortem report — including custom templates created by other teams.
</Tip>
82 changes: 82 additions & 0 deletions en/on-call/post-mortem/what-is-post-mortem.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
---
title: "What is a Post-Mortem"
description: "A post-mortem is a systematic review and analysis conducted after an incident has been resolved, helping teams learn from what happened and prevent similar issues from recurring."
keywords: ["post-mortem", "incident review", "post-incident analysis", "post-mortem report", "continuous improvement"]
---

## Why Post-Mortems Matter

After an incident is resolved, does your team breathe a sigh of relief and move on?

If you don't take the time to review and reflect, the same issues are likely to resurface in a different form. A post-mortem is about helping your team step back after the dust settles and systematically answer three questions: **What happened, why it happened, and how to prevent it from happening again.**

Flashduty integrates post-mortems directly into your incident management workflow — create a report from the incident detail page with one click, let AI draft the initial content, collaborate with your team to refine it, and produce an archivable, traceable post-mortem report.

<Note>
The post-mortem feature is available on the Professional plan only.
</Note>

## What Does a Post-Mortem Report Look Like

A typical post-mortem report contains:

- **Linked incident**: Which incident this report is written for
- **Key metrics**: Severity, incident time range, duration, and responders
- **Report body**: A detailed analysis organized by template sections — typically including summary, root cause analysis, impact, timeline, corrective actions, and lessons learned
- **Follow-up items**: Action items that need to be carried out after the review
- **Author list**: Everyone who contributed to writing the report

### Report Status

A post-mortem report has two statuses:

| Status | Meaning |
| :--- | :--- |
| **Draft** | The report is still being written and can be freely edited |
| **Published** | The report is finalized and available for the team to review |

<Tip>
You can switch between draft and published at any time. If you need to add something after publishing, simply switch back to draft, make your changes, and republish.
</Tip>

### Ownership

When a post-mortem report is created, it automatically inherits the channel and team from the linked incident, making it easy to manage and browse reports by team.

## What Makes Flashduty Post-Mortems Different

### AI Writes the First Draft

No more staring at a blank page. Click **Generate Post-Mortem Report**, and the system will analyze the incident's alert data, response timeline, and even war room discussions to produce a complete first draft. All you need to do is refine and supplement it.

### Collaborate Like an Online Document

Multiple team members can open and edit the same report simultaneously — changes are visible in real time with no conflicts.

### Standardize with Templates

The system provides built-in templates in both Chinese and English, and you can create custom templates tailored to your team. Consistent templates ensure that no critical section is missed in any post-mortem.

### Rich Media Support

The editor supports pasting or dragging images directly, making it easy to include monitoring screenshots, architecture diagrams, or other key visuals in your report.

## A Complete Post-Mortem Workflow

<Steps>
<Step title="Create a Report from an Incident">
From the incident detail page, select the incident and a template, then create a post-mortem report with one click. The system automatically extracts key information from the incident as the report's baseline data.
</Step>

<Step title="Write the Report">
Use the online editor to write the report body — let AI generate the first draft, then collaborate with your team to refine it. You can also edit the title, key metrics, and follow-up items.
</Step>

<Step title="Publish">
Once the content is confirmed, click publish.
</Step>

<Step title="Ongoing Follow-Up">
If you need to add or correct information after publishing, you can switch back to draft at any time. Reports that are no longer needed can be deleted, and the system will automatically clean up all associated data.
</Step>
</Steps>
Loading