AutomationMart
Home/Browse/Error handling system with PostgreSQL logging and rate-limited notifications
n8n

Error handling system with PostgreSQL logging and rate-limited notifications

n8nn8n13 modulesv1.0
UNSUPPORTED_SLUG_FORMAT

Log errors and avoid sending too many emails Use case Most of the time, it’s necessary to log all errors that occur. However, in some cases, a scheduled task or service consuming excessive resources might trigger a surge of errors. To address this, we can log all errors but limit alerts to a maximum of one notification every 5 minutes. What this workflow does This workflow can be configured to receive error events, or you can integrate it before your own error-handling logic. If used as the pri

At a glance

Error handling system with PostgreSQL logging and rate-limited notifications is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects UNSUPPORTED_SLUG_FORMAT. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
UNSUPPORTED_SLUG_FORMAT
Modules
13
Price
Free
Version
v1.0
Error handling system with PostgreSQL logging and rate-limited notifications workflow diagram

About this workflow

Log errors and avoid sending too many emails Use case Most of the time, it’s necessary to log all errors that occur. However, in some cases, a scheduled task or service consuming excessive resources might trigger a surge of errors. To address this, we can log all errors but limit alerts to a maximum of one notification every 5 minutes. What this workflow does This workflow can be configured to receive error events, or you can integrate it before your own error-handling logic. If used as the primary error handler, note that this flow will only add a database log entry and take no further action. You’ll need to add your own alerts (e.g., email or push notifications). Below is an example of a notification setup I prefer to use. At the end, there’s an error cleanup option. This feature is particularly useful in development environments. If you already have an error-handling workflow, you can call this one as a sub-workflow. Its final steps include cleanup logic to reset the execution state and terminate the workflow. Setup Verify all Postgres nodes and credentials when using the 'Error Handling Sample' How to adjust it to your needs 1) You can set this workflow as a sub-workflow within your existing error-handling setup. 2) Alternatively, you can add the "Error Handling Sample" at the end of this workflow, which sends email and push notifications. Configuration Requirements: ⚠️ You must create a database table for this to work! DDL of this sample: create table p1gq6ljdsam3x1m."N8Err" ( id serial primary key, createdat timestamp, updatedat timestamp, createdby varchar, updatedby varchar, ncorder numeric, title text, "URL" text, "Stack" text, json json, "Message" text, "LastNode" text ); alter table p1gq6ljdsam3x1m."N8Err" owner to postgres; create index "N8Errorderidx" on p1gq6ljdsam3x1m."N8Err" (ncorder); by Davi Saranszky Mesquita

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

🎓 Learn Code Node (JavaScript) with an Interactive Hands-On Tutorial

How it works This workflow is a hands-on tutorial for the Code node in n8n, covering both basic and advanced concepts through a simple data processing task. 1. Provides Sample Data: The workflow begins with a sample list of users. 2. Processes Each Item (Run Once for Each Item): The first Code node iterates through each user to calculate their fullName and age. This demonstrates basic item-by-item data manipulation using $input.item.json. 3. Fetches External Data (A

Free

Process legal documents with Ollama AI & generate HTML reports (100% local)

TUTORIAL VIDEO Key Features 🧠 AI-Powered Analysis - Use any Ollama-compatible model (Llama, Mistral, CodeLlama, etc.) 🔧 Flexible Input - Supports PDFs, Word docs, text files, and more 📊 Structured Output - Generates clean HTML reports and summaries 🔄 Automated Pipeline - Set-and-forget document processing Perfect For: - Enterprise Environments - Where data privacy is paramount - Research Organizations - Processing sensitive or proprietary documents - Small Teams - Cost-effective alternative to c

Free

Diagnose n8n workflow errors with Claude AI, Supabase and Resend email alerts

Who's it for This workflow is for anyone who runs n8n workflows and wants to know immediately when something breaks, without digging through execution logs. Especially useful for non-technical users and freelancers or agencies managing workflows for clients. How it works When a workflow fails, this system activates automatically. Claude AI analyzes the error using the technical details and the business context you provide, then generates a diagnosis with the direct cause, a step-by-step f

Free

Automated YouTube subscription notifications with RSS and email

Who is this template for? You are in the bad habit of always checking your feed to see if there are new videos? This workflow will help you get rid of this habit by delivering an email notification for each new video posted from the channels you are subscribed to. No need to check your feed again: no email = no new video. Example email How it works Every hour (by default), we: - Fetch all your YouTube subscriptions from the YouTube Data v3 API. - Get a list of the latest videos of each channel t

Free

ADF: Call Synapse pipeline with a notebook activity

Azure Data Factory pipeline

Free

Parse and Extract Data from Documents/Images with Mistral OCR

Mistral OCR is a super convenient way to parse and extract data from multi-page PDFs or single images using AI. What makes it special and differs it from the competition is that Mistral OCR also performs document page splitting and markdown conversion. This helps reduce dependencies required for document parsing workflows where tools like StirlingPDF. Read the official documentation on Mistral OCR API here: [

Free

Automate process improvement with employee feedback using AI and Baserow

This n8n template demonstrates how to automatically process feedback on tasks and procedures using an AI agent. Employees provide feedback after completing a task, which is then analyzed by the AI to suggest improvements to the underlying procedures. Improvements can be to update how to execute a single tasks or to split or merge tasks within a procedure. The management reviews decides whether to implement those improvements. This makes it easy to close the loop between execution, feedback, and

Free

AI video summarization with VLM run - automated content analysis for teams

This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Automatically transform your video uploads into AI-powered summaries with key topic extraction and instant team notifications. What this workflow does 1. Monitors Google Drive for new video uploads 2. Downloads and processes videos using VLM Run AI 3. Generates intelligent summaries with key topics extracted 4. Posts results to Slack for immediate team access Setup Prerequisites: Google Drive ac

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free