AutomationFlowsSlack & Telegram › n8n Global Error Handler with Telegram & Google Sheets

n8n Global Error Handler with Telegram & Google Sheets

Original n8n title: Global Error Handler

99_global_error_handler. Uses errorTrigger, telegram, googleSheets, stickyNote. Event-driven trigger; 4 nodes.

Event trigger★★☆☆☆ complexity4 nodesError TriggerTelegramGoogle Sheets
Slack & Telegram Trigger: Event Nodes: 4 Complexity: ★★☆☆☆ Added:

This workflow follows the Error Trigger → Google Sheets recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "id": "globalerrhandler",
  "name": "global-error-handler",
  "nodes": [
    {
      "parameters": {},
      "id": "cccccccc-cccc-4ccc-8ccc-cccccccccccc",
      "name": "Error Trigger",
      "type": "n8n-nodes-base.errorTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ]
    },
    {
      "parameters": {
        "mode": "manual",
        "includeOtherFields": true,
        "assignments": {
          "assignments": [
            {
              "id": "cfg1",
              "name": "ALERT_WEBHOOK_URL",
              "type": "string",
              "value": "http://mock-api:3000/alert"
            }
          ]
        },
        "options": {}
      },
      "id": "bbbbbbbb-bbbb-4bbb-8bbb-bbbbbbbbbbbb",
      "name": "Workflow Config",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.5,
      "position": [
        220,
        0
      ]
    },
    {
      "parameters": {
        "mode": "manual",
        "assignments": {
          "assignments": [
            {
              "id": "s1",
              "name": "source",
              "type": "string",
              "value": "global-error-handler"
            },
            {
              "id": "s2",
              "name": "executionId",
              "type": "string",
              "value": "={{ $json.execution.id }}"
            },
            {
              "id": "s3",
              "name": "executionUrl",
              "type": "string",
              "value": "={{ $json.execution.url }}"
            },
            {
              "id": "s4",
              "name": "workflowId",
              "type": "string",
              "value": "={{ $json.workflow.id }}"
            },
            {
              "id": "s5",
              "name": "workflowName",
              "type": "string",
              "value": "={{ $json.workflow.name }}"
            },
            {
              "id": "s6",
              "name": "lastNode",
              "type": "string",
              "value": "={{ $json.execution.lastNodeExecuted }}"
            },
            {
              "id": "s7",
              "name": "errorMessage",
              "type": "string",
              "value": "={{ $json.execution.error?.message }}"
            }
          ]
        },
        "options": {}
      },
      "id": "dddddddd-dddd-4ddd-8ddd-dddddddddddd",
      "name": "Build Log Entry",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.5,
      "position": [
        440,
        0
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "={{ $('Workflow Config').first().json.ALERT_WEBHOOK_URL }}",
        "sendBody": true,
        "contentType": "json",
        "specifyBody": "json",
        "jsonBody": "={{ JSON.stringify($json) }}",
        "options": {
          "timeout": 10000
        }
      },
      "id": "eeeeeeee-eeee-4eee-8eee-eeeeeeeeeeee",
      "name": "Send Alert",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.4,
      "position": [
        660,
        0
      ],
      "retryOnFail": true,
      "maxTries": 3,
      "waitBetweenTries": 500
    }
  ],
  "connections": {
    "Error Trigger": {
      "main": [
        [
          {
            "node": "Workflow Config",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Config": {
      "main": [
        [
          {
            "node": "Build Log Entry",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Log Entry": {
      "main": [
        [
          {
            "node": "Send Alert",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "active": false
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

99_global_error_handler. Uses errorTrigger, telegram, googleSheets, stickyNote. Event-driven trigger; 4 nodes.

Source: https://github.com/gulnaz-bakinova/n8n-automation-integrations-showcase/blob/main/99_global_error_handler.json — original creator credit. Request a take-down →

More Slack & Telegram workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Slack & Telegram

clients kept booking meetings during my prayer times. i'd either miss a prayer or scramble to reschedule. the problem wasn't the clients — it was that my calendar had no blocked windows for salah. i n

Telegram Trigger, HTTP Request, Google Calendar +3
Slack & Telegram

This workflow manages clinic appointments across Google Sheets and Google Calendar, using webhooks and Telegram to book and confirm visits, Gmail and Telegram to deliver prescriptions, scheduled Teleg

Google Calendar, Telegram, Google Sheets +4
Slack & Telegram

007-Error-Handler. Uses errorTrigger, googleSheets, telegram. Event-driven trigger; 19 nodes.

Error Trigger, Google Sheets, Telegram
Slack & Telegram

05 · Error Handling & Retry Template. Uses errorTrigger, googleSheets, telegram, httpRequest. Event-driven trigger; 12 nodes.

Error Trigger, Google Sheets, Telegram +1
Slack & Telegram

E — Обработчик ошибок (Челлендж 200 дней). Uses errorTrigger, telegram, googleSheets. Event-driven trigger; 4 nodes.

Error Trigger, Telegram, Google Sheets