AutomationFlowsGeneral › n8n Error Notifier with HTTP Alerts

n8n Error Notifier with HTTP Alerts

Original n8n title: Error Notifier

Error Notifier. Uses errorTrigger, httpRequest. Event-driven trigger; 3 nodes.

Event trigger★★★★☆ complexity3 nodesError TriggerHTTP Request
General Trigger: Event Nodes: 3 Complexity: ★★★★☆ Added:

This workflow follows the Error Trigger → HTTP Request recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "Error Notifier",
  "nodes": [
    {
      "id": "error-trigger-001",
      "name": "Error Trigger",
      "type": "n8n-nodes-base.errorTrigger",
      "typeVersion": 1,
      "position": [
        250,
        300
      ],
      "parameters": {}
    },
    {
      "id": "format-msg-001",
      "name": "Format Message",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        480,
        300
      ],
      "parameters": {
        "jsCode": "const err = $input.first().json;\nconst wfName = err.workflow?.name || 'Unknown';\nconst wfId = err.workflow?.id || '';\nconst execId = err.execution?.id || '';\nconst errorMsg = err.execution?.error?.message || 'Unknown error';\nconst nodeName = err.execution?.error?.node?.name || err.execution?.lastNodeExecuted || 'Unknown';\nconst execUrl = `YOUR_N8N_URL/workflow/${wfId}/executions/${execId}`;\nconst text = `Error: ${wfName}\\n\\nNode: ${nodeName}\\n${errorMsg.slice(0,300)}\\n\\nExecution: ${execUrl}`;\nreturn [{ json: { text } }];"
      }
    },
    {
      "id": "send-alert-001",
      "name": "Send Alert",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        710,
        300
      ],
      "parameters": {
        "method": "POST",
        "url": "https://api.telegram.org/botYOUR_BOT_TOKEN/sendMessage",
        "sendBody": true,
        "contentType": "json",
        "specifyBody": "keypair",
        "bodyParameters": {
          "parameters": [
            {
              "name": "chat_id",
              "value": "YOUR_CHAT_ID"
            },
            {
              "name": "text",
              "value": "={{ $json.text }}"
            },
            {
              "name": "parse_mode",
              "value": "Markdown"
            }
          ]
        },
        "options": {}
      }
    }
  ],
  "connections": {
    "Error Trigger": {
      "main": [
        [
          {
            "node": "Format Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Message": {
      "main": [
        [
          {
            "node": "Send Alert",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Error Notifier. Uses errorTrigger, httpRequest. Event-driven trigger; 3 nodes.

Source: https://github.com/mike-prokhorov/n8n-automation-templates/blob/main/error-notifier/error-notifier.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

General

Product - Google Search Console API Examples. Uses httpRequest. Event-driven trigger; 36 nodes.

HTTP Request
General

Multi-Service Screenshot Scraping: ScraperAPI, Scrapingdog, & ScreenshotOne. Uses manualTrigger, httpRequest, stickyNote, dateTime. Event-driven trigger; 13 nodes.

HTTP Request
General

n8n Asynchronous Workflow with Wait Node POC. Uses manualTrigger, executeWorkflowTrigger, executeWorkflow, httpRequest. Event-driven trigger; 12 nodes.

Execute Workflow Trigger, HTTP Request
General

Media Sync (Local HDD → Google Drive). Uses localFileTrigger, readWriteFile, googleDrive, httpRequest. Event-driven trigger; 9 nodes.

Local File Trigger, Read Write File, Google Drive +1
General

No-Code: Convert Multiple Binary Files to Base64. Uses manualTrigger, compression, httpRequest, splitOut. Event-driven trigger; 8 nodes.

Compression, HTTP Request