Automation library · Content

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.

LargeCalls a model: OpenAI

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

The flow

Starts it 2Model 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. 4OpenAI DeepSeek Weekly ModelLm Chat Open AiModel
  5. 5Normalize Incident DataSetLogic
  6. 6AI Postmortem WriterAgentModel
  7. 7Read Open Action ItemsGoogle SheetsService
  8. 8AI Weekly Digest WriterAgentModel
  9. 9Validate Incident InputIfLogic
  10. 10Parse Postmortem JSONSetLogic
  11. 11Prepare Weekly Follow-upCodeLogic
  12. 12Parse Weekly Digest JSONSetLogic
  13. 13Alert Invalid Report on DiscordDiscordService
  14. 14Email Reporter about Invalid ReportGmailService
  15. 15Append Postmortem to LogGoogle SheetsService
  16. 16Email Postmortem to StakeholdersGmailService
  17. 17If High or Critical SeverityIfLogic
  18. 18If No Open ItemsIfLogic
  19. 19Email Weekly Action Item DigestGmailService
  20. 20Extract Action ItemsCodeLogic
  21. 21Alert On-Call on DiscordDiscordService
  22. 22Post Postmortem Digest on DiscordDiscordService
  23. 23Discord All ClearDiscordService
  24. 24If Item Is OverdueIfLogic
  25. 25Build Open Item SummarySummarizeService
  26. 26Post Weekly Digest on DiscordDiscordService
  27. 27Append Action Items to SheetGoogle SheetsService
  28. 28Email Overdue Reminder to OwnerGmailService
  29. 29Alert Overdue on DiscordDiscordService

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.