Яндекс.Метрика

How do you run incident reviews and write postmortems?

The easiest place to build a postmortem from is the thread where the team worked the outage: it already has the alert time, what the on-call engineer did and when service came back. An AI agent in Pachca turns that thread into a draft from your template, with a summary, timeline, root causes and action items, and the team reviews it. Once it’s approved, the agent publishes the review to the Postmortems chat and sets reminders for everyone who owns an action item. Walk through it yourself below, from resolved outage to published review.

On-call

7 members · Grafana, AI agent

Yesterday
GrafanaBot03:12

🔴 Firing · DiskSpaceLow

Less than 10% free space left on db-2

https://grafana.company.ru/d/db/postgres?viewPanel=7

grafana.company.ru

Free space, % · db-2

Free space, % · db-20%10%20%30%02:4002:5003:0003:10
👀1✅1
GrafanaBot03:41

✅ Resolved · DiskSpaceLow

Less than 10% free space left on db-2

https://grafana.company.ru/d/db/postgres?viewPanel=7

grafana.company.ru

Free space, % · db-2

Free space, % · db-20%10%20%30%03:1003:2003:3003:40
Today
Member avatar
Nathan Bell09:30

On call this week: @a.hill, backup: @o.grant. Whoever picks up an alert reacts with 👀 and posts what they’re doing in the thread. Once “Resolved” comes in, react to the alert with ✅

GrafanaBot14:07

🔴 Firing · HighErrorRate

5xx error rate on api-gateway is above 5%

https://grafana.company.ru/d/api-gw/api-gateway?viewPanel=4

grafana.company.ru

5xx errors, % · api-gateway

5xx errors, % · api-gateway0%5%10%15%13:4013:5014:0014:10
👀1✅1
GrafanaBot14:19

✅ Resolved · HighErrorRate

5xx error rate on api-gateway is above 5%

https://grafana.company.ru/d/api-gw/api-gateway?viewPanel=4

grafana.company.ru

5xx errors, % · api-gateway

5xx errors, % · api-gateway0%5%10%15%13:5014:0014:1014:20

Thread

Comments

🚨 On-call

GrafanaBotToday, 14:07

🔴 Firing · HighErrorRate

5xx error rate on api-gateway is above 5%

https://grafana.company.ru/d/api-gw/api-gateway?viewPanel=4

grafana.company.ru

5xx errors, % · api-gateway

5xx errors, % · api-gateway0%5%10%15%13:4013:5014:0014:10
👀1✅1
Today
Member avatar
Andrew Hill14:08

Looks like release 2.14. Rolling back

Member avatar
Olivia Grant14:16

Rollback is live, errors are almost gone. Payments are going through, checked on prod

Member avatar
Andrew Hill14:31

Found the cause: 2.14 cut the payment gateway timeout from 10 seconds to 1. Staging has a stub instead of the gateway, so the tests passed

Member avatar
Olivia Grant14:34

Let’s run a payment smoke test against the real gateway before every release

Why run incident reviews in your team chat

Postmortems tend to get pushed back, and a week later nobody remembers when the release was rolled back or why the tests missed it. The review gets written from memory in a wiki, discussed in direct messages, and the next steps end up as bullet points with no owner. In Pachca, the review comes together from the thread while the outage is still fresh, and it lives right next to your alerts.

  • The timeline is already written. The alert time, the on-call engineer’s first moves and the recovery are all in the thread, down to the minute. The agent carries them into the review, so nobody has to reconstruct events from memory.
  • The draft is ready while the outage is fresh. The agent builds it from your template right after recovery. All the team has to do is check the facts and answer the open questions.
  • Blameless by design. The template asks what in the process let the outage happen. The causes list a release, a timeout and a stub on staging, not names, so people can talk openly about what they did.
  • Every action item has an owner and a due date. The agent sets reminders for the action items, and they reach the owners on the due date. A week later, you can see what got done.
  • All reviews in one chat. Postmortems are listed in a feed in the Postmortems chat, and you can find them by searching for a service or alert name. Each one is discussed in its own thread, where you can loop in a developer from another team.
  • Team leads see the big picture. How many outages there were this month, which ones keep coming back and which action items are stuck: it’s all visible in the chat, no separate report needed.

How to set up postmortems in Pachca

You'll need a chat for reviews and an AI agent that reads threads. There are several ways to build the agent: with no code in n8n, with Claude Code or Cursor and Pachca skills, or as your own service on the API. We cover them in the "How do you build an AI agent without code?" use case.

In Pachca

  1. 1

    Create a chat for reviews

    Click + next to search, select Chat and name it "Postmortems." Add your on-call engineers, team leads and service developers.
  2. 2

    Add the agent to the chats

    In the On-call and Postmortems chat settings, click Add members, go to the Integrations tab and select the agent's bot. The bot only sees the chats it's been added to.
  3. 3

    Give the agent a review template

    List the postmortem sections in the prompt: summary, timeline, why it happened, next steps with owners and due dates, and open questions. We use the same structure for the reviews of our own outages in our incident history. The agent posts the draft in the thread, and after a ✅ it publishes it to Postmortems and sets reminders for the owners.

In your team

  1. 4

    Agree on the rules

    For example, write a postmortem within two business days after any outage users noticed. The on-call engineer or team lead reviews the draft and reacts with ✅. Causes name processes and systems, not people. The review is discussed in its thread in Postmortems.