# Draft and track incident postmortems with OpenAI: n8n workflow

> Started by someone submitting a form, and works across Discord, Gmail and Google Sheets. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/draft-and-track-incident-postmortems-with-openai (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Content](https://millionrounds.com/workflows?category=Content#library)

# Draft and track incident postmortems with OpenAI

Started by someone submitting a form, and works across Discord, Gmail and Google Sheets. It hands the judgement calls to OpenAI. 29 steps, 4 branches: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fdraft-and-track-incident-postmortems-with-openai)

**29 steps** Large: read it before trusting it with anything live

**4** Branches: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 2 Model 4 Logic 9 Service 14

The steps in the order they run, from what starts it.

- 1 **When Incident Report Submitted** Form trigger *Starts it*
- 2 **OpenAI DeepSeek Model** Lm Chat Open Ai *Model*
- 3 **Weekly Follow-up Trigger** Schedule trigger *Starts it*
- 4 **OpenAI DeepSeek Weekly Model** Lm Chat Open Ai *Model*
- 5 **Normalize Incident Data** Set *Logic*
- 6 **AI Postmortem Writer** Agent *Model*
- 7 **Read Open Action Items** Google Sheets *Service*
- 8 **AI Weekly Digest Writer** Agent *Model*
- 9 **Validate Incident Input** If *Logic*
- 10 **Parse Postmortem JSON** Set *Logic*
- 11 **Prepare Weekly Follow-up** Code *Logic*
- 12 **Parse Weekly Digest JSON** Set *Logic*
- 13 **Alert Invalid Report on Discord** Discord *Service*
- 14 **Email Reporter about Invalid Report** Gmail *Service*
- 15 **Append Postmortem to Log** Google Sheets *Service*
- 16 **Email Postmortem to Stakeholders** Gmail *Service*
- 17 **If High or Critical Severity** If *Logic*
- 18 **If No Open Items** If *Logic*
- 19 **Email Weekly Action Item Digest** Gmail *Service*
- 20 **Extract Action Items** Code *Logic*
- 21 **Alert On-Call on Discord** Discord *Service*
- 22 **Post Postmortem Digest on Discord** Discord *Service*
- 23 **Discord All Clear** Discord *Service*
- 24 **If Item Is Overdue** If *Logic*
- 25 **Build Open Item Summary** Summarize *Service*
- 26 **Post Weekly Digest on Discord** Discord *Service*
- 27 **Append Action Items to Sheet** Google Sheets *Service*
- 28 **Email Overdue Reminder to Owner** Gmail *Service*
- 29 **Alert Overdue on Discord** Discord *Service*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 29, with 4 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Discord, Gmail, Google Sheets
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Discord, Gmail and Google Sheets accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone submitting a form.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 29 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 29 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fdraft-and-track-incident-postmortems-with-openai)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Discord](https://millionrounds.com/workflows?service=Discord#library)[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)

## Workflows like it

Also content, with the same services where possible, closest in size first.

- [**Analyze website content changes with Gemini** 29 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/analyze-website-content-changes-with-gemini)
- [**Automate ASMR glass fruit video creation & publishing with Veo** 29 steps · calls a model · Google Cloud Storage, Google Sheets](https://millionrounds.com/workflow/automate-asmr-glass-fruit-video-creation-and-publishing-with)
- [**Automate LinkedIn content creation with OpenAI and Notion** 29 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/automate-linkedin-content-creation-with-openai-and-notion)
- [**GPT-4o, RunwayML, ElevenLabs for Social Media with Gemini** 29 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/gpt-4o-runwayml-elevenlabs-for-social-media-with-gemini)
- [**Generate and publish Instagram carousels with Gemini** 29 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/generate-and-publish-instagram-carousels-with-gemini)
- [**Generate procurement knowledge base articles with Groq** 29 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/generate-procurement-knowledge-base-articles-with-groq)
