Lint an n8n workflow JSON
workflow.lintAnalyze n8n workflow JSON to find errors and warnings: missing credentials, deprecated nodes, broken connections, and more. Fix issues to ensure reliable automation.
Instructions
Lint an n8n workflow JSON. Returns concrete errors and warnings: missing credentials, deprecated node types (Function -> Code, spreadsheetFile -> convertToFile/extractFromFile), broken connections, missing or non-numeric typeVersion, duplicate node names or IDs, AI Agent missing ai_languageModel sub-node, Webhook missing webhookId, IF node still on v1 condition schema, rate-sensitive nodes without retries, Code-node sandbox violations, expression staleness ($('NodeName') referencing missing nodes), manualTrigger in active workflows, disabled-but-wired nodes, empty Set nodes, HTTP method/body mismatches, Schedule trigger DST risk, credential drift, webhook test paths in active workflows. Deterministic, rule-based.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow | Yes | n8n workflow as either a parsed object or a JSON string (will be parsed). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issues | Yes | All lint findings, ordered by node. | |
| error_count | Yes | Number of error-severity issues. | |
| warning_count | Yes | Number of warning-severity issues. |