{"product_id":"n8n-error-workflow-log-failures-to-google-sheets-telegram","title":"n8n Error Workflow: Log Failures to Google Sheets + Telegram","description":"\u003ch3\u003eCatch n8n failures instantly: log every error to Google Sheets and alert your team via Telegram\u003c\/h3\u003e\n\u003cp\u003eThis n8n Error Workflow automatically captures failed executions, writes a structured error row to a Google Sheets \u003cstrong\u003e“Error Log”\u003c\/strong\u003e tab, and sends a detailed \u003cstrong\u003eTelegram\u003c\/strong\u003e notification with the failing node, error details, and an execution link—so you can troubleshoot fast and keep operations reliable.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTriggers on failure\u003c\/strong\u003e using the n8n \u003cem\u003eError Trigger\u003c\/em\u003e, when the assigned workflow execution fails.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBuilds a standardized error record\u003c\/strong\u003e including the last executed node, error code\/message, execution URL, and timestamp (and additional fields like correlation_id, status, stage, summary, entity info).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAppends the error\u003c\/strong\u003e as a new row in the Google Sheets tab named \u003cstrong\u003e“Error Log”\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends a Telegram alert\u003c\/strong\u003e with a formatted failure summary and next-step guidance for investigation.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFallback notification:\u003c\/strong\u003e if the Google Sheets append fails, it sends an alternate Telegram message stating that the Error Log row was not written.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eMonitor production n8n workflows and maintain a searchable \u003cstrong\u003eError Log\u003c\/strong\u003e for recurring incidents.\u003c\/li\u003e\n  \u003cli\u003eGet immediate Telegram alerts when a key automation fails (e.g., webhook processing, API steps, or data sync runs).\u003c\/li\u003e\n  \u003cli\u003eImprove incident response for SaaS operations by linking each alert to the exact \u003cstrong\u003eexecution URL\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNodes \/ tools used:\u003c\/strong\u003e error trigger, set, code, google sheets, telegram, sticky note.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGoogle Sheets requirements:\u003c\/strong\u003e OAuth credentials and an “Error Log” sheet tab with columns such as \u003cem\u003etemplate, correlation_id, status, stage, summary, entity_type, entity_id, error_code, error_message, error_node, execution_url, timestamp\u003c\/em\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTelegram requirements:\u003c\/strong\u003e Telegram bot credentials and a configured chat ID in both Telegram message steps.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eConfiguration:\u003c\/strong\u003e In the main workflow, set this workflow under \u003cem\u003eSettings → Error Workflow\u003c\/em\u003e so failures are routed here.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eCustomization\u003c\/h3\u003e\n\u003cp\u003eChange the \u003cstrong\u003etemplate\u003c\/strong\u003e value in \u003cem\u003ePrepare Error Record\u003c\/em\u003e to reuse it for other workflows, and adjust the Telegram destination as needed while keeping the secondary alert for failed Google Sheets writes.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46217921069235,"sku":"N8N-20819","price":20.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/uVWrzsBsRJ8FIqH7Kn2VO_Ou6iCAJ8.png?v=1791883313","url":"https:\/\/buyflowscripts.com\/products\/n8n-error-workflow-log-failures-to-google-sheets-telegram","provider":"N8N Commerce","version":"1.0","type":"link"}