# Check an n8n workflow for missing error handling

**Use case:** 

Find out what happens to your automation when an API call fails. Reports workflows with no error workflow, no Error Trigger and no node setting Retry on Fail or On Error while they call external services, loops whose done branch goes nowhere, HTTP Request nodes with no timeout, and nodes still using the deprecated continueOnFail flag. One workflow-level row, not one per node.

## Input

```json
{
  "workflowJson": {
    "name": "Sync customers to HubSpot",
    "nodes": [
      {
        "id": "1",
        "name": "Every 15 minutes",
        "type": "n8n-nodes-base.scheduleTrigger",
        "typeVersion": 1.2,
        "position": [
          0,
          0
        ],
        "parameters": {
          "rule": {
            "interval": [
              {
                "field": "minutes",
                "minutesInterval": 15
              }
            ]
          }
        }
      },
      {
        "id": "2",
        "name": "List customers",
        "type": "n8n-nodes-base.httpRequest",
        "typeVersion": 4.2,
        "position": [
          220,
          0
        ],
        "parameters": {
          "url": "https://api.billing.internal/v1/customers",
          "options": {}
        }
      },
      {
        "id": "3",
        "name": "Loop Over Items",
        "type": "n8n-nodes-base.splitInBatches",
        "typeVersion": 3,
        "position": [
          440,
          0
        ],
        "parameters": {
          "batchSize": 25,
          "options": {}
        }
      },
      {
        "id": "4",
        "name": "Upsert in HubSpot",
        "type": "n8n-nodes-base.httpRequest",
        "typeVersion": 4.2,
        "position": [
          660,
          120
        ],
        "parameters": {
          "url": "=https://api.hubapi.com/crm/v3/objects/contacts/{{ $json.id }}",
          "method": "PATCH",
          "options": {}
        },
        "credentials": {
          "httpHeaderAuth": {
            "id": "7",
            "name": "HubSpot header auth"
          }
        }
      },
      {
        "id": "5",
        "name": "Log result",
        "type": "n8n-nodes-base.httpRequest",
        "typeVersion": 4.2,
        "position": [
          880,
          120
        ],
        "parameters": {
          "url": "https://logs.internal/ingest",
          "method": "POST",
          "options": {}
        },
        "continueOnFail": true
      }
    ],
    "connections": {
      "Every 15 minutes": {
        "main": [
          [
            {
              "node": "List customers",
              "type": "main",
              "index": 0
            }
          ]
        ]
      },
      "List customers": {
        "main": [
          [
            {
              "node": "Loop Over Items",
              "type": "main",
              "index": 0
            }
          ]
        ]
      },
      "Loop Over Items": {
        "main": [
          [],
          [
            {
              "node": "Upsert in HubSpot",
              "type": "main",
              "index": 0
            }
          ]
        ]
      },
      "Upsert in HubSpot": {
        "main": [
          [
            {
              "node": "Log result",
              "type": "main",
              "index": 0
            }
          ]
        ]
      },
      "Log result": {
        "main": [
          [
            {
              "node": "Loop Over Items",
              "type": "main",
              "index": 0
            }
          ]
        ]
      }
    },
    "settings": {}
  },
  "workflowUrls": [],
  "workflowIds": [],
  "activeOnly": false,
  "ruleSet": "reliability",
  "minSeverity": "info",
  "ignoreRules": [],
  "includeReport": false
}
```

## Output

```json
{
  "severity": {
    "label": "Severity",
    "format": "string"
  },
  "rule": {
    "label": "Rule ID",
    "format": "string"
  },
  "ruleTitle": {
    "label": "Rule",
    "format": "string"
  },
  "category": {
    "label": "Category",
    "format": "string"
  },
  "workflowName": {
    "label": "Workflow",
    "format": "string"
  },
  "nodeName": {
    "label": "Node",
    "format": "string"
  },
  "nodeType": {
    "label": "Node type",
    "format": "string"
  },
  "message": {
    "label": "Finding",
    "format": "string"
  },
  "parameterPath": {
    "label": "Parameter",
    "format": "string"
  },
  "evidence": {
    "label": "Evidence (masked)",
    "format": "string"
  },
  "remediation": {
    "label": "How to fix",
    "format": "string"
  },
  "docsUrl": {
    "label": "Docs",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [n8n Workflow Auditor - Linter & Security Review](https://apify.com/mediocre_interest/n8n-workflow-auditor.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/mediocre_interest/n8n-workflow-auditor.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
This Task's input is already configured above — use it as-is rather than inventing a new one.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/mediocre_interest/n8n-workflow-auditor.md

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).
