{
  "name": "Emergency alert workflow for schools – notify parents & staff instantly",
  "nodes": [
    {
      "id": "bd9ad6da-4889-4c8c-9b74-fdff1e354c3c",
      "name": "Webhook Trigger",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -100,
        40
      ]
    },
    {
      "id": "cc9f3fab-65c6-44bf-bb45-3ad892b71e58",
      "name": "Filter Emergency Alerts",
      "type": "n8n-nodes-base.if",
      "position": [
        120,
        40
      ]
    },
    {
      "id": "c65af54d-c920-4662-8e37-72f764355358",
      "name": "Send Email Alert",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        340,
        -160
      ]
    },
    {
      "id": "c5a51229-55f2-4dad-a439-7105d4224b90",
      "name": "Send Slack Alert",
      "type": "n8n-nodes-base.slack",
      "position": [
        340,
        40
      ]
    },
    {
      "id": "d25f17a0-a2a7-4955-9cbd-3793cff662ca",
      "name": "No Action for Inactive",
      "type": "n8n-nodes-base.noOp",
      "position": [
        340,
        240
      ]
    },
    {
      "id": "4ed251d3-55ea-48b5-b1a7-24d3857be124",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -680,
        -340
      ],
      "parameters": {
        "width": 760,
        "height": 280,
        "content": "## System Architecture\n- **Emergency Detection Pipeline**:\n  - **Webhook Trigger**: Captures incoming emergency alerts via POST requests.\n  - **Filter Emergency Alerts**: Identifies active emergencies"
      }
    }
  ],
  "connections": {
    "Webhook Trigger": {
      "main": [
        [
          {
            "node": "Filter Emergency Alerts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter Emergency Alerts": {
      "main": [
        [
          {
            "node": "Send Email Alert",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send Slack Alert",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "No Action for Inactive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}