Library / Monitoring, Ops & Incidents
Monitoring, Ops & Incidents
Coordinate outage incidents across Slack, email and Postgres from monitoring alerts
Turns alerts posted to a webhook into one incident per service, opens a Slack war room and pages owners by severity. Runs whenever a monitoring alert arrives.
What it does
## Business Continuity: Automatic Team Coordination During Outages ### How it works Turns a monitoring alert into a coordinated response without anyone having to organize it by hand. 1. Declare: an alert (POST /bc-alert, simple JSON or Prometheus Alertmanager) opens one incident per service. Further alerts for the same service attach to it, so there are no duplicate war rooms. 2. Coordinate: a Slack war room is created and gets the brief, first-response checklist and runbook. Who is paged depends on severity: the service owner always, dependent teams and customer communications from SEV2, executives on SEV1. Each person gets an email with their own acknowledge link. 3. Acknowledge: the first responder to click becomes incident commander and escalation stops. 4. Escalate: with no acknowledgement (SEV1 5 min, SEV2 15, SEV3 60) it moves up: team lead, engineering director, CTO. 5. Keep everyone informed: SEV1 gets a stakeholder update every 30 minutes, SEV2 every 60, built from the incident timeline. 6. Resolve: the commander calls POST /bc-resolve with a summary. Duration is posted, stakeholders are emailed and a post-incident review due date is set. Everything is written to an incident timeline table for the review. ### Setup steps - Add Postgres, SMTP (email) and Slack credentials (Header Auth Authorization: Bearer xoxb-... with channels:manage and chat:write scopes), then run the manual setup once. - Edit Set Continuity Config: your n8n webhook base URL, sender email, default Slack channel id, executive, comms and stakeholder emails, ack and update timings. - Replace the demo teams and services with your own. - Point your monitoring at POST /bc-alert with {"service":"payments-api","title":"High error rate","severity":"critical","description":"..."} and activate the workflow. ### Layout 1 Setup 2-4 Entry, intake and declaration 5-6 Acknowledge and resolve 7-9 Monitor, escalate and status updates
The steps
- Manual Trigger - Run Setup Once
- Postgres - Create Continuity Tables
- Webhook - Incident Alert
- Webhook - Acknowledge Incident
- Webhook - Resolve Incident
- Schedule Trigger - Every 5 Minutes
- Set Continuity Config
- Switch - Route By Entry Point
- Code - Normalize Alert
- Switch - Alert Type
- Postgres - Open Or Attach Incident
- Respond - Alert Accepted
- Is New Incident?
- Postgres - Log Recovery Signal
50 steps in total.
Similar automations
RAG & Knowledge BasesDraft Power Outage SMS Notices with OpenAI RAG10 stepsLead Generation & EnrichmentCoordinate Lemlist Outreach with HubSpot Contacts and Slack Alerts12 stepsMonitoring, Ops & IncidentsSend Website Downtime Alerts to LINE with GPT-4o Mini12 stepsMonitoring, Ops & IncidentsRoute Incident Webhooks to Jira, PagerDuty and Mattermost6 steps