Automated Error Notification Workflow
detail.loadingPreview
Automatically notifies you via various channels when any of your n8n workflows encounter an error.
About This Workflow
This workflow is designed to provide immediate alerts whenever an n8n workflow fails. It leverages the Error Trigger node to capture error details and then uses a Code node to format a comprehensive message. This message can then be sent to multiple notification services, including Telegram, Gmail, and potentially others like WhatsApp, Slack, and Discord (though these are currently disabled in the provided JSON).
Key Features
- Real-time Error Detection: Triggers instantly when any workflow execution results in an error.
- Comprehensive Error Details: Captures workflow name, node name, error message, description, timestamp, execution URL, and error level.
- Flexible Notification Channels: Supports sending notifications to Telegram and Gmail out-of-the-box, with easy integration for other services.
- Customizable Message Formatting: The
Codenode allows for tailoring the alert message using HTML for rich formatting. - Centralized Monitoring: Provides a single point of contact for all workflow failures.
How To Use
- Add to your n8n instance: Import the provided JSON into your n8n workspace.
- Configure
Error Trigger: This node is automatically set up to catch errors from all workflows. - Configure
CodeNode: The provided JavaScript code extracts and formats error details. Thechat_idfor Telegram is a placeholder (<your_chat_id>) and needs to be replaced with your actual Telegram chat ID. - Set up Credentials: Ensure you have set up and selected the correct credentials for the notification nodes you intend to use (e.g.,
Gmail accountfor Gmail,Khaisa Monitoring Botfor Telegram). - Enable Notification Nodes: Uncomment or enable the desired notification nodes (e.g.,
Notify Gmail,Notify Telegram) and configure them with their respective parameters (e.g., recipient email for Gmail). - Enable the Workflow: Activate the workflow to start receiving error notifications.
Apps Used
Workflow JSON
{
"id": "23482c2b-1d8c-412b-9bca-cb34fafa4ce1",
"name": "Automated Error Notification Workflow",
"nodes": 19,
"category": "Monitoring",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 23482c2b-1d8c...
About the Author
N8N_Community_Pick
Curator
Hand-picked high quality workflows from the global community.
Statistics
Related Workflows
Discover more workflows you might like
Error Notification Workflow
Sends an email notification when any workflow encounters an error.
Get SSL Certificate Status and Notify on Expiry
Checks the SSL certificate validity for a given domain and sends an alert if it has expired.
Automated Server Package Update Notifications
Checks for upgradable packages on a server daily and sends an email notification if updates are available.