{"product_id":"n8n-global-error-handler-with-slack-telegram-alerts","title":"n8n Global Error Handler with Slack\/Telegram Alerts","description":"\u003ch3\u003eStop silent automation failures—get instant Slack\/Telegram alerts from n8n\u003c\/h3\u003e\n\u003cp\u003eThis \u003cstrong\u003en8n Global Error Handler with Slack\/Telegram Alerts\u003c\/strong\u003e monitors your tagged workflows for errors and “silent” breakage. When a workflow fails, gets deactivated, or stops producing successful executions beyond a defined threshold, it sends a clear alert to \u003cstrong\u003eSlack\/Discord\/Teams\u003c\/strong\u003e (via incoming webhook) and optionally to \u003cstrong\u003eTelegram\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives error events\u003c\/strong\u003e from other n8n workflows that you configure to use it as their \u003cstrong\u003eError Workflow\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNormalizes error payloads\u003c\/strong\u003e into a consistent alert format, including workflow details, node name, error message, and an execution link.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns every 15 minutes\u003c\/strong\u003e to detect “silence monitor” issues—workflows that are tagged for monitoring but no longer produce successful runs.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUses the n8n API\u003c\/strong\u003e to fetch recent executions and workflows, determines the most recent successful execution per workflow, and compares it to a per-workflow (or default) silence threshold.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDetects deactivated or stalled workflows\u003c\/strong\u003e and triggers alerts while \u003cstrong\u003ethrottling repeat notifications\u003c\/strong\u003e to avoid alert spam.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends human-readable alerts\u003c\/strong\u003e in English by default to your Slack\/Discord\/Teams webhook, with an optional Telegram message when enabled.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eCatch production incidents when a critical n8n workflow errors unexpectedly.\u003c\/li\u003e\n  \u003cli\u003eDetect “silent” failures where runs continue but successful outputs stop (API outages, credential expiry, upstream changes).\u003c\/li\u003e\n  \u003cli\u003eConfirm monitoring coverage after disabling a workflow or making risky edits—without waiting for manual checks.\u003c\/li\u003e\n  \u003cli\u003eKeep SaaS operations teams informed with actionable execution links and node-level context.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n API credentials\u003c\/strong\u003e for fetching executions and workflows.\u003c\/li\u003e\n  \u003cli\u003eNodes\/tech used: \u003cstrong\u003eset\u003c\/strong\u003e, \u003cstrong\u003ecode\u003c\/strong\u003e, \u003cstrong\u003ehttp request\u003c\/strong\u003e, \u003cstrong\u003etelegram\u003c\/strong\u003e, and supporting elements like a sticky note.\u003c\/li\u003e\n  \u003cli\u003eAlert delivery via \u003cstrong\u003eSlack\/Discord\/Teams incoming webhook\u003c\/strong\u003e and optional \u003cstrong\u003eTelegram\u003c\/strong\u003e (Telegram credentials + chat ID).\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eSetup checklist\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eCreate an \u003cstrong\u003en8n API credential\u003c\/strong\u003e (Settings → n8n API) and add it to the nodes that call the API.\u003c\/li\u003e\n  \u003cli\u003ePaste your \u003cstrong\u003eSlack\/Discord\/Teams webhook URL\u003c\/strong\u003e into the \u003cstrong\u003eHTTP Request\u003c\/strong\u003e node, or enable the \u003cstrong\u003eTelegram\u003c\/strong\u003e node.\u003c\/li\u003e\n  \u003cli\u003eActivate the workflow, then set it as the \u003cstrong\u003eError Workflow\u003c\/strong\u003e in each workflow you want monitored.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46146392359091,"sku":"N8N-20228","price":3.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/J8ixezMF6jockBGB4r-5M_fm7C0swr.png?v=1790846573","url":"https:\/\/buyflowscripts.com\/products\/n8n-global-error-handler-with-slack-telegram-alerts","provider":"N8N Commerce","version":"1.0","type":"link"}