AutomationFlowsMarketing & Ads › Leadflow AI — 05 Global Error Handler

Leadflow AI — 05 Global Error Handler

LeadFlow AI — 05 Global Error Handler. Uses errorTrigger, httpRequest. Event-driven trigger; 3 nodes.

Event trigger★★★★☆ complexity3 nodesError TriggerHTTP Request
Marketing & Ads 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": "LeadFlow AI \u2014 05 Global Error Handler",
  "nodes": [
    {
      "parameters": {},
      "id": "d401e7c0-48ac-4dbe-8ee2-a2be0f4f33c2",
      "name": "Workflow Error Trigger",
      "type": "n8n-nodes-base.errorTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ]
    },
    {
      "parameters": {
        "jsCode": "const e = $json;\nreturn [{json: {\n  workflow_name: e.workflow?.name ?? '',\n  workflow_id: e.workflow?.id ?? '',\n  execution_id: e.execution?.id ?? '',\n  message: e.execution?.error?.message ?? e.error?.message ?? 'Unknown n8n error',\n  stack: e.execution?.error?.stack ?? e.error?.stack ?? '',\n  raw: e,\n}}];"
      },
      "id": "2057dd1f-5cf0-4325-9123-89b203b092cb",
      "name": "Format Error",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        260,
        0
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "http://leadflow-api:8000/api/errors",
        "options": {
          "timeout": 30000
        },
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "X-LeadFlow-Key",
              "value": "={{ $env.LEADFLOW_INTERNAL_API_KEY }}"
            },
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ $json }}"
      },
      "id": "12f3808c-88aa-4c99-854f-351dfa28b969",
      "name": "Log and Notify Error",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        540,
        0
      ]
    }
  ],
  "connections": {
    "Workflow Error Trigger": {
      "main": [
        [
          {
            "node": "Format Error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Error": {
      "main": [
        [
          {
            "node": "Log and Notify Error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "e57428e9-7485-4b29-8067-00d9928ee809",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "tags": [],
  "id": "589bf8d7-2ffa-4f34-a029-bea1df9bcda3"
}
Pro

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

About this workflow

LeadFlow AI — 05 Global Error Handler. Uses errorTrigger, httpRequest. Event-driven trigger; 3 nodes.

Source: https://github.com/1liasx/leadflow-ai/blob/main/workflows/05_global_error_handler.json — original creator credit. Request a take-down →

More Marketing & Ads workflows → · Browse all categories →

Related workflows

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

Marketing & Ads

⚡AI-Powered YouTube Playlist & Video Summarization and Analysis v2. Uses httpRequest, n8n-nodes-youtube-transcription-dmr, redis. Event-driven trigger; 73 nodes.

HTTP Request, N8N Nodes Youtube Transcription Dmr, Redis
Marketing & Ads

Workflow A — WhatsApp Lead Intake & Qualification. Uses postgres, httpRequest, errorTrigger. Scheduled trigger; 67 nodes.

Postgres, HTTP Request, Error Trigger
Marketing & Ads

Lead Cleanup - SMS Errors & DNC. Uses httpRequest, slack. Event-driven trigger; 49 nodes.

HTTP Request, Slack
Marketing & Ads

LAB 10 - Trade Fair Lead Processing - Inspectable. Uses httpRequest. Event-driven trigger; 46 nodes.

HTTP Request
Marketing & Ads

Maximize your conversion rates with this end-to-end automated outreach and lead nurturing system. This workflow manages the entire sales lifecycle—from instant contact enrollment via WhatsApp to AI-pe

N8N Nodes Wati, Airtable, HTTP Request