Draft and track incident postmortems with OpenAI, Google Sheets, Discord, and Gmail
Ready for 3.0What 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).
- Normalize Incident Data (Edit Fields (Set)): sets 12 fields: incident_id, received_at, status…
- Read Open Action Items (Google Sheets): uses Google Sheets
- Validate Incident Input (If): checks a condition and branches into true / false
- Prepare Weekly Follow-up (Code): runs custom JavaScript code
- AI Postmortem Writer (AI Agent): runs an AI agent, with model: OpenAI DeepSeek Model
- Alert Invalid Report on Discord (Discord): work with message
- Email Reporter about Invalid Report (Gmail): uses Gmail
- If: checks a condition and branches into true / false
- Parse Postmortem JSON (Edit Fields (Set)): sets 16 fields: overview, timeline, root_cause…
- Discord: work with message
…plus 15 more steps. See the full node list below.
Services it uses
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)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Discord
n8n-nodes-base.discord - Gmail
n8n-nodes-base.gmail - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Summarize
n8n-nodes-base.summarize
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.…