{"product_id":"n8n-error-alerts-to-slack-log-failures-in-google-sheets","title":"n8n Error Alerts to Slack + Log Failures in Google Sheets","description":"\u003ch3\u003eGet instant n8n failure alerts in Slack—and keep a permanent error log in Google Sheets\u003c\/h3\u003e\n\u003cp\u003eIf your n8n workflows fail, don’t wait for someone to notice. This workflow automatically sends a Slack-ready error alert with the failed execution details, and also appends the same failure record to Google Sheets for clean, searchable incident tracking.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cb\u003eAutomatically triggers on any failed n8n execution\u003c\/b\u003e, so failures are captured the moment they happen.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eExtracts and normalizes key error details\u003c\/b\u003e into a single alert payload, including:\n    \u003cul\u003e\n      \u003cli\u003eworkflow name\u003c\/li\u003e\n      \u003cli\u003efailed node\u003c\/li\u003e\n      \u003cli\u003eerror message\u003c\/li\u003e\n      \u003cli\u003eexecution URL\u003c\/li\u003e\n      \u003cli\u003eexecution metadata (as included in the payload)\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eSends a formatted failure alert to Slack\u003c\/b\u003e in your chosen channel, including a link to the failed execution for fast investigation.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eAppends the failure details to Google Sheets\u003c\/b\u003e as a new row, creating an ongoing log of errors for later review.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cb\u003eSaaS operations:\u003c\/b\u003e Track failed automation runs and quickly troubleshoot customer-impacting issues.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eAutomation engineering:\u003c\/b\u003e Monitor fragile workflow steps (webhook nodes, API calls, parsing code) and reduce mean time to resolution.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eTeam visibility:\u003c\/b\u003e Centralize workflow failures in Slack for shared awareness, while keeping a structured Google Sheets history for audits.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cb\u003en8n Error Trigger\u003c\/b\u003e: fires on failed executions.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eCode node\u003c\/b\u003e: formats and normalizes the failure payload into a Slack-ready message.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eSlack node\u003c\/b\u003e: posts alerts to a specified Slack channel (requires a Slack bot token with \u003ci\u003echat:write\u003c\/i\u003e).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eGoogle Sheets integration\u003c\/b\u003e: appends a new row per failure.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eSticky Note\u003c\/b\u003e: included as part of the workflow setup\/clarity.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eSetup requirements\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSlack workspace + \u003cb\u003eSlack credential\u003c\/b\u003e, and set the destination channel (e.g., \u003ccode\u003e#alerts\u003c\/code\u003e).\u003c\/li\u003e\n  \u003cli\u003eGoogle account + \u003cb\u003eGoogle Sheets credential\u003c\/b\u003e, and select the target spreadsheet and sheet\/tab IDs.\u003c\/li\u003e\n  \u003cli\u003eGoogle Sheet header row must match: \u003cb\u003efailed_at\u003c\/b\u003e, \u003cb\u003eworkflow_name\u003c\/b\u003e, \u003cb\u003efailed_node\u003c\/b\u003e, \u003cb\u003eerror_message\u003c\/b\u003e, \u003cb\u003eexecution_url\u003c\/b\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003e\u003cb\u003eCustomization note:\u003c\/b\u003e The alert text is already prepared, so you can swap the Slack destination for other notification destinations like Discord, Telegram, or email by changing the destination node.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45862253035699,"sku":"N8N-18056","price":40.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/6ER6S7yCKoJZly96N3lJF_WyxHDiyF.png?v=1786958226","url":"https:\/\/buyflowscripts.com\/products\/n8n-error-alerts-to-slack-log-failures-in-google-sheets","provider":"N8N Commerce","version":"1.0","type":"link"}