Library / Monitoring, Ops & Incidents
Monitoring, Ops & Incidents
Draft incident postmortems with OpenAI and log them to Google Sheets
Runs when an incident form is submitted, emails the reporter an ID, drafts a structured postmortem with OpenAI, logs it and action items to Google Sheets, and alerts Discord.
What it does
## Automate incident postmortems with AI, Google Sheets, Discord and Gmail ### How it works 1. A team member submits an incident report through the hosted form (what happened, severity, impacted service, suspected cause). 2. The reporter gets an immediate acknowledgment email with the incident ID. 3. The workflow validates the report, then an AI agent drafts a structured postmortem with overview, timeline, root cause (classified by type), impact, SLA hours and action items. 4. The postmortem is saved to Google Sheets with root cause type and SLA, action items are tracked in their own sheet, and stakeholders get the full draft by email. 5. High or critical incidents trigger an urgent Discord alert; other incidents get a digest post. 6. Every Monday the workflow reviews open action items, emails owners about overdue items, and alerts the team on Discord. 7. On the 1st of each month, a reliability report summarizes incident trends by root cause type and service. ### Setup - Connect Google Sheets, Gmail, Discord, and OpenAI credentials. - Create a spreadsheet with Postmortems and ActionItems sheets, then update the two Google Sheets nodes. - Update the Discord channel and the stakeholder email addresses in the Gmail nodes. ### Customization - Change the form fields, the AI prompt, the severity thresholds, or the weekly and monthly schedules to match your process.
The steps
- When Incident Report Submitted
- Normalize Incident Data
- Validate Incident Input
- Acknowledge Reporter by Email
- AI Postmortem Writer
- OpenAI DeepSeek Model
- Parse Postmortem JSON
- Append Postmortem to Log
- Extract Action Items
- Append Action Items to Sheet
- Email Postmortem to Stakeholders
- If High or Critical Severity
- Alert On-Call on Discord
- Post Postmortem Digest on Discord
30 steps in total.
Similar automations
Customer Support & HelpdeskLook Up ServiceNow Incident Details from a Webhook44 stepsAlerts & NotificationsEmail an Incident Log from a GitHub Issue4 stepsMonitoring, Ops & IncidentsSend n8n workflow failure alerts to Discord and log them in Data Table7 stepsMonitoring, Ops & IncidentsTrack game prices from Discord slash commands using IsThereAnyDeal and Discord40 steps