π Description:
This workflow automates the incident response lifecycle β from creation to communication and archival.
It instantly creates Jira tickets for new incidents, alerts the on-call Slack team, generates timeline reports, logs the status in Google Sheets, and archives documentation to Google Drive β all automatically.
It helps engineering and DevOps teams respond faster, maintain audit trails, and ensure no incident details are lost, even after Slack or Jira history expires.
βοΈ What This Workflow Does (Step-by-Step)
- π’ Manual Trigger β Start the incident creation and alerting process manually on demand.
- π·οΈ Define Incident Metadata β Sets up standardized incident data (Service, Severity, Description) used across Jira, Slack, and Sheets for consistent processing.
- π« Create Jira Incident Ticket β Automatically creates a Jira task with service, severity, and description fields.
- Returns a unique Jira key and link for tracking.
- β
Validate Jira Ticket Creation Success β Confirms the Jira ticket was successfully created before continuing.
- True Path: Proceeds to Slack alerts and documentation flow.
- False Path: Logs the failure details to Google Sheets for debugging.
- π¨ Log Jira Creation Failures to Error Sheet β Records any Jira API errors, permission issues, or timeouts to an error log sheet for reliability monitoring.
- π Combine Incident & Jira Data β Merges incident context with Jira ticket data to ensure all details are unified for downstream notifications.
- π¬ Format Incident Alert for Slack β Generates a rich Slack message containing Jira key, service, severity, and description with clickable Jira links.
- π’ Alert On-Call Team in Slack β Posts the formatted message directly to the #oncall Slack channel to instantly notify engineers.
- π Generate Incident Timeline Report β Parses Slack message content to create a detailed incident timeline including timestamps, service, severity, and placeholders for postmortem tracking.
- π Convert Timeline to Text File β Converts the generated timeline into a structured .txt file for archival and compliance.
- βοΈ Archive Incident Timeline to Drive β Uploads the finalized incident report to Google Drive (βIncident Reportsβ folder) with timestamped filenames for traceability.
- π Log Incident to Status Tracking Sheet β Appends Jira key, service, severity, and timestamp to the βstatus updateβ Google Sheet to build a live incident dashboard and enable SLA tracking.
π§© Prerequisites
Jira account with API access
Google Sheets for βstatus updateβ and βerror logβ tracking
Slack workspace connected via API credentials
Google Drive access for archival
π‘ Key Benefits
β
Instant Slack alerts for new incidents
β
Centralized Jira ticketing and tracking
β
Automated timeline documentation for audits
β
Seamless Google Drive archival and status logging
β
Reduced MTTR through faster communication
π₯ Perfect For
DevOps and SRE teams managing production incidents
Engineering managers overseeing uptime and reliability
Organizations needing automated post-incident documentation
Teams focused on SLA adherence and compliance reporting