Automated error monitoring and reporting system using data tables | n8n workflow template

Automated error monitoring and reporting system using data tables

How it works:

  1. Error Trigger activates on workflow failures. Ignore Manual Failures filters out testing runs.
  2. Error details (workflow name, timestamp, error message, failed node) are extracted and inserted into the data table.
  3. Every hour, unemailed errors are retrieved. If >5 errors exist or oldest error >24 hours, report generation starts.
  4. AI summarizes errors with tips, generates HTML table, and emails the complete report.

Setup steps:

Generate & Send Error Notification

Consolidate errors into a single table with an email with AI Powered Insights & sends the Email

Update Errors that were notified

Update Errors that were emailed to they’re not picked up next time

Filter & Prepare errors to report

Sort errors that are to be reported and filter only if error count is beyond a threshold

Store errors

Ignore Manual Errors and store automatic errors into our Error Data Table

What This Workflow Does

The template uses two synchronized workflows to create a complete error monitoring system:

  1. Error Capture Workflow - Uses n8n's native error handling to intercept every workflow failure, extract key details (workflow name, error message, timestamp, node information, execution ID), and store them in your data table or database
  2. Report Scheduler Workflow - Runs on your configured schedule (daily, weekly, or custom) to query stored errors, aggregate insights, and send formatted summaries through your notification channel

How to Use It

Capture errors from all workflows → Store them in one centralized table → Get daily/weekly summaries in Slack, email, or Teams

✨ Key Features

🚀 Use Cases

📋 Prerequisites

⚙️ Configuration Steps

  1. Connect your data storage - Point the error capture workflow to your chosen database or data table
  2. Enable error monitoring - Activate the error handling trigger for workflows you want to monitor
  3. Set reporting schedule - Choose daily, weekly, or custom intervals for your summary reports
  4. Configure notifications - Add your Slack webhook, email address, Teams channel, or Discord endpoint
  5. Customize report format - Optionally adjust which error metrics and insights appear in summaries

💡 Customization Ideas

📊 Sample Error Summary Output

Your reports will include:

🔧 Maintenance Tips