Log Errors and Avoid Sending Too Many Emails
detail.loadingPreview
Logs errors and includes logic to prevent excessive email notifications.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This workflow is designed to capture and log errors occurring within n8n. It includes functionality to prevent an overwhelming number of alerts by limiting notifications within a specific timeframe, and also offers error cleanup options.
Key Features
- Captures workflow errors.
- Logs errors to a PostgreSQL database.
- Includes logic to rate-limit error notifications (e.g., emails).
- Provides an option for error cleanup, useful in development.
How To Use
- Configure PostgreSQL: Ensure you have a PostgreSQL database set up and the necessary credentials configured in n8n.
- Create Database Table: Execute the provided DDL to create the
N8Errtable in your PostgreSQL database. - Integrate Error Handling: Use the
Error Triggernode as the starting point for your error handling or integrate this workflow as a sub-workflow within your existing error handling logic. - Adjust Notification Settings: Modify the email nodes (
Principal E-Mail,Fallback E-Mail) to set recipients, subjects, and content as needed. You can also integrate other notification methods.
Apps Used
Workflow JSON
{
"id": "498e7a98-8a22-4a4d-9191-dc22ad8f0f26",
"name": "Log Errors and Avoid Sending Too Many Emails",
"nodes": 0,
"category": "Error Handling",
"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: 498e7a98-8a22...
About the Author
DevOps_Master_X
Infrastructure Expert
Specializing in CI/CD pipelines, Docker, and Kubernetes automations.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Monday.com Error Reporting to Monday
Logs errors from n8n to a Monday.com board.
Error Notification With Gmail
Sends an email via Gmail when a workflow error occurs.
N8n Error Report to Line
Sends an n8n workflow error notification to a Line chat.
Send SMS on Workflow Failure
Automatically send an SMS notification when a workflow encounters an error.
Error Slack Notification Workflow
Sends an automated Slack notification when a workflow fails.
Telegram Error Notifier
Sends automated Telegram notifications when errors occur in your workflows.