{
  "name": "Send notifications across email, Slack, and webhook channels",
  "nodes": [
    {
      "id": "d2790e54-b046-483b-ad90-7f97ec682304",
      "name": "Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2784,
        -1184
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "0e635a91-7de6-4859-a047-8c544eae9efb",
      "name": "Request Intake",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2320,
        -1184
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "61bc80f2-29f3-4b84-97a4-ddb1f8595bf1",
      "name": "Message Preparation",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1680,
        -1168
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "b8f8ece6-5da0-4751-bc71-fe4c26d34656",
      "name": "Channel Delivery",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -992,
        -1168
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "0774c3f4-ee0a-46c3-8884-f522d1ffc37d",
      "name": "Tracking & Response",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -304,
        -1168
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "9f890c8a-8ec0-4554-8313-7d9294e8b1ba",
      "name": "Error Handling",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2256,
        -192
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "aa533de3-309d-4a1f-8cfe-5fb0fcdb6d58",
      "name": "Receive Notification",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -2288,
        -800
      ]
    },
    {
      "id": "64aa38ea-84ef-4300-85e2-66deb36f35a6",
      "name": "Validate Request",
      "type": "n8n-nodes-base.code",
      "position": [
        -2048,
        -800
      ]
    },
    {
      "id": "ac5a2d45-2d48-4a87-934e-224b338925f1",
      "name": "Valid?",
      "type": "n8n-nodes-base.if",
      "position": [
        -1808,
        -800
      ]
    },
    {
      "id": "9d626e70-2e82-4fc7-b51c-32f1b634cd29",
      "name": "Validation Error",
      "type": "n8n-nodes-base.code",
      "position": [
        -1808,
        -640
      ]
    },
    {
      "id": "86d71d6e-ffeb-49ca-9be8-4a11577a3f6e",
      "name": "Respond 400",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        -1568,
        -640
      ]
    },
    {
      "id": "0a40487d-909b-4271-8271-d1a3a2889dc8",
      "name": "Build Templates",
      "type": "n8n-nodes-base.code",
      "position": [
        -1648,
        -880
      ]
    },
    {
      "id": "abb7616c-13fd-4352-8490-cbf2fbd9dad0",
      "name": "Store Notification",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1440,
        -880
      ]
    },
    {
      "id": "d1afbc78-cbc8-40a0-a793-02927fd352e8",
      "name": "Determine Channels",
      "type": "n8n-nodes-base.code",
      "position": [
        -1200,
        -880
      ]
    },
    {
      "id": "d77a5fae-72e3-4c44-a6e5-30318a44c21c",
      "name": "Email?",
      "type": "n8n-nodes-base.if",
      "position": [
        -960,
        -880
      ]
    },
    {
      "id": "d4783b5d-ad30-4e84-83e8-416260e58bfd",
      "name": "Send Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -720,
        -960
      ]
    },
    {
      "id": "017f8d96-c494-4c12-8773-35cc8d517e34",
      "name": "Slack?",
      "type": "n8n-nodes-base.if",
      "position": [
        -960,
        -720
      ]
    },
    {
      "id": "7a249895-3d04-472e-8873-6b92f7d91f4e",
      "name": "Send Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        -720,
        -720
      ]
    },
    {
      "id": "e08f986a-b3bf-4a11-98ff-b36983a219d6",
      "name": "Webhook?",
      "type": "n8n-nodes-base.if",
      "position": [
        -960,
        -560
      ]
    },
    {
      "id": "a47f5372-d845-4d9d-a3cf-4b4414aeeb62",
      "name": "Forward Webhook",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -720,
        -560
      ]
    },
    {
      "id": "bce65b31-f438-4bc6-acd6-b56d45e54950",
      "name": "Track Status",
      "type": "n8n-nodes-base.code",
      "position": [
        -480,
        -800
      ]
    },
    {
      "id": "1e8ffe26-9394-45f7-86a9-fc95c361b172",
      "name": "Update Status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -240,
        -800
      ]
    },
    {
      "id": "06a26de5-bf0e-491a-8ab7-845d2863cb17",
      "name": "Format Response",
      "type": "n8n-nodes-base.code",
      "position": [
        0,
        -800
      ]
    },
    {
      "id": "6b02d1f9-6ce5-4c11-b375-9004ffdc79ca",
      "name": "Respond 200",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        240,
        -800
      ]
    },
    {
      "id": "13dd24ef-5138-42ea-8745-f01a2f914e34",
      "name": "Error Trigger",
      "type": "n8n-nodes-base.errorTrigger",
      "position": [
        -2208,
        -32
      ]
    },
    {
      "id": "b7814627-55ba-4598-bb3b-1c814674c88d",
      "name": "Format Error",
      "type": "n8n-nodes-base.code",
      "position": [
        -1968,
        -32
      ]
    },
    {
      "id": "941c06d3-793e-470e-8427-261b3e37ec7d",
      "name": "Error Alert",
      "type": "n8n-nodes-base.slack",
      "position": [
        -1728,
        -32
      ]
    }
  ],
  "connections": {
    "Email?": {
      "main": [
        [
          {
            "node": "Send Email",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Track Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Slack?": {
      "main": [
        [
          {
            "node": "Send Slack",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Track Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Valid?": {
      "main": [
        [
          {
            "node": "Build Templates",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Validation Error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook?": {
      "main": [
        [
          {
            "node": "Forward Webhook",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Track Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Email": {
      "main": [
        [
          {
            "node": "Track Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Slack": {
      "main": [
        [
          {
            "node": "Track Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Error": {
      "main": [
        [
          {
            "node": "Error Alert",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Track Status": {
      "main": [
        [
          {
            "node": "Update Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Error Trigger": {
      "main": [
        [
          {
            "node": "Format Error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Status": {
      "main": [
        [
          {
            "node": "Format Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Templates": {
      "main": [
        [
          {
            "node": "Store Notification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Response": {
      "main": [
        [
          {
            "node": "Respond 200",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Forward Webhook": {
      "main": [
        [
          {
            "node": "Track Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Validate Request": {
      "main": [
        [
          {
            "node": "Valid?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Validation Error": {
      "main": [
        [
          {
            "node": "Respond 400",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Determine Channels": {
      "main": [
        [
          {
            "node": "Email?",
            "type": "main",
            "index": 0
          },
          {
            "node": "Slack?",
            "type": "main",
            "index": 0
          },
          {
            "node": "Webhook?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Store Notification": {
      "main": [
        [
          {
            "node": "Determine Channels",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Receive Notification": {
      "main": [
        [
          {
            "node": "Validate Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}