AutomationFlowsWeb Scraping › Error Trigger to Axiom (via Stdout)

Error Trigger to Axiom (via Stdout)

Error Trigger to Axiom (via stdout). Uses errorTrigger. Event-driven trigger; 2 nodes.

Event trigger★★★★☆ complexity2 nodesError Trigger
Web Scraping Trigger: Event Nodes: 2 Complexity: ★★★★☆ Added:

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
{
  "updatedAt": "2026-06-01T22:21:07.682Z",
  "createdAt": "2026-06-01T22:21:07.682Z",
  "id": "QmE7mVc1XpxaEu0u",
  "name": "Error Trigger to Axiom (via stdout)",
  "description": null,
  "active": true,
  "isArchived": false,
  "nodes": [
    {
      "parameters": {},
      "id": "e44d3725-d72b-426c-9a4f-56bb4979e262",
      "name": "Error Trigger",
      "type": "n8n-nodes-base.errorTrigger",
      "typeVersion": 1,
      "position": [
        80,
        220
      ]
    },
    {
      "parameters": {
        "jsCode": "const execution = $input.item.json.execution;\nconst workflow = $input.item.json.workflow;\n\nconst logPayload = {\n  timestamp: new Date().toISOString(),\n  level: \"error\",\n  service: \"n8n\",\n  workflow: {\n    id: workflow.id,\n    name: workflow.name\n  },\n  execution: {\n    id: execution.id,\n    url: execution.url,\n    failedNode: execution.lastNodeExecuted,\n    error: {\n      message: execution.error?.message || \"Unknown error\",\n      stack: execution.error?.stack\n    }\n  }\n};\n\n// Print to container stdout (Vector will automatically ship this to Axiom)\nconsole.log(JSON.stringify(logPayload));\n\nreturn { json: logPayload };"
      },
      "id": "4020de29-7988-4c12-9c17-bfbe362096a6",
      "name": "Format & Log to Console",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        300,
        220
      ]
    }
  ],
  "connections": {
    "Error Trigger": {
      "main": [
        [
          {
            "node": "Format & Log to Console",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "staticData": null,
  "meta": null,
  "versionId": "98fe50be-4502-49a6-b136-866d7f8197ef",
  "activeVersionId": "98fe50be-4502-49a6-b136-866d7f8197ef",
  "versionCounter": 1,
  "triggerCount": 0,
  "shared": [
    {
      "updatedAt": "2026-06-01T22:21:07.687Z",
      "createdAt": "2026-06-01T22:21:07.687Z",
      "role": "workflow:owner",
      "workflowId": "QmE7mVc1XpxaEu0u",
      "projectId": "GfFdmZTqGEJQkrXG",
      "project": {
        "updatedAt": "2026-05-11T09:44:44.757Z",
        "createdAt": "2026-05-11T09:34:45.695Z",
        "id": "GfFdmZTqGEJQkrXG",
        "name": "\u00c9ole Wind <megazef@gmail.com>",
        "type": "personal",
        "icon": null,
        "description": null,
        "creatorId": "2792484d-cba3-4156-adba-fbc49134eb55"
      }
    }
  ],
  "tags": [],
  "activeVersion": {
    "updatedAt": "2026-06-01T22:21:07.689Z",
    "createdAt": "2026-06-01T22:21:07.689Z",
    "versionId": "98fe50be-4502-49a6-b136-866d7f8197ef",
    "workflowId": "QmE7mVc1XpxaEu0u",
    "nodes": [
      {
        "parameters": {},
        "id": "e44d3725-d72b-426c-9a4f-56bb4979e262",
        "name": "Error Trigger",
        "type": "n8n-nodes-base.errorTrigger",
        "typeVersion": 1,
        "position": [
          80,
          220
        ]
      },
      {
        "parameters": {
          "jsCode": "const execution = $input.item.json.execution;\nconst workflow = $input.item.json.workflow;\n\nconst logPayload = {\n  timestamp: new Date().toISOString(),\n  level: \"error\",\n  service: \"n8n\",\n  workflow: {\n    id: workflow.id,\n    name: workflow.name\n  },\n  execution: {\n    id: execution.id,\n    url: execution.url,\n    failedNode: execution.lastNodeExecuted,\n    error: {\n      message: execution.error?.message || \"Unknown error\",\n      stack: execution.error?.stack\n    }\n  }\n};\n\n// Print to container stdout (Vector will automatically ship this to Axiom)\nconsole.log(JSON.stringify(logPayload));\n\nreturn { json: logPayload };"
        },
        "id": "4020de29-7988-4c12-9c17-bfbe362096a6",
        "name": "Format & Log to Console",
        "type": "n8n-nodes-base.code",
        "typeVersion": 2,
        "position": [
          300,
          220
        ]
      }
    ],
    "connections": {
      "Error Trigger": {
        "main": [
          [
            {
              "node": "Format & Log to Console",
              "type": "main",
              "index": 0
            }
          ]
        ]
      }
    },
    "authors": "\u00c9ole Wind",
    "name": null,
    "description": null,
    "autosaved": false,
    "workflowPublishHistory": [
      {
        "createdAt": "2026-06-01T22:21:07.828Z",
        "id": 178,
        "workflowId": "QmE7mVc1XpxaEu0u",
        "versionId": "98fe50be-4502-49a6-b136-866d7f8197ef",
        "event": "activated",
        "userId": "2792484d-cba3-4156-adba-fbc49134eb55"
      }
    ]
  }
}
Pro

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

About this workflow

Error Trigger to Axiom (via stdout). Uses errorTrigger. Event-driven trigger; 2 nodes.

Source: https://github.com/gnueole/jobby-md2html/blob/main/n8n/error-trigger-to-axiom-via-stdout.json — original creator credit. Request a take-down →

More Web Scraping workflows → · Browse all categories →

Related workflows

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

Web Scraping

Say goodbye to messy JSON exports. Treat your n8n automations like real software with a built-in CI/CD pipeline.

GitHub, HTTP Request, Form Trigger +2
Web Scraping

WB-02: Auto-Assign Officer. Uses executeWorkflowTrigger, httpRequest, errorTrigger. Event-driven trigger; 8 nodes.

Execute Workflow Trigger, HTTP Request, Error Trigger
Web Scraping

Global Error Handler - Kimi Auto-Heal. Uses errorTrigger, httpRequest, emailSend. Event-driven trigger; 4 nodes.

Error Trigger, HTTP Request, Email Send
Web Scraping

Error Trigger to Axiom (via stdout). Uses errorTrigger. Event-driven trigger; 2 nodes.

Error Trigger
Web Scraping

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

Error Trigger, HTTP Request