{"id":107,"date":"2026-10-11T15:30:00","date_gmt":"2026-10-11T15:30:00","guid":{"rendered":"https:\/\/top.fadah.store\/?p=107"},"modified":"2026-10-11T15:30:00","modified_gmt":"2026-10-11T15:30:00","slug":"n8n-error-handling-discord-alerts","status":"publish","type":"post","link":"https:\/\/top.fadah.store\/?p=107","title":{"rendered":"Catching and Alerting Failed Nodes in n8n Workflows with Discord Webhooks"},"content":{"rendered":"<p>There is nothing worse than discovering an automation stopped running three days ago because of an expired API token. To prevent silent failures, I configured a centralized Error Trigger workflow in n8n.<\/p>\n<h2>How Error Triggers Work in n8n<\/h2>\n<p>In workflow settings, you can designate an <strong>Error Workflow<\/strong>. Whenever any node crashes, n8n invokes this handler and passes execution metadata, including the failed node name and error stack trace.<\/p>\n<pre class=\"wp-block-code\"><code class=\"language-json\">{\n  \"nodes\": [\n    {\n      \"parameters\": {},\n      \"name\": \"Error Trigger\",\n      \"type\": \"n8n-nodes-base.errorTrigger\",\n      \"typeVersion\": 1,\n      \"position\": [240, 300]\n    },\n    {\n      \"parameters\": {\n        \"webhookUri\": \"https:\/\/discord.com\/api\/webhooks\/...\",\n        \"text\": \"=\u26a0\ufe0f **n8n Workflow Failed!**\\nWorkflow: {{$json.workflow.name}}\\nNode: {{$json.execution.error.node.name}}\\nReason: {{$json.execution.error.message}}\"\n      },\n      \"name\": \"Send Discord Alert\",\n      \"type\": \"n8n-nodes-base.discord\",\n      \"typeVersion\": 2,\n      \"position\": [460, 300]\n    }\n  ]\n}<\/code><\/pre>\n<p>Now, whenever an API changes or a rate-limit hits, my phone pings immediately with the exact node that broke.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There is nothing worse than discovering an automation stopped running three days ago because of an expired API token. To prevent silent failures, I configured a centralized Error Trigger workflow in n8n. How Error Triggers Work in n8n In workflow settings, you can designate an Error Workflow. Whenever any node crashes, n8n invokes this handler &#8230; <a title=\"Catching and Alerting Failed Nodes in n8n Workflows with Discord Webhooks\" class=\"read-more\" href=\"https:\/\/top.fadah.store\/?p=107\" aria-label=\"Read more about Catching and Alerting Failed Nodes in n8n Workflows with Discord Webhooks\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[25,24,26,5],"class_list":["post-107","post","type-post","status-publish","format-standard","hentry","category-n8n-automations","tag-discord","tag-error-handling","tag-monitoring","tag-n8n"],"_links":{"self":[{"href":"https:\/\/top.fadah.store\/index.php?rest_route=\/wp\/v2\/posts\/107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/top.fadah.store\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/top.fadah.store\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/top.fadah.store\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/top.fadah.store\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=107"}],"version-history":[{"count":0,"href":"https:\/\/top.fadah.store\/index.php?rest_route=\/wp\/v2\/posts\/107\/revisions"}],"wp:attachment":[{"href":"https:\/\/top.fadah.store\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/top.fadah.store\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/top.fadah.store\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}