Skip to main content

Disaster Recovery Prompt Playbook

“Break glass in emergency” — A library of battle-tested prompts and automated workflows for when things go sideways.

Quick Start Decision Tree

Severity Levels

LevelResponse TimeEscalationExample
P0 - CriticalImmediateAll handsComplete service outage, data breach
P1 - High< 15 minOn-call + LeadMajor feature down, security incident
P2 - Medium< 1 hourOn-callDegraded performance, partial outage
P3 - Low< 4 hoursNext business dayMinor issues, non-critical bugs

Playbook Architecture

Each scenario contains a 6-phase prompt chain:
┌─────────────────────────────────────────────────────────────────────┐
│                        INCIDENT LIFECYCLE                           │
├─────────────────────────────────────────────────────────────────────┤
│                                                                     │
│  ┌──────────┐   ┌──────────┐   ┌──────────┐   ┌──────────┐        │
│  │ DETECT   │──▶│ DIAGNOSE │──▶│ TRIAGE   │──▶│ EXECUTE  │        │
│  │          │   │          │   │          │   │          │        │
│  │ Trigger  │   │ Root     │   │ Priority │   │ Fix      │        │
│  │ Identify │   │ Cause    │   │ Assign   │   │ Recover  │        │
│  └──────────┘   └──────────┘   └──────────┘   └──────────┘        │
│       │              │              │              │               │
│       ▼              ▼              ▼              ▼               │
│  ┌──────────┐   ┌──────────┐   ┌──────────┐   ┌──────────┐        │
│  │ COMMS    │   │ VERIFY   │   │ DOCUMENT │   │ PREVENT  │        │
│  │          │   │          │   │          │   │          │        │
│  │ Notify   │   │ Confirm  │   │ Post-    │   │ Harden   │        │
│  │ Update   │   │ Monitor  │   │ mortem   │   │ Automate │        │
│  └──────────┘   └──────────┘   └──────────┘   └──────────┘        │
│                                                                     │
└─────────────────────────────────────────────────────────────────────┘

n8n Integration

Every scenario includes automation hooks:
{
  "webhook_url": "https://n8n.internal/webhook/dr-{{scenario_id}}",
  "method": "POST",
  "headers": {
    "X-DR-Severity": "{{severity}}",
    "X-DR-Service": "{{service_name}}"
  }
}

Available Playbooks

By Scenario

Environment Variables

# Required for n8n webhooks
DR_WEBHOOK_BASE_URL=https://n8n.internal/webhook
DR_SLACK_CHANNEL=#incidents
DR_PAGERDUTY_KEY=your-pd-key
DR_STATUS_PAGE_API=https://status.yourcompany.com/api

# Optional integrations
DR_JIRA_PROJECT=OPS
DR_DATADOG_API_KEY=your-dd-key
DR_OPSGENIE_API_KEY=your-og-key
Bookmark this page. When an incident hits, you’ll want the decision tree at your fingertips.