Data Processing & Analysis

Log errors and avoid sending too many emails

Log errors and avoid sending too many emails

Complex
High
16
Nodes
Complex
Trigger
High
Complexity
7/22/2025
Added

Workflow Overview

Total Nodes
16
Node Types
11

Node Types

error Trigger
Error Trigger
1 node
postgres
Insert Log, Count for 5 minutes, Truncate Log Database
3 nodes
sticky Note
Sticky Note, Sticky Note1, Sticky Note2
3 nodes
email Send
Principal E-Mail, Fallback E-Mail
2 nodes
pushover
Push mobile notification
1 node
manual Trigger
Sometimes... just cleanup
1 node
execute Workflow
Call this Sample - Prepend to your error catcher
1 node
execute Workflow Trigger
See below to prepend this at your error handling
1 node
if
If there is no logs in 5 minutes
1 node
code
CleanUp execution. See below if you will prepend this workflow
1 node
no Op
Insert your error handling logic after this
1 node

Workflow JSON

18.23 KB
{
  "id": "YybYYc430rmZWJPJ",
  "meta": {
    "instanceId": "febfa0961d1e55a48938f0337f348b73a50538aa16673607611ead85d95f662c",
    "templateCredsSetupCompleted": true
  },
  "name": "Log errors and avoid sending too many emails",
  "tags": [
    {
      "id": "7YoU4oTsaGGEtWJj",
      "name": "sample",
      "createdAt": "2025-01-31T16:41:27.407Z",
      "updatedAt": "2025-01-31T16:41:27.407Z"
    }
  ],
  "nodes": [
    {
      "id": "0e44df4c-00d2-4545-89ae-844a590de369",
      "name": "Error Trigger",
      "type": "n8n-nodes-base.errorTrigger",
      "position": [
        -1200,
        90
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "7101542a-5146-4917-a1f2-13686cad197e",
      "name": "Insert Log",
      "type": "n8n-nodes-base.postgres",
      "position": [
        -980,
        40
      ],
      "parameters": {
        "table": {
          "__rl": true,
          "mode": "list",
          "value": "N8Err",
          "cachedResultName": "N8Er...

Showing first 1000 characters. Click "Expand" to view the full JSON.