Error Notification Workflow
detail.loadingPreview
Sends an email notification when any workflow encounters an error.
About This Workflow
This n8n workflow acts as a centralized error handling mechanism. When any other workflow fails, this workflow is triggered to send an email alert. The email contains details about the failed workflow, the execution URL, the node that caused the error, and the error message and stack trace.
Key Features
- Automated Error Detection: Triggers automatically upon encountering an error in another workflow.
- Detailed Error Reporting: Includes workflow name, execution URL, failing node, error message, and stack trace.
- Gmail Integration: Leverages Gmail to send out the notification emails.
- Configurable Recipient: Allows specifying the target email address for alerts.
How To Use
- Set up Gmail Credentials: Configure your Gmail OAuth2 credentials within n8n.
- Specify Target Email: In the 'Gmail' node (
f1a73854-5b24-407e-9584-0448ae66f7a0), replaceSET YOUR EMAIL HEREwith the email address where you want to receive error notifications. - Integrate with Other Workflows: In any workflow you want to monitor for errors, add the 'On Error' node (
dee0969b-e780-400c-a8d2-383a392b9432). Connect the 'On Error' node to the input of this error notification workflow. This ensures that when an error occurs in the main workflow, the 'On Error' node will trigger this notification workflow.
Apps Used
Workflow JSON
{
"id": "7b8acfa7-d4fc-4a1c-8253-47ae01d76704",
"name": "Error Notification Workflow",
"nodes": 20,
"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: 7b8acfa7-d4fc...
About the Author
DevOps_Master_X
Infrastructure Expert
Specializing in CI/CD pipelines, Docker, and Kubernetes automations.
Statistics
Related Workflows
Discover more workflows you might like
Automated Error Notification Workflow
Automatically notifies you via various channels when any of your n8n workflows encounter 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.