Templates / Log workflow failures to Google Sheets and send Telegram alerts

Log workflow failures to Google Sheets and send Telegram alerts

Ready for 3.0

by Mashrur Rahman ✓ · 1 views · created 2026-10-12 · DevOps

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 7 nodes and runs when another workflow fails (error workflow). Along the way it connects Google Sheets and Telegram.

How it runs

Trigger: When another workflow fails (error workflow).

  1. Prepare Error Record (Edit Fields (Set)): sets 12 fields: template, correlation_id, status…
  2. Append Error to Sheets (Google Sheets): append (sheet)
  3. Create Failure Alert Message (Code): runs custom JavaScript code
  4. Create Sheet Down Alert Message (Code): runs custom JavaScript code
  5. Send Failure Alert to Telegram (Telegram): send message
  6. Send Sheet Down Alert to Telegram (Telegram): send message

Services it uses

Google SheetsTelegram

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (5)

From the author

Quick overview This companion error workflow captures failed n8n executions, logs each failure as a row in a Google Sheets “Error Log” tab, and sends a Telegram alert with the failing node, error details, and a link to the execution. How it works 1. Triggers…

Excerpt from Mashrur Rahman's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.