{
  "name": "Dual-channel workflow error alerts with WhatsApp & Gmail reporting",
  "nodes": [
    {
      "id": "5942fb48-d09f-4403-bc95-d9a11f4a58d9",
      "name": "Error Trigger",
      "type": "n8n-nodes-base.errorTrigger",
      "position": [
        32,
        80
      ]
    },
    {
      "id": "5dafc2d3-5438-43b0-92e8-236da886f273",
      "name": "Send message",
      "type": "n8n-nodes-base.whatsApp",
      "position": [
        592,
        80
      ]
    },
    {
      "id": "ec1a5ea3-4a6c-4ee6-9599-4df44d19f5bc",
      "name": "set_recipient_EMAIL/NUMBER",
      "type": "n8n-nodes-base.set",
      "position": [
        208,
        80
      ]
    },
    {
      "id": "7b95c3be-cdef-45d2-8d41-7ef2f4a221d7",
      "name": "separate items",
      "type": "n8n-nodes-base.code",
      "position": [
        400,
        80
      ]
    },
    {
      "id": "303dd47b-8706-4587-b5f7-2cbac46f5b17",
      "name": "Send Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        928,
        80
      ]
    },
    {
      "id": "da6e39b0-e21d-41c1-8e7c-992400aeb2fc",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "width": 528,
        "height": 240,
        "content": "## Get informations"
      }
    },
    {
      "id": "136a7c06-f581-4efc-933e-687ea6cff618",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        768,
        80
      ]
    },
    {
      "id": "4193aaeb-5a50-4d03-b601-a1303209a172",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        544,
        0
      ],
      "parameters": {
        "width": 592,
        "height": 240,
        "content": "## Send alert"
      }
    },
    {
      "id": "8aca9262-f74c-42c1-8d91-ad731b1373a5",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        256
      ],
      "parameters": {
        "width": 528,
        "height": 416,
        "content": "## 1. Triggering and Preparation Phase (\"Get informations\")\n\nThis section ensures the reception of data:\n\n-Error Trigger:\nAutomatic triggering of the workflow by the failure or unhandled error of an e"
      }
    },
    {
      "id": "5ed5e06e-1784-4322-bd83-137a1fc9eec7",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        544,
        256
      ],
      "parameters": {
        "width": 592,
        "height": 416,
        "content": "## 2. Alert and Communication Phase (\"Send alert\")\n\nThis section manages dual notification to the priority communication channels:\n\n-Send message (WhatsApp):\nSends an immediate notification via WhatsA"
      }
    },
    {
      "id": "da5f8b04-8faa-4d68-b030-b3b5b45f6353",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1152,
        0
      ],
      "parameters": {
        "width": 320,
        "height": 672,
        "content": "## How to do it?\n\nOpen the workflow you want to monitor, go to Workflow Settings, and select your error workflow in the Error Workflow field.\n\nSave the changes.\n\nFrom now on, if an error occurs in you"
      }
    }
  ],
  "connections": {
    "Wait": {
      "main": [
        [
          {
            "node": "Send Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send message": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Error Trigger": {
      "main": [
        [
          {
            "node": "set_recipient_EMAIL/NUMBER",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "separate items": {
      "main": [
        [
          {
            "node": "Send message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "set_recipient_EMAIL/NUMBER": {
      "main": [
        [
          {
            "node": "separate items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}