Automation library · Content

Draft and track incident postmortems with OpenAI

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

LargeCalls a model: OpenAI

30 stepsLarge: read it before trusting it with anything live
4Branches: places the flow splits
0Loops or waits
4Services it connects to

The flow

Starts it 3Model 4Logic 9Service 14

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

  1. 1When Incident Report SubmittedForm triggerStarts it
  2. 2OpenAI DeepSeek ModelLm Chat Open AiModel
  3. 3Weekly Follow-up TriggerSchedule triggerStarts it
  4. 4Monthly RCA Trend TriggerSchedule triggerStarts it
  5. 5OpenAI Monthly RCA ModelLm Chat Open AiModel
  6. 6Normalize Incident DataSetLogic
  7. 7AI Postmortem WriterAgentModel
  8. 8Read Open Action ItemsGoogle SheetsService
  9. 9Read PostmortemsGoogle SheetsService
  10. 10Summarize Monthly RCA TrendsAgentModel
  11. 11Validate Incident InputIfLogic
  12. 12Parse Postmortem JSONSetLogic
  13. 13Prepare Weekly Follow-upCodeLogic
  14. 14Filter Current MonthCodeLogic
  15. 15Send Monthly RCA ReportTelegramService
  16. 16Acknowledge Reporter by EmailGmailService
  17. 17Alert Invalid Report on DiscordDiscordService
  18. 18Append Postmortem to LogGoogle SheetsService
  19. 19Email Postmortem to StakeholdersGmailService
  20. 20If High or Critical SeverityIfLogic
  21. 21If No Open ItemsIfLogic
  22. 22Email Reporter about Invalid ReportGmailService
  23. 23Extract Action ItemsCodeLogic
  24. 24Alert On-Call on DiscordDiscordService
  25. 25Post Postmortem Digest on DiscordDiscordService
  26. 26Discord All ClearDiscordService
  27. 27If Item Is OverdueIfLogic
  28. 28Append Action Items to SheetGoogle SheetsService
  29. 29Email Overdue Reminder to OwnerGmailService
  30. 30Alert Overdue on DiscordDiscordService

How it's built

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

Questions

What does it need to run?

An n8n account, plus your own Discord, Gmail, Google Sheets and Telegram 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 30 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 30 steps before you point it at anything that matters.