{
  "name": "Centralized n8n error management system with automated email alerts via Gmail",
  "nodes": [
    {
      "id": "7b9a99ba-2e76-4210-a2e5-cb5c9fd707a7",
      "name": "Error Trigger",
      "type": "n8n-nodes-base.errorTrigger",
      "position": [
        460,
        800
      ]
    },
    {
      "id": "301a2f94-187c-4183-a0fc-5ec30480202a",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1080,
        580
      ],
      "parameters": {
        "width": 783,
        "height": 549,
        "content": "## Send Error Handling Email"
      }
    },
    {
      "id": "f624fcc6-ea87-425c-b20c-b8c14d7f1226",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        460,
        300
      ]
    },
    {
      "id": "dedfb0a6-a297-42c3-8a68-6aded7203373",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        660,
        220
      ],
      "parameters": {
        "width": 1195,
        "height": 260,
        "content": "## Update Default Error Handler For All N8n Workflows"
      }
    },
    {
      "id": "2de34694-ccc8-451d-9bd7-9b438d5d045b",
      "name": "N8n Get Error Handler",
      "type": "n8n-nodes-base.n8n",
      "position": [
        760,
        300
      ]
    },
    {
      "id": "c5ac588c-3972-4b32-9d40-dbb5a73cb170",
      "name": "N8n Get All Workflows",
      "type": "n8n-nodes-base.n8n",
      "position": [
        980,
        300
      ]
    },
    {
      "id": "ad17b29e-18c9-4ac9-8b87-67c79ca2b0a4",
      "name": "If No Default Error Handler Set",
      "type": "n8n-nodes-base.if",
      "position": [
        1200,
        300
      ]
    },
    {
      "id": "19439590-b2a7-4884-9280-16955e1cf895",
      "name": "N8n Update Workflow",
      "type": "n8n-nodes-base.n8n",
      "position": [
        1640,
        280
      ]
    },
    {
      "id": "4c1bb8fe-8029-4cf1-9b96-c17d54145340",
      "name": "Set Data",
      "type": "n8n-nodes-base.code",
      "position": [
        1420,
        280
      ]
    },
    {
      "id": "4d8b7522-62ae-4738-9c48-285363399b0a",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        660,
        720
      ],
      "parameters": {
        "width": 300,
        "height": 260,
        "content": "## Settings"
      }
    },
    {
      "id": "a6a452ec-5320-46b3-be99-cf6b3f562de2",
      "name": "Settings",
      "type": "n8n-nodes-base.set",
      "position": [
        760,
        800
      ]
    },
    {
      "id": "a357bfaf-66d4-4b35-b4e8-8e4dbc255a68",
      "name": "If Execution Error",
      "type": "n8n-nodes-base.if",
      "position": [
        1200,
        800
      ]
    },
    {
      "id": "f72827ca-6775-45d1-923b-0ced413a7b25",
      "name": "HTML For Execution Error",
      "type": "n8n-nodes-base.html",
      "position": [
        1420,
        680
      ]
    },
    {
      "id": "c0dc9576-73f4-44f6-b82b-c056e40ec693",
      "name": "HTML For Trigger Error",
      "type": "n8n-nodes-base.html",
      "position": [
        1420,
        920
      ]
    },
    {
      "id": "b497eb7b-a9b3-41f6-a71b-d614d20f2402",
      "name": "Gmail Send Notification",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1640,
        800
      ]
    },
    {
      "id": "34b07331-bf9e-453e-89de-1c51fa094642",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        140
      ],
      "parameters": {
        "width": 740,
        "height": 3080,
        "content": "## **Advanced n8n Error Handling: Automated Email Alerts & Global Error Workflow Configuration**\n\nIn any automated environment, n8n workflows, while powerful, can sometimes encounter unexpected issues"
      }
    }
  ],
  "connections": {
    "Set Data": {
      "main": [
        [
          {
            "node": "N8n Update Workflow",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Settings": {
      "main": [
        [
          {
            "node": "If Execution Error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Error Trigger": {
      "main": [
        [
          {
            "node": "Settings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "N8n Get Error Handler",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If Execution Error": {
      "main": [
        [
          {
            "node": "HTML For Execution Error",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "HTML For Trigger Error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "N8n Get All Workflows": {
      "main": [
        [
          {
            "node": "If No Default Error Handler Set",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "N8n Get Error Handler": {
      "main": [
        [
          {
            "node": "N8n Get All Workflows",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTML For Trigger Error": {
      "main": [
        [
          {
            "node": "Gmail Send Notification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTML For Execution Error": {
      "main": [
        [
          {
            "node": "Gmail Send Notification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If No Default Error Handler Set": {
      "main": [
        [
          {
            "node": "Set Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}