{"product_id":"n8n-error-trigger-send-telegram-alerts-on-workflow-failures","title":"n8n Error Trigger: Send Telegram Alerts on Workflow Failures","description":"\u003ch3\u003eGet instant Telegram alerts when your n8n workflows fail\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow uses an \u003cstrong\u003eError Trigger\u003c\/strong\u003e to automatically detect failures in other workflows and send a clear, HTML-formatted \u003cstrong\u003eTelegram alert\u003c\/strong\u003e to your chat—so you can respond fast instead of checking logs.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eListens for workflow failures:\u003c\/strong\u003e It triggers when another n8n workflow is set to use this one as its \u003cstrong\u003eError workflow\u003c\/strong\u003e and that workflow fails.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReads your Telegram chat ID:\u003c\/strong\u003e It loads your configured \u003cem\u003eTelegram chat ID\u003c\/em\u003e from a workflow setting value.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBuilds a concise failure message:\u003c\/strong\u003e It formats an HTML alert that includes the `workflow name`, the failing \u003cem\u003estep or trigger error\u003c\/em\u003e, the \u003cem\u003eerror message\u003c\/em\u003e, and an \u003cem\u003eexecution link\u003c\/em\u003e when available.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends the alert to Telegram:\u003c\/strong\u003e It sends the message via the Telegram node using your bot, with \u003cstrong\u003eHTML parsing enabled\u003c\/strong\u003e and \u003cstrong\u003elink previews disabled\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSaaS operations:\u003c\/strong\u003e Notify your team immediately if a critical automation workflow fails and blocks data sync.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAutomation engineers:\u003c\/strong\u003e Catch errors in upstream workflows (ETL, webhooks, scheduled jobs) and jump directly to the failed execution.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSelf-hosted n8n reliability:\u003c\/strong\u003e Keep oversight of workflow health without manually reviewing the n8n UI.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes used:\u003c\/strong\u003e Error Trigger, Set, Code, Telegram, Sticky Note\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTelegram requirements:\u003c\/strong\u003e A Telegram bot token (from \u003cstrong\u003e@BotFather\u003c\/strong\u003e) and your Telegram chat ID\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCompatibility:\u003c\/strong\u003e Works with \u003cstrong\u003en8n 1.x or 2.x\u003c\/strong\u003e (self-hosted or Cloud)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCustomization:\u003c\/strong\u003e Update the alert wording or add fields in the “Build alert” (code\/message building) step.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eSetup at a glance\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eCreate a Telegram bot via \u003cstrong\u003e@BotFather\u003c\/strong\u003e and add its token as a Telegram credential in n8n.\u003c\/li\u003e\n  \u003cli\u003eFind your Telegram chat ID and paste it into the workflow’s Telegram chat ID setting.\u003c\/li\u003e\n  \u003cli\u003eIn each monitored workflow, set this workflow as the \u003cstrong\u003eError workflow\u003c\/strong\u003e in n8n.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46159503261875,"sku":"N8N-20390","price":40.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/pnHHqkiDEL5njhkhjRyjd_8kFeAeMo.png?v=1791104721","url":"https:\/\/buyflowscripts.com\/products\/n8n-error-trigger-send-telegram-alerts-on-workflow-failures","provider":"N8N Commerce","version":"1.0","type":"link"}