Log errors and avoid sending too many emails

Automated workflow: Log errors and avoid sending too many emails. This workflow integrates 12 different services: postgres, stickyNote, code, errorTrigger, pushover. It contains 18 nodes and follows best practices for error handling and security.

Workflow Structure (13 nodes)
100%
Error Trigger
Error Trigger
Execute Workflow Trigger
See below to prepend this at your error handling
Postgres
Insert Log
Postgres
Count for 5 minutes
If
If there is no logs in 5 minutes
Code
CleanUp execution. See below if you will prepend this workflow
No Op
Insert your error handling logic after this
Manual Trigger
Sometimes... just cleanup
Execute Workflow
Call this Sample - Prepend to your error catcher
Email Send
Principal E-Mail
Pushover
Push mobile notification
Postgres
Truncate Log Database
Email Send
Fallback E-Mail
Node Types:
trigger
action
default
logic
code
Requires credentials

Prerequisites

Required Credentials (3)

Postgres

Used by: Insert Log, Count for 5 minutes +1 more

Docs

Pushover

Used by: Push mobile notification

Docs

Smtp

Used by: Principal E-Mail, Fallback E-Mail

Docs

Multiple services required

This workflow needs 3 different credentials. Make sure you have accounts for all services before importing.

Complexity

Advanced

Expert level. Custom code, complex logic, many integrations.

Setup time: ~50 min
Score: 72/100
Custom Code
Conditional Logic
8 Integrations

When to Use This Workflow

Email Automation

Automate email responses, forwarding, or organization based on rules.

Handle routine email tasks automatically and focus on what matters.

Real-time Response

React instantly when events happen - new orders, form submissions, or API calls.

Zero delay between trigger and action for time-sensitive workflows.

Error Reduction

Eliminate human error from routine processes with consistent automation.

Improve accuracy and reliability across your workflows.

workflow.json
{
  "id": "YybYYc430rmZWJPJ",
  "meta": {
    "instanceId": "workflow-6c423fd8",
    "versionId": "1.0.0",
    "createdAt": "2025-09-29T07:07:44.486625",
    "updatedAt": "2025-09-29T07:07:44.486696",
    "owner": "n8n-user",
    "license": "MIT",
    "category": "automation",
    "status": "active",
    "priority": "high",
    "environment": "production"
  },
  "name": "Log errors and avoid sending too many emails",
  "tags": [
    "automation",
    "n8n",
    "production-ready",
    "excellent",
...

Workflow Details

Nodes
16
Trigger
Event
Source
community
Added
Sep 29, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

Zoom AI Meeting Assistant

Sub workflow: Create Task in ClickUp

Lmchatopenai
Zoom
Http-request
Openai
24 nodesEvent
Curated

Memorybufferwindow Workflow

Automated workflow: Memorybufferwindow Workflow. This workflow integrates 18 different services: stickyNote, httpRequest...

Emailsend
Http-request
Executeworkflow
Schedule
45 nodesEvent

SHEETS RAG

Automated workflow: SHEETS RAG. This workflow integrates 13 different services: stickyNote, googleDriveTrigger, code, lm...

Google-drive
Postgres
Google-sheets
Executeworkflow
24 nodesEvent

Translate questions about e-mails into SQL queries and run them

Automated workflow: Translate questions about e-mails into SQL queries and run them. This workflow integrates 14 differe...

Readwritefile
Postgres
Executeworkflow
27 nodesEvent

Youtube Searcher

Automated workflow: Youtube Searcher. This workflow integrates 11 different services: stickyNote, httpRequest, youTube,...

Http-request
Executeworkflow
Postgres
Youtube
21 nodesEvent

Zoom AI Meeting Assistant

Automated workflow: Zoom AI Meeting Assistant. This workflow integrates 19 different services: stickyNote, lmChatOpenAi,...

Zoom
Http-request
Emailsend
Microsoftoutlooktool
24 nodesEvent