{
  "name": "IF Priority Router",
  "nodes": [
    {
      "id": "1da29248-6485-4a2d-9f47-bc5906b9ce88",
      "typeVersion": 2,
      "position": [
        0,
        0
      ],
      "parameters": {
        "httpMethod": "POST",
        "path": "priority",
        "responseMode": "lastNode",
        "options": {}
      },
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "webhookId": "prio"
    },
    {
      "id": "a03ccc54-cd88-4d86-8909-2aeb4cc7a87f",
      "typeVersion": 2,
      "position": [
        260,
        0
      ],
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "strict"
          },
          "conditions": [
            {
              "id": "c1",
              "leftValue": "={{ $json.body.priority }}",
              "rightValue": "urgent",
              "operator": {
                "type": "string",
                "operation": "equals"
              }
            }
          ],
          "combinator": "and"
        },
        "options": {}
      },
      "name": "IF Urgent?",
      "type": "n8n-nodes-base.if"
    },
    {
      "id": "f939bb99-c18a-4a70-bd81-7ceb9c9943f2",
      "typeVersion": 2.2,
      "position": [
        520,
        -100
      ],
      "parameters": {
        "select": "channel",
        "channelId": {
          "__rl": true,
          "mode": "name",
          "value": "alerts"
        },
        "text": ":rotating_light: Urgent inbound",
        "otherOptions": {}
      },
      "name": "Slack Urgent",
      "type": "n8n-nodes-base.slack"
    },
    {
      "id": "e43a0819-073d-459b-9f81-7c22beb24383",
      "typeVersion": 4.5,
      "position": [
        520,
        100
      ],
      "parameters": {
        "operation": "append",
        "columns": {
          "mappingMode": "autoMapInputData",
          "value": {}
        },
        "options": {}
      },
      "name": "Sheets Queue",
      "type": "n8n-nodes-base.googleSheets"
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "IF Urgent?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF Urgent?": {
      "main": [
        [
          {
            "node": "Slack Urgent",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Sheets Queue",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "pinData": {},
  "active": false,
  "settings": {
    "executionOrder": "v1",
    "timezone": "Asia/Manila"
  },
  "meta": {
    "templateCredsSetupCompleted": false
  },
  "tags": []
}