Skip to main content

Send severity-based error alerts using Telegram, email and Google Sheets

Workflow preview

Workflow preview
100%
Send severity-based error alerts using Telegram, email and Google Sheets preview
Open on n8n.io

1. Workflow Overview

Who this template is for This template is designed for n8n users running workflows in production who need reliable and structured error monitoring , not just basic alerts. It’s especially useful fo...

Best for

  • DevOps automation workflows
  • AI Summarization automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.telegram, n8n-nodes-base.set, n8n-nodes-base.errortrigger, n8n-nodes-base.code, n8n-nodes-base.gmail, n8n-nodes-base.googlesheets, n8n-nodes-base.switch

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Abdallah Hussein.

Original n8n.io source

1.1 Workflow description

Title
Send severity-based error alerts using Telegram, email and Google Sheets
Workflow name
Send severity-based error alerts using Telegram, email and Google Sheets

Who this template is for

This template is designed for n8n users running workflows in production who need reliable and structured error monitoring, not just basic alerts.

It’s especially useful for:

  • Automation engineers and developers
  • Teams running business-critical workflows
  • Anyone who wants smarter alerting with reduced noise

What this workflow does

This workflow acts as a global, severity-based error monitoring system for n8n.

When a linked workflow fails, it automatically:

  • Classifies the error by severity (Critical, High, Normal)
  • Routes alerts based on severity level
  • Sends notifications via Telegram and Email
  • Logs critical errors for auditing and troubleshooting

This ensures important issues are escalated properly, while avoiding unnecessary alert fatigue.


How it works

  1. An Error Trigger captures execution failures from linked workflows.
  2. A Code node analyzes the error and assigns a severity level.
  3. Alerts are routed based on severity:
  • 🔴 Critical → Email + Telegram + Logging
  • 🟠 High → Telegram alert
  • 🟡 Normal → Telegram alert
  1. All alerts include rich context such as workflow name, failed node, execution time, and execution URL.

The workflow only runs when an error occurs.


How to set up

  1. Configure the required credentials (Telegram, Email, optional Google Sheets).
  2. Replace placeholder values such as:
  • YOUR_TELEGRAM_CHAT_ID
  • YOUR_ALERT_EMAIL
  1. Activate this workflow.
  2. Open any workflow you want to monitor.
  3. In Workflow Settings, set Error Workflow to this workflow.
  4. Save and test by triggering an error.

Requirements

  • An active n8n instance (cloud or self-hosted)
  • Telegram Bot credentials
  • Email credentials (for critical alerts)
  • Optional: Google Sheets credentials for logging

How to customize the workflow

You can extend this workflow by:

  • Adding more alert channels (Slack, Discord, etc.)
  • Adjusting severity classification logic
  • Implementing rate-limiting or noise reduction
  • Logging errors to databases or external monitoring tools

Detailed instructions and explanations are included inside the workflow using sticky notes.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Send Alert

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.1

Block 3 - Format Message

Type / Role
n8n-nodes-base.set - set
Config choices
Version 1

Block 4 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Error Trigger

Type / Role
n8n-nodes-base.errorTrigger - errorTrigger
Config choices
Version 1

Block 6 - Classify Error & Context

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Send an Email

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.2

Block 8 - Add Logs to Sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 9 - Severity-Based Routing

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.4

Block 10 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Send severity-based error alerts using Telegram, email and Google Sheets
Complexity intermediate
Nodes 13
Categories DevOps, AI Summarization
Author Abdallah Hussein
Published 22 Jan 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/12890/12890.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Send severity-based error alerts using Telegram, email and Google Sheets do?

Who this template is for This template is designed for n8n users running workflows in production who need reliable and structured error monitoring , not just basic alerts. It’s especially useful fo...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your DevOps, AI Summarization use case.