Comprehensive error logging to PostgreSQL with rate-limited notifications (1 every 5 mins) to prevent spam during surges.
This n8n workflow provides robust error handling by logging all errors to a PostgreSQL database while implementing rate-limiting for notifications, ensuring no more than one alert (e.g., email or push) every 5 minutes. It can serve as a primary error handler—adding DB logs without further action—or as a sub-workflow integrated into existing setups. An optional error cleanup feature resets execution state, ideal for development.
Setup requires creating a specific PostgreSQL table (DDL provided)
Platform
n8n
Category
Finance
Price
$18.99
Creator
Jordi Faber
error-handling
postgresql
logging
rate-limiting
notifications
monitoring
alerts
database
automation
n8n
How to import this workflow into n8n
1Purchase or download the workflow to get the n8n workflow JSON file.
2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
3Open each node marked with a credential warning and connect your own accounts and API keys.
4Run the workflow once manually to verify the data flow, then toggle it to Active.