Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

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

  1. When Incident Report Submitted
  2. Normalize Incident Data
  3. Validate Incident Input
  4. Acknowledge Reporter by Email
  5. AI Postmortem Writer
  6. OpenAI DeepSeek Model
  7. Parse Postmortem JSON
  8. Append Postmortem to Log
  9. Extract Action Items
  10. Append Action Items to Sheet
  11. Email Postmortem to Stakeholders
  12. If High or Critical Severity
  13. Alert On-Call on Discord
  14. Post Postmortem Digest on Discord

30 steps in total.

Similar automations