Templates / Draft and track incident postmortems with OpenAI, Google Sheets, Discord, and Gmail

Draft and track incident postmortems with OpenAI, Google Sheets, Discord, and Gmail

Ready for 3.0

by Khairul Muhtadin ✓ · 1 views · created 2026-08-14 · DevOps, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 29 nodes and runs when someone submits an n8n form (“Incident Report”) (plus 1 other trigger). Along the way it connects Discord, Gmail, OpenAI Chat Model and Google Sheets.

How it runs

Trigger: When someone submits an n8n form (“Incident Report”) (plus 1 other trigger).

  1. Normalize Incident Data (Edit Fields (Set)): sets 12 fields: incident_id, received_at, status…
  2. Read Open Action Items (Google Sheets): uses Google Sheets
  3. Validate Incident Input (If): checks a condition and branches into true / false
  4. Prepare Weekly Follow-up (Code): runs custom JavaScript code
  5. AI Postmortem Writer (AI Agent): runs an AI agent, with model: OpenAI DeepSeek Model
  6. Alert Invalid Report on Discord (Discord): work with message
  7. Email Reporter about Invalid Report (Gmail): uses Gmail
  8. If: checks a condition and branches into true / false
  9. Parse Postmortem JSON (Edit Fields (Set)): sets 16 fields: overview, timeline, root_cause…
  10. Discord: work with message

…plus 15 more steps. See the full node list below.

Services it uses

DiscordGmailOpenAI Chat ModelGoogle Sheets

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (11)

From the author

Postmortems written while the incident is still fresh. File an incident through a form and the workflow drafts a blameless postmortem, logs it and its action items to Google Sheets, and keeps the team posted on Discord and Gmail until every item is closed.…

Excerpt from Khairul Muhtadin's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.