Error Handler send Telegram: Real-Time Workflow Failure Alerts
Last edited 10 days ago
This workflow acts as an error handler, sending real-time notifications to Telegram when another workflow fails. It provides detailed error information, including workflow name, timestamp, execution URL, last executed node, and error message.
Pre-Conditions
- A Telegram bot created via BotFather.
- The bot token and Telegram group/channel
chatId
. - An active n8n instance with the Telegram and Error Trigger nodes installed.
Setup
-
Workflow Configuration:
- Import the workflow into n8n.
- Update the Telegram
chatId
in the Config node. - Add your Telegram bot token in the Telegram node credentials.
-
Error Workflow Setup:
- Set this workflow as the Error Workflow in other workflows.
-
Testing:
- Trigger an error in another workflow to verify Telegram notifications.
Who the Workflow is For
- Developers: Monitoring workflow failures in real-time.
- Teams: Managing multiple n8n workflows and needing instant error alerts.
- n8n Users: Looking for a simple way to handle workflow errors via Telegram.
Primary Use
- Automates error notifications for failed workflows.
- Sends detailed error reports to Telegram for quick troubleshooting.
- Easily customizable to fit specific monitoring needs.
You may also like
New to n8n?
Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!