[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-n8n-n8n-error-handling-official":3,"mdc-uk7w3r-key":33,"related-org-n8n-n8n-error-handling-official":1864,"related-repo-n8n-n8n-error-handling-official":2020},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":23,"repoUrl":24,"updatedAt":25,"license":26,"forks":27,"topics":28,"repo":29,"sourceUrl":31,"mdContent":32},"n8n-error-handling-official","implement error handling in n8n","Use when building any webhook-triggered workflow, scheduled\u002Fproduction-bound workflow, wiring a per-node error output, or any workflow where silent failure would drop user-visible work. Triggers on \"webhook\", \"respond to webhook\", \"API\", \"production\", \"error\", \"failure\", \"5xx\", \"try\u002Fcatch\", \"error workflow\", \"onError\", \"continueErrorOutput\", \"error branch\", \"node error output\", \"output(1)\", \"main[1]\", \"scheduled\", or any workflow that runs unattended.",{"slug":8,"name":8,"logoUrl":9,"githubOrg":10},"n8n","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fn8n.png","n8n-io",[12,14,17,20],{"name":8,"slug":8,"type":13},"tag",{"name":15,"slug":16,"type":13},"Operations","operations",{"name":18,"slug":19,"type":13},"Debugging","debugging",{"name":21,"slug":22,"type":13},"Workflow Automation","workflow-automation",319,"https:\u002F\u002Fgithub.com\u002Fn8n-io\u002Fskills","2026-07-08T05:44:59.710099",null,30,[],{"repoUrl":24,"stars":23,"forks":27,"topics":30,"description":26},[],"https:\u002F\u002Fgithub.com\u002Fn8n-io\u002Fskills\u002Ftree\u002FHEAD\u002Fskills\u002Fn8n-error-handling-official","---\nname: n8n-error-handling-official\ndescription: Use when building any webhook-triggered workflow, scheduled\u002Fproduction-bound workflow, wiring a per-node error output, or any workflow where silent failure would drop user-visible work. Triggers on \"webhook\", \"respond to webhook\", \"API\", \"production\", \"error\", \"failure\", \"5xx\", \"try\u002Fcatch\", \"error workflow\", \"onError\", \"continueErrorOutput\", \"error branch\", \"node error output\", \"output(1)\", \"main[1]\", \"scheduled\", or any workflow that runs unattended.\n---\n\n# n8n Error Handling\n\nDefault n8n node behavior: error → workflow halts → caller gets nothing useful. For unattended workflows (webhook APIs, scheduled jobs, queue workers), that default is wrong. The symptom is \"the integration just stopped working\" with no log, no message, no clue.\n\nThis skill is about handling errors so failures are loud, structured, and recoverable. Or best case scenario, handled in a way where it self heals.\n\n## Non-negotiables\n\nFor any **API-shaped workflow** (webhook trigger paired with `Respond to Webhook`):\n\n1. **Every fallible node's error output is wired, and both paths end at a `Respond to Webhook`.** No hanging error branches, or the caller would see a timeout. \"Fallible\" = HTTP, DB, third-party API, file operation, anything that throws.\n2. **Status code maps to cause.** Caller's fault → 4xx, your fault → 5xx. A 200 default on an error path produces silent failure: caller thinks success, processes empty data.\n\nFor any **unattended workflow** (scheduled, cron, queue-driven, agent tool):\n3. **Set a workflow-level error workflow.** Catches what escapes per-node handling: timeouts, crashes between nodes, errors in unwired nodes. Set it via `update_workflow` `setWorkflowSettings.errorWorkflow` (n8n 2.29.0+); the target must be a published workflow containing an active Error Trigger, or the update is rejected. See `references\u002FERROR_WORKFLOWS.md`.\n\n## Strong defaults\n\n- **Error response bodies are structured.** Not just \"Internal Server Error\". Use `{ \"error\": \"\u003Cshort identifier>\", \"message\": \"\u003Chuman-readable>\" }`. See `references\u002FRESPONSE_SHAPES.md`.\n- **Network-calling nodes have `retryOnFail` configured.** Transient 429s and upstream blips get absorbed before reaching the error path. See \"Self-healing on transient failures\" below.\n\n## When error handling can be looser\n\nInternal one-off workflows where you're the only user, you watch each run, and the cost of failure is \"I notice and re-run\". Default `onError: 'stopWorkflow'` is fine. The line: if anyone other than you sees the output (downstream system, end user, on-call), the non-negotiables apply.\n\n## API workflow shape\n\nThe canonical webhook-API workflow:\n\n```\nWebhook trigger\n  ├── (success path)  → Process → Respond to Webhook (200, body)\n  └── (any node's error output)\n                       → Respond to Webhook (5xx, structured error body)\n                       → Optional: log to error tracker \u002F logger \u002F notify channel\n```\n\nFor a complete walkthrough including how to wire multiple fallible nodes to a single error responder, see `references\u002FAPI_WORKFLOWS.md`.\n\n## Schema validator (Set IIFE)\n\nFor any webhook API doing input validation, lift the Set-based schema validator pattern into the endpoint instead of writing IF\u002FSwitch chains per field. The two example files are the source of truth:\n\n- `references\u002Fexamples\u002Fvalidation-subworkflow.ts`: the bare pattern (Webhook → Set with the validation IIFE → Respond, expression-driven status code). Useful as a minimal demo.\n- `references\u002Fexamples\u002Fvalidation-subworkflow-usage.ts`: the endpoint pattern (Webhook → Set → If valid → your business logic → 200 success \u002F 400 with the standard `{error: \"validation_error\", message, details, request_schema}` body). Lift this into your endpoint and replace the NoOp placeholder with real logic.\n\n**The procedure for an agent using this:**\n\n1. **Lift the usage-example structure into the new endpoint.** Webhook → Set (Validate Schema) → If Params Valid → your logic → success\u002F400 Respond. Don't reinvent.\n2. **Edit the IIFE for your schema.** Update `REQUIRED_SCHEMA` and the per-field checks inside the Set node's expression for your endpoint's input shape. The pattern below the schema constant is mechanical: presence check, type check, constraint check, push to `errors[]`.\n3. **Leave the output shape alone.** `valid`, `validationError`, `details`, `requiredSchema` are the contract the Respond node consumes. Renaming them breaks the response body.\n\nThe full procedure, supported constraint patterns, schema design rules, and the `={{ ... }}` wrapping gotchas live in `references\u002FAPI_WORKFLOWS.md` \"Schema validator (Set IIFE)\".\n\n## Per-node error setup (recap)\n\nEach fallible node needs two changes (see `references\u002FNODE_ERROR_OUTPUTS.md`):\n\n1. **Set `onError: 'continueErrorOutput'`** on the node config.\n2. **Wire `output(1)`** to your error handler.\n\nBoth required. One without the other is the silent-failure mode.\n\n## Self-healing on transient failures\n\nBefore wiring the error path, configure node-level retry on any node making a network call (HTTP Request, comms like Gmail\u002FSlack\u002FDiscord, DB, AI, third-party API nodes). Transient 429s and brief upstream blips get absorbed, so the error output then only fires on real failures, and alerts and 5xx responses reflect actual problems instead of noise.\n\n```ts\n{\n    retryOnFail: true,\n    maxTries: 3,\n    waitBetweenTries: 5000,    \u002F\u002F ms; 5000 is the max and should be your default\n}\n```\n\nWorks on any node that calls a network service, not just HTTP Request. The engine retries on *any* error, with no per-status-code filter, and the engine caps `maxTries` at 5 and `waitBetweenTries` at 5000ms (`packages\u002Fcore\u002Fsrc\u002Fexecution-engine\u002Fworkflow-execute.ts`). See `n8n-node-configuration-official` `HTTP_NODES.md` and `AI_NODES.md` for node-specific notes.\n\n## Response shapes: map the cause to the status code\n\nA 5xx response with `text\u002Fplain \"Internal Server Error\"` is technically 5xx but useless. And not every error is 5xx. Match the status code to *why* the request failed.\n\n**Common mistake:** wiring every error path to a single `Respond to Webhook` returning 500 \"internal_error\". Every failure looks the same to the caller, even when they sent bad input. Breaks monitoring: you can't distinguish real outages from bad caller input.\n\n**Default mapping by cause:**\n\n| Cause | Status | Error code | Path |\n|---|---|---|---|\n| Required field missing or wrong type | 400 | `validation_error` | Validate up front with the Set-based schema validator (see `references\u002Fexamples\u002Fvalidation-subworkflow.ts` for the bare pattern and `validation-subworkflow-usage.ts` for the endpoint template), or, for trivial cases, an inline IF\u002FSwitch + dedicated 400 Respond. Don't go through error outputs. Ideally echo the schema in the response so the caller can self-correct. |\n| Auth missing or invalid | 401 | `unauthorized` | Same. Check up front, return 401 directly. |\n| Authenticated but not allowed | 403 | `forbidden` | Same. |\n| Resource ID exists in request, doesn't in your data | 404 | `not_found` | Branch off the lookup result, not the lookup error. |\n| Operation conflicts with current state (duplicate, race) | 409 | `conflict` | Detect with logic, not error output. |\n| Caller exceeded rate limit | 429 | `rate_limit_exceeded` | Set `Retry-After` header. |\n| Node threw and you don't know why | 500 | `internal_error` | The error-output path. |\n| Third-party API errored | 502 | `upstream_error` | Error output of the HTTP Request node. |\n| Workflow can't currently process (downstream down, rate-limited upstream) | 503 | `service_unavailable` | Detect via specific error, return with hint. |\n| Third-party API timed out | 504 | `upstream_timeout` | Error output filtered by error message. |\n\n**Two distinct flows:**\n\n- **Validation failures (4xx)** are checked *upstream* of the work, via IF\u002FSwitch branches, not error outputs. Use a dedicated Respond per shape (400 missing field, 401 no auth, etc.).\n- **Execution failures (5xx)** come out of error outputs (\"we tried, something broke\"). A single error responder for all 5xx is fine. Differentiate the body's `error` code by inspecting the failed node where useful.\n\n**One Respond, expression-driven status code.** When the error path differs only by status code and message text (same body shape, no header\u002Fcontent-type changes), don't fan out to N Respond nodes via a Switch. The Respond to Webhook node accepts expressions in its `Response Code` and body fields. Compute the code inline, so one Respond node carries the whole error path.\n\n```ts\n\u002F\u002F Response Code on a single Respond to Webhook node:\n{{ (() => {\n    const msg = $json.error?.message || $json.message || ''\n    if (msg.includes('INVALID_ID')) return 400\n    if (\u002F429|too many\u002Fi.test(msg)) return 429\n    if (\u002Fopenrouter|anthropic|llm\u002Fi.test(msg)) return 502\n    return 500\n})() }}\n```\n\nSwitch + N Responds only earn their place when responses diverge *structurally*: different headers, different body shapes, redirects, different content types. Same shape with a different number is one expression-driven Respond.\n\nFor full conventions including correlation IDs, retryable-vs-fatal flags, validation details, and rate-limit shapes, see `references\u002FRESPONSE_SHAPES.md`.\n\n## Workflow-level error workflows\n\nFor unattended workflows, configure the instance's error workflow (or per-workflow override) to point at a workflow that:\n\n1. Captures the failure (workflow name, execution ID, error, stack).\n2. Notifies someone (Slack, email, on-call).\n3. Optionally enqueues a retry (with backoff).\n\nCatches what per-node handling misses: timeouts, crashes between nodes, errors in unwired nodes.\n\nSee `references\u002FERROR_WORKFLOWS.md`.\n\n## Reference files\n\n| File | Read when |\n|---|---|\n| `references\u002FAPI_WORKFLOWS.md` | Building or reviewing a webhook-trigger \u002F respond-to-webhook workflow |\n| `references\u002FERROR_WORKFLOWS.md` | Setting up workflow-level error catching for production workflows |\n| `references\u002FRESPONSE_SHAPES.md` | Defining the response body conventions for your APIs |\n| `references\u002FNODE_ERROR_OUTPUTS.md` | Wiring a per-node error output on individual fallible nodes |\n\n## Anti-patterns\n\n| Anti-pattern | What goes wrong | Fix |\n|---|---|---|\n| Webhook → process → respond, no error branch | Caller gets timeout or empty 500 | Wire every fallible node's `output(1)` to a Respond to Webhook |\n| Single Respond to Webhook for both paths | Body shape doesn't tell caller what happened | Two Respond nodes, one per path, with explicit codes and bodies |\n| Error path returns 200 with `{ \"error\": ... }` body | Caller's HTTP client treats it as success, so error handling never fires | Always 4xx\u002F5xx for error paths |\n| Catching errors in Code node and returning them as data | Downstream sees error-shaped data, workflow continues | Let it throw, configure `onError: 'continueErrorOutput'` and wire the error path |\n| Production workflow with no workflow-level error workflow | A genuine failure goes nowhere | Set up an error workflow. See `ERROR_WORKFLOWS.md` |\n| Generic \"Internal Server Error\" on every failure | Can't distinguish caller bug from upstream from rate limit | Structured error codes. See `RESPONSE_SHAPES.md` |\n| Production node calls a flaky or rate-limited API with no `retryOnFail` | Every transient 429 or upstream blip surfaces as a 5xx, and alerts fire on noise | Set `retryOnFail: true, maxTries: 3, waitBetweenTries: 5000` on the node. See \"Self-healing on transient failures\" |\n| 500 for everything not a 200 | Caller can't separate their bad input from your outage, so their monitoring fires on your noise | Map cause → status code. Caller issues are 4xx. |\n| Switch over the error message → N Respond nodes that differ only by status code | 5 nodes for what's one Respond with an expression-driven `Response Code` | Compute the code inline in a single Respond. See \"One Respond, expression-driven status code\" above. |\n\n",{"data":34,"body":35},{"name":4,"description":6},{"type":36,"children":37},"root",[38,47,53,58,65,87,119,160,166,213,219,232,238,243,255,267,273,278,311,319,396,416,422,434,469,474,480,485,593,653,659,679,696,704,1034,1042,1080,1098,1452,1464,1475,1481,1486,1504,1509,1520,1526,1612,1618,1858],{"type":39,"tag":40,"props":41,"children":43},"element","h1",{"id":42},"n8n-error-handling",[44],{"type":45,"value":46},"text","n8n Error Handling",{"type":39,"tag":48,"props":49,"children":50},"p",{},[51],{"type":45,"value":52},"Default n8n node behavior: error → workflow halts → caller gets nothing useful. For unattended workflows (webhook APIs, scheduled jobs, queue workers), that default is wrong. The symptom is \"the integration just stopped working\" with no log, no message, no clue.",{"type":39,"tag":48,"props":54,"children":55},{},[56],{"type":45,"value":57},"This skill is about handling errors so failures are loud, structured, and recoverable. Or best case scenario, handled in a way where it self heals.",{"type":39,"tag":59,"props":60,"children":62},"h2",{"id":61},"non-negotiables",[63],{"type":45,"value":64},"Non-negotiables",{"type":39,"tag":48,"props":66,"children":67},{},[68,70,76,78,85],{"type":45,"value":69},"For any ",{"type":39,"tag":71,"props":72,"children":73},"strong",{},[74],{"type":45,"value":75},"API-shaped workflow",{"type":45,"value":77}," (webhook trigger paired with ",{"type":39,"tag":79,"props":80,"children":82},"code",{"className":81},[],[83],{"type":45,"value":84},"Respond to Webhook",{"type":45,"value":86},"):",{"type":39,"tag":88,"props":89,"children":90},"ol",{},[91,109],{"type":39,"tag":92,"props":93,"children":94},"li",{},[95,107],{"type":39,"tag":71,"props":96,"children":97},{},[98,100,105],{"type":45,"value":99},"Every fallible node's error output is wired, and both paths end at a ",{"type":39,"tag":79,"props":101,"children":103},{"className":102},[],[104],{"type":45,"value":84},{"type":45,"value":106},".",{"type":45,"value":108}," No hanging error branches, or the caller would see a timeout. \"Fallible\" = HTTP, DB, third-party API, file operation, anything that throws.",{"type":39,"tag":92,"props":110,"children":111},{},[112,117],{"type":39,"tag":71,"props":113,"children":114},{},[115],{"type":45,"value":116},"Status code maps to cause.",{"type":45,"value":118}," Caller's fault → 4xx, your fault → 5xx. A 200 default on an error path produces silent failure: caller thinks success, processes empty data.",{"type":39,"tag":48,"props":120,"children":121},{},[122,123,128,130,135,137,143,145,151,153,159],{"type":45,"value":69},{"type":39,"tag":71,"props":124,"children":125},{},[126],{"type":45,"value":127},"unattended workflow",{"type":45,"value":129}," (scheduled, cron, queue-driven, agent tool):\n3. ",{"type":39,"tag":71,"props":131,"children":132},{},[133],{"type":45,"value":134},"Set a workflow-level error workflow.",{"type":45,"value":136}," Catches what escapes per-node handling: timeouts, crashes between nodes, errors in unwired nodes. Set it via ",{"type":39,"tag":79,"props":138,"children":140},{"className":139},[],[141],{"type":45,"value":142},"update_workflow",{"type":45,"value":144}," ",{"type":39,"tag":79,"props":146,"children":148},{"className":147},[],[149],{"type":45,"value":150},"setWorkflowSettings.errorWorkflow",{"type":45,"value":152}," (n8n 2.29.0+); the target must be a published workflow containing an active Error Trigger, or the update is rejected. See ",{"type":39,"tag":79,"props":154,"children":156},{"className":155},[],[157],{"type":45,"value":158},"references\u002FERROR_WORKFLOWS.md",{"type":45,"value":106},{"type":39,"tag":59,"props":161,"children":163},{"id":162},"strong-defaults",[164],{"type":45,"value":165},"Strong defaults",{"type":39,"tag":167,"props":168,"children":169},"ul",{},[170,195],{"type":39,"tag":92,"props":171,"children":172},{},[173,178,180,186,188,194],{"type":39,"tag":71,"props":174,"children":175},{},[176],{"type":45,"value":177},"Error response bodies are structured.",{"type":45,"value":179}," Not just \"Internal Server Error\". Use ",{"type":39,"tag":79,"props":181,"children":183},{"className":182},[],[184],{"type":45,"value":185},"{ \"error\": \"\u003Cshort identifier>\", \"message\": \"\u003Chuman-readable>\" }",{"type":45,"value":187},". See ",{"type":39,"tag":79,"props":189,"children":191},{"className":190},[],[192],{"type":45,"value":193},"references\u002FRESPONSE_SHAPES.md",{"type":45,"value":106},{"type":39,"tag":92,"props":196,"children":197},{},[198,211],{"type":39,"tag":71,"props":199,"children":200},{},[201,203,209],{"type":45,"value":202},"Network-calling nodes have ",{"type":39,"tag":79,"props":204,"children":206},{"className":205},[],[207],{"type":45,"value":208},"retryOnFail",{"type":45,"value":210}," configured.",{"type":45,"value":212}," Transient 429s and upstream blips get absorbed before reaching the error path. See \"Self-healing on transient failures\" below.",{"type":39,"tag":59,"props":214,"children":216},{"id":215},"when-error-handling-can-be-looser",[217],{"type":45,"value":218},"When error handling can be looser",{"type":39,"tag":48,"props":220,"children":221},{},[222,224,230],{"type":45,"value":223},"Internal one-off workflows where you're the only user, you watch each run, and the cost of failure is \"I notice and re-run\". Default ",{"type":39,"tag":79,"props":225,"children":227},{"className":226},[],[228],{"type":45,"value":229},"onError: 'stopWorkflow'",{"type":45,"value":231}," is fine. The line: if anyone other than you sees the output (downstream system, end user, on-call), the non-negotiables apply.",{"type":39,"tag":59,"props":233,"children":235},{"id":234},"api-workflow-shape",[236],{"type":45,"value":237},"API workflow shape",{"type":39,"tag":48,"props":239,"children":240},{},[241],{"type":45,"value":242},"The canonical webhook-API workflow:",{"type":39,"tag":244,"props":245,"children":249},"pre",{"className":246,"code":248,"language":45},[247],"language-text","Webhook trigger\n  ├── (success path)  → Process → Respond to Webhook (200, body)\n  └── (any node's error output)\n                       → Respond to Webhook (5xx, structured error body)\n                       → Optional: log to error tracker \u002F logger \u002F notify channel\n",[250],{"type":39,"tag":79,"props":251,"children":253},{"__ignoreMap":252},"",[254],{"type":45,"value":248},{"type":39,"tag":48,"props":256,"children":257},{},[258,260,266],{"type":45,"value":259},"For a complete walkthrough including how to wire multiple fallible nodes to a single error responder, see ",{"type":39,"tag":79,"props":261,"children":263},{"className":262},[],[264],{"type":45,"value":265},"references\u002FAPI_WORKFLOWS.md",{"type":45,"value":106},{"type":39,"tag":59,"props":268,"children":270},{"id":269},"schema-validator-set-iife",[271],{"type":45,"value":272},"Schema validator (Set IIFE)",{"type":39,"tag":48,"props":274,"children":275},{},[276],{"type":45,"value":277},"For any webhook API doing input validation, lift the Set-based schema validator pattern into the endpoint instead of writing IF\u002FSwitch chains per field. The two example files are the source of truth:",{"type":39,"tag":167,"props":279,"children":280},{},[281,292],{"type":39,"tag":92,"props":282,"children":283},{},[284,290],{"type":39,"tag":79,"props":285,"children":287},{"className":286},[],[288],{"type":45,"value":289},"references\u002Fexamples\u002Fvalidation-subworkflow.ts",{"type":45,"value":291},": the bare pattern (Webhook → Set with the validation IIFE → Respond, expression-driven status code). Useful as a minimal demo.",{"type":39,"tag":92,"props":293,"children":294},{},[295,301,303,309],{"type":39,"tag":79,"props":296,"children":298},{"className":297},[],[299],{"type":45,"value":300},"references\u002Fexamples\u002Fvalidation-subworkflow-usage.ts",{"type":45,"value":302},": the endpoint pattern (Webhook → Set → If valid → your business logic → 200 success \u002F 400 with the standard ",{"type":39,"tag":79,"props":304,"children":306},{"className":305},[],[307],{"type":45,"value":308},"{error: \"validation_error\", message, details, request_schema}",{"type":45,"value":310}," body). Lift this into your endpoint and replace the NoOp placeholder with real logic.",{"type":39,"tag":48,"props":312,"children":313},{},[314],{"type":39,"tag":71,"props":315,"children":316},{},[317],{"type":45,"value":318},"The procedure for an agent using this:",{"type":39,"tag":88,"props":320,"children":321},{},[322,332,357],{"type":39,"tag":92,"props":323,"children":324},{},[325,330],{"type":39,"tag":71,"props":326,"children":327},{},[328],{"type":45,"value":329},"Lift the usage-example structure into the new endpoint.",{"type":45,"value":331}," Webhook → Set (Validate Schema) → If Params Valid → your logic → success\u002F400 Respond. Don't reinvent.",{"type":39,"tag":92,"props":333,"children":334},{},[335,340,342,348,350,356],{"type":39,"tag":71,"props":336,"children":337},{},[338],{"type":45,"value":339},"Edit the IIFE for your schema.",{"type":45,"value":341}," Update ",{"type":39,"tag":79,"props":343,"children":345},{"className":344},[],[346],{"type":45,"value":347},"REQUIRED_SCHEMA",{"type":45,"value":349}," and the per-field checks inside the Set node's expression for your endpoint's input shape. The pattern below the schema constant is mechanical: presence check, type check, constraint check, push to ",{"type":39,"tag":79,"props":351,"children":353},{"className":352},[],[354],{"type":45,"value":355},"errors[]",{"type":45,"value":106},{"type":39,"tag":92,"props":358,"children":359},{},[360,365,366,372,374,380,381,387,388,394],{"type":39,"tag":71,"props":361,"children":362},{},[363],{"type":45,"value":364},"Leave the output shape alone.",{"type":45,"value":144},{"type":39,"tag":79,"props":367,"children":369},{"className":368},[],[370],{"type":45,"value":371},"valid",{"type":45,"value":373},", ",{"type":39,"tag":79,"props":375,"children":377},{"className":376},[],[378],{"type":45,"value":379},"validationError",{"type":45,"value":373},{"type":39,"tag":79,"props":382,"children":384},{"className":383},[],[385],{"type":45,"value":386},"details",{"type":45,"value":373},{"type":39,"tag":79,"props":389,"children":391},{"className":390},[],[392],{"type":45,"value":393},"requiredSchema",{"type":45,"value":395}," are the contract the Respond node consumes. Renaming them breaks the response body.",{"type":39,"tag":48,"props":397,"children":398},{},[399,401,407,409,414],{"type":45,"value":400},"The full procedure, supported constraint patterns, schema design rules, and the ",{"type":39,"tag":79,"props":402,"children":404},{"className":403},[],[405],{"type":45,"value":406},"={{ ... }}",{"type":45,"value":408}," wrapping gotchas live in ",{"type":39,"tag":79,"props":410,"children":412},{"className":411},[],[413],{"type":45,"value":265},{"type":45,"value":415}," \"Schema validator (Set IIFE)\".",{"type":39,"tag":59,"props":417,"children":419},{"id":418},"per-node-error-setup-recap",[420],{"type":45,"value":421},"Per-node error setup (recap)",{"type":39,"tag":48,"props":423,"children":424},{},[425,427,433],{"type":45,"value":426},"Each fallible node needs two changes (see ",{"type":39,"tag":79,"props":428,"children":430},{"className":429},[],[431],{"type":45,"value":432},"references\u002FNODE_ERROR_OUTPUTS.md",{"type":45,"value":86},{"type":39,"tag":88,"props":435,"children":436},{},[437,453],{"type":39,"tag":92,"props":438,"children":439},{},[440,451],{"type":39,"tag":71,"props":441,"children":442},{},[443,445],{"type":45,"value":444},"Set ",{"type":39,"tag":79,"props":446,"children":448},{"className":447},[],[449],{"type":45,"value":450},"onError: 'continueErrorOutput'",{"type":45,"value":452}," on the node config.",{"type":39,"tag":92,"props":454,"children":455},{},[456,467],{"type":39,"tag":71,"props":457,"children":458},{},[459,461],{"type":45,"value":460},"Wire ",{"type":39,"tag":79,"props":462,"children":464},{"className":463},[],[465],{"type":45,"value":466},"output(1)",{"type":45,"value":468}," to your error handler.",{"type":39,"tag":48,"props":470,"children":471},{},[472],{"type":45,"value":473},"Both required. One without the other is the silent-failure mode.",{"type":39,"tag":59,"props":475,"children":477},{"id":476},"self-healing-on-transient-failures",[478],{"type":45,"value":479},"Self-healing on transient failures",{"type":39,"tag":48,"props":481,"children":482},{},[483],{"type":45,"value":484},"Before wiring the error path, configure node-level retry on any node making a network call (HTTP Request, comms like Gmail\u002FSlack\u002FDiscord, DB, AI, third-party API nodes). Transient 429s and brief upstream blips get absorbed, so the error output then only fires on real failures, and alerts and 5xx responses reflect actual problems instead of noise.",{"type":39,"tag":244,"props":486,"children":490},{"className":487,"code":488,"language":489,"meta":252,"style":252},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n    retryOnFail: true,\n    maxTries: 3,\n    waitBetweenTries: 5000,    \u002F\u002F ms; 5000 is the max and should be your default\n}\n","ts",[491],{"type":39,"tag":79,"props":492,"children":493},{"__ignoreMap":252},[494,506,532,555,584],{"type":39,"tag":495,"props":496,"children":499},"span",{"class":497,"line":498},"line",1,[500],{"type":39,"tag":495,"props":501,"children":503},{"style":502},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[504],{"type":45,"value":505},"{\n",{"type":39,"tag":495,"props":507,"children":509},{"class":497,"line":508},2,[510,516,521,527],{"type":39,"tag":495,"props":511,"children":513},{"style":512},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[514],{"type":45,"value":515},"    retryOnFail",{"type":39,"tag":495,"props":517,"children":518},{"style":502},[519],{"type":45,"value":520},":",{"type":39,"tag":495,"props":522,"children":524},{"style":523},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[525],{"type":45,"value":526}," true",{"type":39,"tag":495,"props":528,"children":529},{"style":502},[530],{"type":45,"value":531},",\n",{"type":39,"tag":495,"props":533,"children":535},{"class":497,"line":534},3,[536,541,545,551],{"type":39,"tag":495,"props":537,"children":538},{"style":512},[539],{"type":45,"value":540},"    maxTries",{"type":39,"tag":495,"props":542,"children":543},{"style":502},[544],{"type":45,"value":520},{"type":39,"tag":495,"props":546,"children":548},{"style":547},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[549],{"type":45,"value":550}," 3",{"type":39,"tag":495,"props":552,"children":553},{"style":502},[554],{"type":45,"value":531},{"type":39,"tag":495,"props":556,"children":558},{"class":497,"line":557},4,[559,564,568,573,578],{"type":39,"tag":495,"props":560,"children":561},{"style":512},[562],{"type":45,"value":563},"    waitBetweenTries",{"type":39,"tag":495,"props":565,"children":566},{"style":502},[567],{"type":45,"value":520},{"type":39,"tag":495,"props":569,"children":570},{"style":547},[571],{"type":45,"value":572}," 5000",{"type":39,"tag":495,"props":574,"children":575},{"style":502},[576],{"type":45,"value":577},",",{"type":39,"tag":495,"props":579,"children":581},{"style":580},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[582],{"type":45,"value":583},"    \u002F\u002F ms; 5000 is the max and should be your default\n",{"type":39,"tag":495,"props":585,"children":587},{"class":497,"line":586},5,[588],{"type":39,"tag":495,"props":589,"children":590},{"style":502},[591],{"type":45,"value":592},"}\n",{"type":39,"tag":48,"props":594,"children":595},{},[596,598,604,606,612,614,620,622,628,630,636,637,643,645,651],{"type":45,"value":597},"Works on any node that calls a network service, not just HTTP Request. The engine retries on ",{"type":39,"tag":599,"props":600,"children":601},"em",{},[602],{"type":45,"value":603},"any",{"type":45,"value":605}," error, with no per-status-code filter, and the engine caps ",{"type":39,"tag":79,"props":607,"children":609},{"className":608},[],[610],{"type":45,"value":611},"maxTries",{"type":45,"value":613}," at 5 and ",{"type":39,"tag":79,"props":615,"children":617},{"className":616},[],[618],{"type":45,"value":619},"waitBetweenTries",{"type":45,"value":621}," at 5000ms (",{"type":39,"tag":79,"props":623,"children":625},{"className":624},[],[626],{"type":45,"value":627},"packages\u002Fcore\u002Fsrc\u002Fexecution-engine\u002Fworkflow-execute.ts",{"type":45,"value":629},"). See ",{"type":39,"tag":79,"props":631,"children":633},{"className":632},[],[634],{"type":45,"value":635},"n8n-node-configuration-official",{"type":45,"value":144},{"type":39,"tag":79,"props":638,"children":640},{"className":639},[],[641],{"type":45,"value":642},"HTTP_NODES.md",{"type":45,"value":644}," and ",{"type":39,"tag":79,"props":646,"children":648},{"className":647},[],[649],{"type":45,"value":650},"AI_NODES.md",{"type":45,"value":652}," for node-specific notes.",{"type":39,"tag":59,"props":654,"children":656},{"id":655},"response-shapes-map-the-cause-to-the-status-code",[657],{"type":45,"value":658},"Response shapes: map the cause to the status code",{"type":39,"tag":48,"props":660,"children":661},{},[662,664,670,672,677],{"type":45,"value":663},"A 5xx response with ",{"type":39,"tag":79,"props":665,"children":667},{"className":666},[],[668],{"type":45,"value":669},"text\u002Fplain \"Internal Server Error\"",{"type":45,"value":671}," is technically 5xx but useless. And not every error is 5xx. Match the status code to ",{"type":39,"tag":599,"props":673,"children":674},{},[675],{"type":45,"value":676},"why",{"type":45,"value":678}," the request failed.",{"type":39,"tag":48,"props":680,"children":681},{},[682,687,689,694],{"type":39,"tag":71,"props":683,"children":684},{},[685],{"type":45,"value":686},"Common mistake:",{"type":45,"value":688}," wiring every error path to a single ",{"type":39,"tag":79,"props":690,"children":692},{"className":691},[],[693],{"type":45,"value":84},{"type":45,"value":695}," returning 500 \"internal_error\". Every failure looks the same to the caller, even when they sent bad input. Breaks monitoring: you can't distinguish real outages from bad caller input.",{"type":39,"tag":48,"props":697,"children":698},{},[699],{"type":39,"tag":71,"props":700,"children":701},{},[702],{"type":45,"value":703},"Default mapping by cause:",{"type":39,"tag":705,"props":706,"children":707},"table",{},[708,737],{"type":39,"tag":709,"props":710,"children":711},"thead",{},[712],{"type":39,"tag":713,"props":714,"children":715},"tr",{},[716,722,727,732],{"type":39,"tag":717,"props":718,"children":719},"th",{},[720],{"type":45,"value":721},"Cause",{"type":39,"tag":717,"props":723,"children":724},{},[725],{"type":45,"value":726},"Status",{"type":39,"tag":717,"props":728,"children":729},{},[730],{"type":45,"value":731},"Error code",{"type":39,"tag":717,"props":733,"children":734},{},[735],{"type":45,"value":736},"Path",{"type":39,"tag":738,"props":739,"children":740},"tbody",{},[741,784,811,838,865,892,926,953,980,1007],{"type":39,"tag":713,"props":742,"children":743},{},[744,750,755,764],{"type":39,"tag":745,"props":746,"children":747},"td",{},[748],{"type":45,"value":749},"Required field missing or wrong type",{"type":39,"tag":745,"props":751,"children":752},{},[753],{"type":45,"value":754},"400",{"type":39,"tag":745,"props":756,"children":757},{},[758],{"type":39,"tag":79,"props":759,"children":761},{"className":760},[],[762],{"type":45,"value":763},"validation_error",{"type":39,"tag":745,"props":765,"children":766},{},[767,769,774,776,782],{"type":45,"value":768},"Validate up front with the Set-based schema validator (see ",{"type":39,"tag":79,"props":770,"children":772},{"className":771},[],[773],{"type":45,"value":289},{"type":45,"value":775}," for the bare pattern and ",{"type":39,"tag":79,"props":777,"children":779},{"className":778},[],[780],{"type":45,"value":781},"validation-subworkflow-usage.ts",{"type":45,"value":783}," for the endpoint template), or, for trivial cases, an inline IF\u002FSwitch + dedicated 400 Respond. Don't go through error outputs. Ideally echo the schema in the response so the caller can self-correct.",{"type":39,"tag":713,"props":785,"children":786},{},[787,792,797,806],{"type":39,"tag":745,"props":788,"children":789},{},[790],{"type":45,"value":791},"Auth missing or invalid",{"type":39,"tag":745,"props":793,"children":794},{},[795],{"type":45,"value":796},"401",{"type":39,"tag":745,"props":798,"children":799},{},[800],{"type":39,"tag":79,"props":801,"children":803},{"className":802},[],[804],{"type":45,"value":805},"unauthorized",{"type":39,"tag":745,"props":807,"children":808},{},[809],{"type":45,"value":810},"Same. Check up front, return 401 directly.",{"type":39,"tag":713,"props":812,"children":813},{},[814,819,824,833],{"type":39,"tag":745,"props":815,"children":816},{},[817],{"type":45,"value":818},"Authenticated but not allowed",{"type":39,"tag":745,"props":820,"children":821},{},[822],{"type":45,"value":823},"403",{"type":39,"tag":745,"props":825,"children":826},{},[827],{"type":39,"tag":79,"props":828,"children":830},{"className":829},[],[831],{"type":45,"value":832},"forbidden",{"type":39,"tag":745,"props":834,"children":835},{},[836],{"type":45,"value":837},"Same.",{"type":39,"tag":713,"props":839,"children":840},{},[841,846,851,860],{"type":39,"tag":745,"props":842,"children":843},{},[844],{"type":45,"value":845},"Resource ID exists in request, doesn't in your data",{"type":39,"tag":745,"props":847,"children":848},{},[849],{"type":45,"value":850},"404",{"type":39,"tag":745,"props":852,"children":853},{},[854],{"type":39,"tag":79,"props":855,"children":857},{"className":856},[],[858],{"type":45,"value":859},"not_found",{"type":39,"tag":745,"props":861,"children":862},{},[863],{"type":45,"value":864},"Branch off the lookup result, not the lookup error.",{"type":39,"tag":713,"props":866,"children":867},{},[868,873,878,887],{"type":39,"tag":745,"props":869,"children":870},{},[871],{"type":45,"value":872},"Operation conflicts with current state (duplicate, race)",{"type":39,"tag":745,"props":874,"children":875},{},[876],{"type":45,"value":877},"409",{"type":39,"tag":745,"props":879,"children":880},{},[881],{"type":39,"tag":79,"props":882,"children":884},{"className":883},[],[885],{"type":45,"value":886},"conflict",{"type":39,"tag":745,"props":888,"children":889},{},[890],{"type":45,"value":891},"Detect with logic, not error output.",{"type":39,"tag":713,"props":893,"children":894},{},[895,900,905,914],{"type":39,"tag":745,"props":896,"children":897},{},[898],{"type":45,"value":899},"Caller exceeded rate limit",{"type":39,"tag":745,"props":901,"children":902},{},[903],{"type":45,"value":904},"429",{"type":39,"tag":745,"props":906,"children":907},{},[908],{"type":39,"tag":79,"props":909,"children":911},{"className":910},[],[912],{"type":45,"value":913},"rate_limit_exceeded",{"type":39,"tag":745,"props":915,"children":916},{},[917,918,924],{"type":45,"value":444},{"type":39,"tag":79,"props":919,"children":921},{"className":920},[],[922],{"type":45,"value":923},"Retry-After",{"type":45,"value":925}," header.",{"type":39,"tag":713,"props":927,"children":928},{},[929,934,939,948],{"type":39,"tag":745,"props":930,"children":931},{},[932],{"type":45,"value":933},"Node threw and you don't know why",{"type":39,"tag":745,"props":935,"children":936},{},[937],{"type":45,"value":938},"500",{"type":39,"tag":745,"props":940,"children":941},{},[942],{"type":39,"tag":79,"props":943,"children":945},{"className":944},[],[946],{"type":45,"value":947},"internal_error",{"type":39,"tag":745,"props":949,"children":950},{},[951],{"type":45,"value":952},"The error-output path.",{"type":39,"tag":713,"props":954,"children":955},{},[956,961,966,975],{"type":39,"tag":745,"props":957,"children":958},{},[959],{"type":45,"value":960},"Third-party API errored",{"type":39,"tag":745,"props":962,"children":963},{},[964],{"type":45,"value":965},"502",{"type":39,"tag":745,"props":967,"children":968},{},[969],{"type":39,"tag":79,"props":970,"children":972},{"className":971},[],[973],{"type":45,"value":974},"upstream_error",{"type":39,"tag":745,"props":976,"children":977},{},[978],{"type":45,"value":979},"Error output of the HTTP Request node.",{"type":39,"tag":713,"props":981,"children":982},{},[983,988,993,1002],{"type":39,"tag":745,"props":984,"children":985},{},[986],{"type":45,"value":987},"Workflow can't currently process (downstream down, rate-limited upstream)",{"type":39,"tag":745,"props":989,"children":990},{},[991],{"type":45,"value":992},"503",{"type":39,"tag":745,"props":994,"children":995},{},[996],{"type":39,"tag":79,"props":997,"children":999},{"className":998},[],[1000],{"type":45,"value":1001},"service_unavailable",{"type":39,"tag":745,"props":1003,"children":1004},{},[1005],{"type":45,"value":1006},"Detect via specific error, return with hint.",{"type":39,"tag":713,"props":1008,"children":1009},{},[1010,1015,1020,1029],{"type":39,"tag":745,"props":1011,"children":1012},{},[1013],{"type":45,"value":1014},"Third-party API timed out",{"type":39,"tag":745,"props":1016,"children":1017},{},[1018],{"type":45,"value":1019},"504",{"type":39,"tag":745,"props":1021,"children":1022},{},[1023],{"type":39,"tag":79,"props":1024,"children":1026},{"className":1025},[],[1027],{"type":45,"value":1028},"upstream_timeout",{"type":39,"tag":745,"props":1030,"children":1031},{},[1032],{"type":45,"value":1033},"Error output filtered by error message.",{"type":39,"tag":48,"props":1035,"children":1036},{},[1037],{"type":39,"tag":71,"props":1038,"children":1039},{},[1040],{"type":45,"value":1041},"Two distinct flows:",{"type":39,"tag":167,"props":1043,"children":1044},{},[1045,1062],{"type":39,"tag":92,"props":1046,"children":1047},{},[1048,1053,1055,1060],{"type":39,"tag":71,"props":1049,"children":1050},{},[1051],{"type":45,"value":1052},"Validation failures (4xx)",{"type":45,"value":1054}," are checked ",{"type":39,"tag":599,"props":1056,"children":1057},{},[1058],{"type":45,"value":1059},"upstream",{"type":45,"value":1061}," of the work, via IF\u002FSwitch branches, not error outputs. Use a dedicated Respond per shape (400 missing field, 401 no auth, etc.).",{"type":39,"tag":92,"props":1063,"children":1064},{},[1065,1070,1072,1078],{"type":39,"tag":71,"props":1066,"children":1067},{},[1068],{"type":45,"value":1069},"Execution failures (5xx)",{"type":45,"value":1071}," come out of error outputs (\"we tried, something broke\"). A single error responder for all 5xx is fine. Differentiate the body's ",{"type":39,"tag":79,"props":1073,"children":1075},{"className":1074},[],[1076],{"type":45,"value":1077},"error",{"type":45,"value":1079}," code by inspecting the failed node where useful.",{"type":39,"tag":48,"props":1081,"children":1082},{},[1083,1088,1090,1096],{"type":39,"tag":71,"props":1084,"children":1085},{},[1086],{"type":45,"value":1087},"One Respond, expression-driven status code.",{"type":45,"value":1089}," When the error path differs only by status code and message text (same body shape, no header\u002Fcontent-type changes), don't fan out to N Respond nodes via a Switch. The Respond to Webhook node accepts expressions in its ",{"type":39,"tag":79,"props":1091,"children":1093},{"className":1092},[],[1094],{"type":45,"value":1095},"Response Code",{"type":45,"value":1097}," and body fields. Compute the code inline, so one Respond node carries the whole error path.",{"type":39,"tag":244,"props":1099,"children":1101},{"className":487,"code":1100,"language":489,"meta":252,"style":252},"\u002F\u002F Response Code on a single Respond to Webhook node:\n{{ (() => {\n    const msg = $json.error?.message || $json.message || ''\n    if (msg.includes('INVALID_ID')) return 400\n    if (\u002F429|too many\u002Fi.test(msg)) return 429\n    if (\u002Fopenrouter|anthropic|llm\u002Fi.test(msg)) return 502\n    return 500\n})() }}\n",[1102],{"type":39,"tag":79,"props":1103,"children":1104},{"__ignoreMap":252},[1105,1113,1143,1211,1274,1343,1419,1433],{"type":39,"tag":495,"props":1106,"children":1107},{"class":497,"line":498},[1108],{"type":39,"tag":495,"props":1109,"children":1110},{"style":580},[1111],{"type":45,"value":1112},"\u002F\u002F Response Code on a single Respond to Webhook node:\n",{"type":39,"tag":495,"props":1114,"children":1115},{"class":497,"line":508},[1116,1121,1127,1132,1138],{"type":39,"tag":495,"props":1117,"children":1118},{"style":502},[1119],{"type":45,"value":1120},"{{",{"type":39,"tag":495,"props":1122,"children":1124},{"style":1123},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[1125],{"type":45,"value":1126}," (",{"type":39,"tag":495,"props":1128,"children":1129},{"style":502},[1130],{"type":45,"value":1131},"()",{"type":39,"tag":495,"props":1133,"children":1135},{"style":1134},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[1136],{"type":45,"value":1137}," =>",{"type":39,"tag":495,"props":1139,"children":1140},{"style":502},[1141],{"type":45,"value":1142}," {\n",{"type":39,"tag":495,"props":1144,"children":1145},{"class":497,"line":534},[1146,1151,1157,1162,1167,1171,1175,1180,1185,1190,1194,1198,1202,1206],{"type":39,"tag":495,"props":1147,"children":1148},{"style":1134},[1149],{"type":45,"value":1150},"    const",{"type":39,"tag":495,"props":1152,"children":1154},{"style":1153},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[1155],{"type":45,"value":1156}," msg",{"type":39,"tag":495,"props":1158,"children":1159},{"style":502},[1160],{"type":45,"value":1161}," =",{"type":39,"tag":495,"props":1163,"children":1164},{"style":1153},[1165],{"type":45,"value":1166}," $json",{"type":39,"tag":495,"props":1168,"children":1169},{"style":502},[1170],{"type":45,"value":106},{"type":39,"tag":495,"props":1172,"children":1173},{"style":1153},[1174],{"type":45,"value":1077},{"type":39,"tag":495,"props":1176,"children":1177},{"style":502},[1178],{"type":45,"value":1179},"?.",{"type":39,"tag":495,"props":1181,"children":1182},{"style":1153},[1183],{"type":45,"value":1184},"message",{"type":39,"tag":495,"props":1186,"children":1187},{"style":502},[1188],{"type":45,"value":1189}," ||",{"type":39,"tag":495,"props":1191,"children":1192},{"style":1153},[1193],{"type":45,"value":1166},{"type":39,"tag":495,"props":1195,"children":1196},{"style":502},[1197],{"type":45,"value":106},{"type":39,"tag":495,"props":1199,"children":1200},{"style":1153},[1201],{"type":45,"value":1184},{"type":39,"tag":495,"props":1203,"children":1204},{"style":502},[1205],{"type":45,"value":1189},{"type":39,"tag":495,"props":1207,"children":1208},{"style":502},[1209],{"type":45,"value":1210}," ''\n",{"type":39,"tag":495,"props":1212,"children":1213},{"class":497,"line":557},[1214,1220,1224,1229,1233,1239,1244,1249,1255,1259,1264,1269],{"type":39,"tag":495,"props":1215,"children":1217},{"style":1216},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[1218],{"type":45,"value":1219},"    if",{"type":39,"tag":495,"props":1221,"children":1222},{"style":1123},[1223],{"type":45,"value":1126},{"type":39,"tag":495,"props":1225,"children":1226},{"style":1153},[1227],{"type":45,"value":1228},"msg",{"type":39,"tag":495,"props":1230,"children":1231},{"style":502},[1232],{"type":45,"value":106},{"type":39,"tag":495,"props":1234,"children":1236},{"style":1235},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[1237],{"type":45,"value":1238},"includes",{"type":39,"tag":495,"props":1240,"children":1241},{"style":1123},[1242],{"type":45,"value":1243},"(",{"type":39,"tag":495,"props":1245,"children":1246},{"style":502},[1247],{"type":45,"value":1248},"'",{"type":39,"tag":495,"props":1250,"children":1252},{"style":1251},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[1253],{"type":45,"value":1254},"INVALID_ID",{"type":39,"tag":495,"props":1256,"children":1257},{"style":502},[1258],{"type":45,"value":1248},{"type":39,"tag":495,"props":1260,"children":1261},{"style":1123},[1262],{"type":45,"value":1263},")) ",{"type":39,"tag":495,"props":1265,"children":1266},{"style":1216},[1267],{"type":45,"value":1268},"return",{"type":39,"tag":495,"props":1270,"children":1271},{"style":547},[1272],{"type":45,"value":1273}," 400\n",{"type":39,"tag":495,"props":1275,"children":1276},{"class":497,"line":586},[1277,1281,1285,1290,1294,1299,1304,1308,1313,1317,1322,1326,1330,1334,1338],{"type":39,"tag":495,"props":1278,"children":1279},{"style":1216},[1280],{"type":45,"value":1219},{"type":39,"tag":495,"props":1282,"children":1283},{"style":1123},[1284],{"type":45,"value":1126},{"type":39,"tag":495,"props":1286,"children":1287},{"style":502},[1288],{"type":45,"value":1289},"\u002F",{"type":39,"tag":495,"props":1291,"children":1292},{"style":1251},[1293],{"type":45,"value":904},{"type":39,"tag":495,"props":1295,"children":1296},{"style":502},[1297],{"type":45,"value":1298},"|",{"type":39,"tag":495,"props":1300,"children":1301},{"style":1251},[1302],{"type":45,"value":1303},"too many",{"type":39,"tag":495,"props":1305,"children":1306},{"style":502},[1307],{"type":45,"value":1289},{"type":39,"tag":495,"props":1309,"children":1310},{"style":547},[1311],{"type":45,"value":1312},"i",{"type":39,"tag":495,"props":1314,"children":1315},{"style":502},[1316],{"type":45,"value":106},{"type":39,"tag":495,"props":1318,"children":1319},{"style":1235},[1320],{"type":45,"value":1321},"test",{"type":39,"tag":495,"props":1323,"children":1324},{"style":1123},[1325],{"type":45,"value":1243},{"type":39,"tag":495,"props":1327,"children":1328},{"style":1153},[1329],{"type":45,"value":1228},{"type":39,"tag":495,"props":1331,"children":1332},{"style":1123},[1333],{"type":45,"value":1263},{"type":39,"tag":495,"props":1335,"children":1336},{"style":1216},[1337],{"type":45,"value":1268},{"type":39,"tag":495,"props":1339,"children":1340},{"style":547},[1341],{"type":45,"value":1342}," 429\n",{"type":39,"tag":495,"props":1344,"children":1346},{"class":497,"line":1345},6,[1347,1351,1355,1359,1364,1368,1373,1377,1382,1386,1390,1394,1398,1402,1406,1410,1414],{"type":39,"tag":495,"props":1348,"children":1349},{"style":1216},[1350],{"type":45,"value":1219},{"type":39,"tag":495,"props":1352,"children":1353},{"style":1123},[1354],{"type":45,"value":1126},{"type":39,"tag":495,"props":1356,"children":1357},{"style":502},[1358],{"type":45,"value":1289},{"type":39,"tag":495,"props":1360,"children":1361},{"style":1251},[1362],{"type":45,"value":1363},"openrouter",{"type":39,"tag":495,"props":1365,"children":1366},{"style":502},[1367],{"type":45,"value":1298},{"type":39,"tag":495,"props":1369,"children":1370},{"style":1251},[1371],{"type":45,"value":1372},"anthropic",{"type":39,"tag":495,"props":1374,"children":1375},{"style":502},[1376],{"type":45,"value":1298},{"type":39,"tag":495,"props":1378,"children":1379},{"style":1251},[1380],{"type":45,"value":1381},"llm",{"type":39,"tag":495,"props":1383,"children":1384},{"style":502},[1385],{"type":45,"value":1289},{"type":39,"tag":495,"props":1387,"children":1388},{"style":547},[1389],{"type":45,"value":1312},{"type":39,"tag":495,"props":1391,"children":1392},{"style":502},[1393],{"type":45,"value":106},{"type":39,"tag":495,"props":1395,"children":1396},{"style":1235},[1397],{"type":45,"value":1321},{"type":39,"tag":495,"props":1399,"children":1400},{"style":1123},[1401],{"type":45,"value":1243},{"type":39,"tag":495,"props":1403,"children":1404},{"style":1153},[1405],{"type":45,"value":1228},{"type":39,"tag":495,"props":1407,"children":1408},{"style":1123},[1409],{"type":45,"value":1263},{"type":39,"tag":495,"props":1411,"children":1412},{"style":1216},[1413],{"type":45,"value":1268},{"type":39,"tag":495,"props":1415,"children":1416},{"style":547},[1417],{"type":45,"value":1418}," 502\n",{"type":39,"tag":495,"props":1420,"children":1422},{"class":497,"line":1421},7,[1423,1428],{"type":39,"tag":495,"props":1424,"children":1425},{"style":1216},[1426],{"type":45,"value":1427},"    return",{"type":39,"tag":495,"props":1429,"children":1430},{"style":547},[1431],{"type":45,"value":1432}," 500\n",{"type":39,"tag":495,"props":1434,"children":1436},{"class":497,"line":1435},8,[1437,1442,1447],{"type":39,"tag":495,"props":1438,"children":1439},{"style":502},[1440],{"type":45,"value":1441},"}",{"type":39,"tag":495,"props":1443,"children":1444},{"style":1123},[1445],{"type":45,"value":1446},")() ",{"type":39,"tag":495,"props":1448,"children":1449},{"style":502},[1450],{"type":45,"value":1451},"}}\n",{"type":39,"tag":48,"props":1453,"children":1454},{},[1455,1457,1462],{"type":45,"value":1456},"Switch + N Responds only earn their place when responses diverge ",{"type":39,"tag":599,"props":1458,"children":1459},{},[1460],{"type":45,"value":1461},"structurally",{"type":45,"value":1463},": different headers, different body shapes, redirects, different content types. Same shape with a different number is one expression-driven Respond.",{"type":39,"tag":48,"props":1465,"children":1466},{},[1467,1469,1474],{"type":45,"value":1468},"For full conventions including correlation IDs, retryable-vs-fatal flags, validation details, and rate-limit shapes, see ",{"type":39,"tag":79,"props":1470,"children":1472},{"className":1471},[],[1473],{"type":45,"value":193},{"type":45,"value":106},{"type":39,"tag":59,"props":1476,"children":1478},{"id":1477},"workflow-level-error-workflows",[1479],{"type":45,"value":1480},"Workflow-level error workflows",{"type":39,"tag":48,"props":1482,"children":1483},{},[1484],{"type":45,"value":1485},"For unattended workflows, configure the instance's error workflow (or per-workflow override) to point at a workflow that:",{"type":39,"tag":88,"props":1487,"children":1488},{},[1489,1494,1499],{"type":39,"tag":92,"props":1490,"children":1491},{},[1492],{"type":45,"value":1493},"Captures the failure (workflow name, execution ID, error, stack).",{"type":39,"tag":92,"props":1495,"children":1496},{},[1497],{"type":45,"value":1498},"Notifies someone (Slack, email, on-call).",{"type":39,"tag":92,"props":1500,"children":1501},{},[1502],{"type":45,"value":1503},"Optionally enqueues a retry (with backoff).",{"type":39,"tag":48,"props":1505,"children":1506},{},[1507],{"type":45,"value":1508},"Catches what per-node handling misses: timeouts, crashes between nodes, errors in unwired nodes.",{"type":39,"tag":48,"props":1510,"children":1511},{},[1512,1514,1519],{"type":45,"value":1513},"See ",{"type":39,"tag":79,"props":1515,"children":1517},{"className":1516},[],[1518],{"type":45,"value":158},{"type":45,"value":106},{"type":39,"tag":59,"props":1521,"children":1523},{"id":1522},"reference-files",[1524],{"type":45,"value":1525},"Reference files",{"type":39,"tag":705,"props":1527,"children":1528},{},[1529,1545],{"type":39,"tag":709,"props":1530,"children":1531},{},[1532],{"type":39,"tag":713,"props":1533,"children":1534},{},[1535,1540],{"type":39,"tag":717,"props":1536,"children":1537},{},[1538],{"type":45,"value":1539},"File",{"type":39,"tag":717,"props":1541,"children":1542},{},[1543],{"type":45,"value":1544},"Read when",{"type":39,"tag":738,"props":1546,"children":1547},{},[1548,1564,1580,1596],{"type":39,"tag":713,"props":1549,"children":1550},{},[1551,1559],{"type":39,"tag":745,"props":1552,"children":1553},{},[1554],{"type":39,"tag":79,"props":1555,"children":1557},{"className":1556},[],[1558],{"type":45,"value":265},{"type":39,"tag":745,"props":1560,"children":1561},{},[1562],{"type":45,"value":1563},"Building or reviewing a webhook-trigger \u002F respond-to-webhook workflow",{"type":39,"tag":713,"props":1565,"children":1566},{},[1567,1575],{"type":39,"tag":745,"props":1568,"children":1569},{},[1570],{"type":39,"tag":79,"props":1571,"children":1573},{"className":1572},[],[1574],{"type":45,"value":158},{"type":39,"tag":745,"props":1576,"children":1577},{},[1578],{"type":45,"value":1579},"Setting up workflow-level error catching for production workflows",{"type":39,"tag":713,"props":1581,"children":1582},{},[1583,1591],{"type":39,"tag":745,"props":1584,"children":1585},{},[1586],{"type":39,"tag":79,"props":1587,"children":1589},{"className":1588},[],[1590],{"type":45,"value":193},{"type":39,"tag":745,"props":1592,"children":1593},{},[1594],{"type":45,"value":1595},"Defining the response body conventions for your APIs",{"type":39,"tag":713,"props":1597,"children":1598},{},[1599,1607],{"type":39,"tag":745,"props":1600,"children":1601},{},[1602],{"type":39,"tag":79,"props":1603,"children":1605},{"className":1604},[],[1606],{"type":45,"value":432},{"type":39,"tag":745,"props":1608,"children":1609},{},[1610],{"type":45,"value":1611},"Wiring a per-node error output on individual fallible nodes",{"type":39,"tag":59,"props":1613,"children":1615},{"id":1614},"anti-patterns",[1616],{"type":45,"value":1617},"Anti-patterns",{"type":39,"tag":705,"props":1619,"children":1620},{},[1621,1642],{"type":39,"tag":709,"props":1622,"children":1623},{},[1624],{"type":39,"tag":713,"props":1625,"children":1626},{},[1627,1632,1637],{"type":39,"tag":717,"props":1628,"children":1629},{},[1630],{"type":45,"value":1631},"Anti-pattern",{"type":39,"tag":717,"props":1633,"children":1634},{},[1635],{"type":45,"value":1636},"What goes wrong",{"type":39,"tag":717,"props":1638,"children":1639},{},[1640],{"type":45,"value":1641},"Fix",{"type":39,"tag":738,"props":1643,"children":1644},{},[1645,1670,1688,1714,1739,1763,1787,1817,1835],{"type":39,"tag":713,"props":1646,"children":1647},{},[1648,1653,1658],{"type":39,"tag":745,"props":1649,"children":1650},{},[1651],{"type":45,"value":1652},"Webhook → process → respond, no error branch",{"type":39,"tag":745,"props":1654,"children":1655},{},[1656],{"type":45,"value":1657},"Caller gets timeout or empty 500",{"type":39,"tag":745,"props":1659,"children":1660},{},[1661,1663,1668],{"type":45,"value":1662},"Wire every fallible node's ",{"type":39,"tag":79,"props":1664,"children":1666},{"className":1665},[],[1667],{"type":45,"value":466},{"type":45,"value":1669}," to a Respond to Webhook",{"type":39,"tag":713,"props":1671,"children":1672},{},[1673,1678,1683],{"type":39,"tag":745,"props":1674,"children":1675},{},[1676],{"type":45,"value":1677},"Single Respond to Webhook for both paths",{"type":39,"tag":745,"props":1679,"children":1680},{},[1681],{"type":45,"value":1682},"Body shape doesn't tell caller what happened",{"type":39,"tag":745,"props":1684,"children":1685},{},[1686],{"type":45,"value":1687},"Two Respond nodes, one per path, with explicit codes and bodies",{"type":39,"tag":713,"props":1689,"children":1690},{},[1691,1704,1709],{"type":39,"tag":745,"props":1692,"children":1693},{},[1694,1696,1702],{"type":45,"value":1695},"Error path returns 200 with ",{"type":39,"tag":79,"props":1697,"children":1699},{"className":1698},[],[1700],{"type":45,"value":1701},"{ \"error\": ... }",{"type":45,"value":1703}," body",{"type":39,"tag":745,"props":1705,"children":1706},{},[1707],{"type":45,"value":1708},"Caller's HTTP client treats it as success, so error handling never fires",{"type":39,"tag":745,"props":1710,"children":1711},{},[1712],{"type":45,"value":1713},"Always 4xx\u002F5xx for error paths",{"type":39,"tag":713,"props":1715,"children":1716},{},[1717,1722,1727],{"type":39,"tag":745,"props":1718,"children":1719},{},[1720],{"type":45,"value":1721},"Catching errors in Code node and returning them as data",{"type":39,"tag":745,"props":1723,"children":1724},{},[1725],{"type":45,"value":1726},"Downstream sees error-shaped data, workflow continues",{"type":39,"tag":745,"props":1728,"children":1729},{},[1730,1732,1737],{"type":45,"value":1731},"Let it throw, configure ",{"type":39,"tag":79,"props":1733,"children":1735},{"className":1734},[],[1736],{"type":45,"value":450},{"type":45,"value":1738}," and wire the error path",{"type":39,"tag":713,"props":1740,"children":1741},{},[1742,1747,1752],{"type":39,"tag":745,"props":1743,"children":1744},{},[1745],{"type":45,"value":1746},"Production workflow with no workflow-level error workflow",{"type":39,"tag":745,"props":1748,"children":1749},{},[1750],{"type":45,"value":1751},"A genuine failure goes nowhere",{"type":39,"tag":745,"props":1753,"children":1754},{},[1755,1757],{"type":45,"value":1756},"Set up an error workflow. See ",{"type":39,"tag":79,"props":1758,"children":1760},{"className":1759},[],[1761],{"type":45,"value":1762},"ERROR_WORKFLOWS.md",{"type":39,"tag":713,"props":1764,"children":1765},{},[1766,1771,1776],{"type":39,"tag":745,"props":1767,"children":1768},{},[1769],{"type":45,"value":1770},"Generic \"Internal Server Error\" on every failure",{"type":39,"tag":745,"props":1772,"children":1773},{},[1774],{"type":45,"value":1775},"Can't distinguish caller bug from upstream from rate limit",{"type":39,"tag":745,"props":1777,"children":1778},{},[1779,1781],{"type":45,"value":1780},"Structured error codes. See ",{"type":39,"tag":79,"props":1782,"children":1784},{"className":1783},[],[1785],{"type":45,"value":1786},"RESPONSE_SHAPES.md",{"type":39,"tag":713,"props":1788,"children":1789},{},[1790,1800,1805],{"type":39,"tag":745,"props":1791,"children":1792},{},[1793,1795],{"type":45,"value":1794},"Production node calls a flaky or rate-limited API with no ",{"type":39,"tag":79,"props":1796,"children":1798},{"className":1797},[],[1799],{"type":45,"value":208},{"type":39,"tag":745,"props":1801,"children":1802},{},[1803],{"type":45,"value":1804},"Every transient 429 or upstream blip surfaces as a 5xx, and alerts fire on noise",{"type":39,"tag":745,"props":1806,"children":1807},{},[1808,1809,1815],{"type":45,"value":444},{"type":39,"tag":79,"props":1810,"children":1812},{"className":1811},[],[1813],{"type":45,"value":1814},"retryOnFail: true, maxTries: 3, waitBetweenTries: 5000",{"type":45,"value":1816}," on the node. See \"Self-healing on transient failures\"",{"type":39,"tag":713,"props":1818,"children":1819},{},[1820,1825,1830],{"type":39,"tag":745,"props":1821,"children":1822},{},[1823],{"type":45,"value":1824},"500 for everything not a 200",{"type":39,"tag":745,"props":1826,"children":1827},{},[1828],{"type":45,"value":1829},"Caller can't separate their bad input from your outage, so their monitoring fires on your noise",{"type":39,"tag":745,"props":1831,"children":1832},{},[1833],{"type":45,"value":1834},"Map cause → status code. Caller issues are 4xx.",{"type":39,"tag":713,"props":1836,"children":1837},{},[1838,1843,1853],{"type":39,"tag":745,"props":1839,"children":1840},{},[1841],{"type":45,"value":1842},"Switch over the error message → N Respond nodes that differ only by status code",{"type":39,"tag":745,"props":1844,"children":1845},{},[1846,1848],{"type":45,"value":1847},"5 nodes for what's one Respond with an expression-driven ",{"type":39,"tag":79,"props":1849,"children":1851},{"className":1850},[],[1852],{"type":45,"value":1095},{"type":39,"tag":745,"props":1854,"children":1855},{},[1856],{"type":45,"value":1857},"Compute the code inline in a single Respond. See \"One Respond, expression-driven status code\" above.",{"type":39,"tag":1859,"props":1860,"children":1861},"style",{},[1862],{"type":45,"value":1863},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":1865,"total":2019},[1866,1883,1900,1914,1924,1937,1950,1967,1976,1988,1998,2008],{"slug":1867,"name":1867,"fn":1868,"description":1869,"org":1870,"tags":1871,"stars":1880,"repoUrl":1881,"updatedAt":1882},"config-evals","configure workflow evaluations","Builds and maintains configuration-based evaluations on a workflow with the eval-config tool. Use when the user asks to set up, add, view, change, or remove an evaluation, score, grade, or judge a workflow's output, or measure answer quality against a test dataset. This is the only eval form Instance AI handles — it does not touch on-canvas evaluation nodes.",{"slug":8,"name":8,"logoUrl":9,"githubOrg":10},[1872,1875,1876,1879],{"name":1873,"slug":1874,"type":13},"Evals","evals",{"name":8,"slug":8,"type":13},{"name":1877,"slug":1878,"type":13},"Testing","testing",{"name":21,"slug":22,"type":13},198156,"https:\u002F\u002Fgithub.com\u002Fn8n-io\u002Fn8n","2026-07-24T05:37:07.398695",{"slug":1884,"name":1884,"fn":1885,"description":1886,"org":1887,"tags":1888,"stars":1880,"repoUrl":1881,"updatedAt":1899},"credential-setup-with-computer-use","configure n8n credentials via browser","Guides n8n credential setup through Computer Use browser tools. Use when a user needs OAuth apps, API keys, client IDs, client secrets, or other credential values from an external service console.",{"slug":8,"name":8,"logoUrl":9,"githubOrg":10},[1889,1892,1895,1896],{"name":1890,"slug":1891,"type":13},"Automation","automation",{"name":1893,"slug":1894,"type":13},"Configuration","configuration",{"name":8,"slug":8,"type":13},{"name":1897,"slug":1898,"type":13},"OAuth","oauth","2026-06-30T07:40:45.54",{"slug":1901,"name":1901,"fn":1902,"description":1903,"org":1904,"tags":1905,"stars":1880,"repoUrl":1881,"updatedAt":1913},"data-table-manager","manage n8n Data Tables","Load before calling data-tables or parse-file. Use for natural standalone requests like \"what data tables do I have?\", \"show\u002Flist my tables\", or \"what columns are in this table?\", and whenever the user asks to list, show, create, inspect, import, seed, query, update, clean up, rename columns in, or delete data tables and rows, especially from CSV\u002FXLSX\u002FJSON attachments. Also load before building or planning workflows that create or write to Data Tables (then load workflow-builder before build-workflow).",{"slug":8,"name":8,"logoUrl":9,"githubOrg":10},[1906,1909,1912],{"name":1907,"slug":1908,"type":13},"Data Engineering","data-engineering",{"name":1910,"slug":1911,"type":13},"Database","database",{"name":8,"slug":8,"type":13},"2026-07-27T06:07:14.648144",{"slug":1915,"name":1915,"fn":1916,"description":1917,"org":1918,"tags":1919,"stars":1880,"repoUrl":1881,"updatedAt":1899},"debugging-executions","debug failed n8n workflow executions","Debug failed or wrong-output workflow executions using executions tools. Load when the user reports execution failures, unexpected node output, empty parameter values after a successful run, or a node showing a red or failed expression error.",{"slug":8,"name":8,"logoUrl":9,"githubOrg":10},[1920,1921,1922,1923],{"name":1890,"slug":1891,"type":13},{"name":18,"slug":19,"type":13},{"name":8,"slug":8,"type":13},{"name":21,"slug":22,"type":13},{"slug":1925,"name":1925,"fn":1926,"description":1927,"org":1928,"tags":1929,"stars":1880,"repoUrl":1881,"updatedAt":1936},"intent-recognition","classify automation requests by control flow","Classifies automation requests using two decisions: anchor (which primitive owns the top-level control flow — workflow-anchored, agent-anchored, needs-clarification, or out-of-scope) and embeds_other (whether the other primitive appears embedded inside — an agent step inside a workflow, or a workflow invoked as an agent tool). Must be used before deciding the intent of any automation request, including compound requests with multiple independent automations, mid-build extensions to an existing workflow or agent, one-off questions or reports that need external systems you cannot query directly, and requests that need clarification before an anchor can be chosen, before choosing workflow-builder, planning, or an agent-oriented design.",{"slug":8,"name":8,"logoUrl":9,"githubOrg":10},[1930,1933,1934,1935],{"name":1931,"slug":1932,"type":13},"Agents","agents",{"name":1890,"slug":1891,"type":13},{"name":8,"slug":8,"type":13},{"name":21,"slug":22,"type":13},"2026-07-30T05:30:06.772347",{"slug":1938,"name":1938,"fn":1939,"description":1940,"org":1941,"tags":1942,"stars":1880,"repoUrl":1881,"updatedAt":1949},"n8n-cli","manage n8n workflows from the CLI","Use the n8n CLI to manage workflows, credentials, executions, and more on an n8n instance. Use when the user asks to interact with n8n, automate workflows, manage credentials, or operate their instance from the command line.",{"slug":8,"name":8,"logoUrl":9,"githubOrg":10},[1943,1944,1947,1948],{"name":1890,"slug":1891,"type":13},{"name":1945,"slug":1946,"type":13},"CLI","cli",{"name":8,"slug":8,"type":13},{"name":21,"slug":22,"type":13},"2026-04-06T18:38:40.360123",{"slug":1951,"name":1951,"fn":1952,"description":1953,"org":1954,"tags":1955,"stars":1880,"repoUrl":1881,"updatedAt":1966},"n8n-docs-assistant","retrieve n8n documentation and guidance","Answers n8n product, setup, credential, node, hosting, API, and usage questions from current n8n docs. Load n8n-docs via load_tool before calling it (search \"n8n docs\" if not visible). Use when the user asks how to configure, set up, troubleshoot, or understand n8n behavior, especially credential setup questions opened from the credential modal.",{"slug":8,"name":8,"logoUrl":9,"githubOrg":10},[1956,1959,1960,1963],{"name":1957,"slug":1958,"type":13},"Documentation","documentation",{"name":8,"slug":8,"type":13},{"name":1961,"slug":1962,"type":13},"Reference","reference",{"name":1964,"slug":1965,"type":13},"Search","search","2026-07-27T06:07:15.692906",{"slug":1968,"name":1968,"fn":1969,"description":1970,"org":1971,"tags":1972,"stars":1880,"repoUrl":1881,"updatedAt":1899},"planned-task-runtime","manage n8n task runtimes","Handles system follow-up turns: planned-task-follow-up (synthesize, replan, build-workflow, checkpoint), background-task-completed, running-tasks context, and create-tasks silence rules. Load whenever any of these tags appear or after calling create-tasks.",{"slug":8,"name":8,"logoUrl":9,"githubOrg":10},[1973,1974,1975],{"name":1890,"slug":1891,"type":13},{"name":8,"slug":8,"type":13},{"name":21,"slug":22,"type":13},{"slug":1977,"name":1977,"fn":1978,"description":1979,"org":1980,"tags":1981,"stars":1880,"repoUrl":1881,"updatedAt":1987},"planning","coordinate multi-artifact workflows","ONLY for coordinated multi-artifact work: multiple workflows with dependencies, shared data-table schema\u002Fmigration across tasks, or the user explicitly asked to review a plan first. Load create-tasks via load_tool before calling it (search \"create tasks\" if not visible). Do NOT use for new one-off workflows, single-workflow edits, verification-only requests, or standalone data-table ops — use workflow-builder or data-table-manager instead.",{"slug":8,"name":8,"logoUrl":9,"githubOrg":10},[1982,1983,1984,1986],{"name":1890,"slug":1891,"type":13},{"name":8,"slug":8,"type":13},{"name":1985,"slug":1977,"type":13},"Planning",{"name":21,"slug":22,"type":13},"2026-07-27T06:07:16.673218",{"slug":1989,"name":1989,"fn":1990,"description":1991,"org":1992,"tags":1993,"stars":1880,"repoUrl":1881,"updatedAt":1997},"post-build-flow","verify and set up n8n workflows","Handles workflow verification and setup after build-workflow succeeds, or when the message contains workflow-verification-follow-up or workflow-setup-required. Load after direct builds, when verificationReadiness requires action, or on orchestrator verify\u002Fsetup follow-up turns.",{"slug":8,"name":8,"logoUrl":9,"githubOrg":10},[1994,1995,1996],{"name":1890,"slug":1891,"type":13},{"name":8,"slug":8,"type":13},{"name":21,"slug":22,"type":13},"2026-07-24T05:37:08.421329",{"slug":1999,"name":1999,"fn":2000,"description":2001,"org":2002,"tags":2003,"stars":1880,"repoUrl":1881,"updatedAt":2007},"workflow-builder","build and edit n8n workflows","Load before calling build-workflow. Default path for all single-workflow work: new one-off workflows, existing-workflow edits, verification repairs, and workflow-local data tables. Write or edit a workspace source file, then call build-workflow with filePath. When the workflow creates or writes Data Tables, load data-table-manager first, then this skill. Do not load planning or create-tasks first. Load planning only when multiple coordinated workflows or shared cross-task data tables require a dependency-aware task graph.",{"slug":8,"name":8,"logoUrl":9,"githubOrg":10},[2004,2005,2006],{"name":1890,"slug":1891,"type":13},{"name":8,"slug":8,"type":13},{"name":21,"slug":22,"type":13},"2026-07-30T05:30:07.798011",{"slug":2009,"name":2009,"fn":2010,"description":2011,"org":2012,"tags":2013,"stars":23,"repoUrl":24,"updatedAt":2018},"n8n-agents-official","build AI agents in n8n","Use when building or editing any AI feature in n8n: AI Agents, Text Classifier, Information Extractor, Sentiment Analysis, Summarization Chain, Basic LLM Chain, embeddings, vector stores, single one-shot LLM calls, or AI media generation (image \u002F audio \u002F video) via the native LangChain provider nodes. Triggers on any `@n8n\u002Fn8n-nodes-langchain.*` node, \"agent\", \"chat assistant\", \"LLM with tools\", \"tool calling\", \"fromAi\", \"system prompt\", \"memory window\", \"structured output\", \"outputParser\", \"function calling\", \"RAG\", \"vector store\", \"embeddings\", \"classify with AI\", \"extract fields with LLM\", \"sentiment analysis\", \"summarize with LLM\", \"single LLM call\", chat triggers with files, AI image \u002F video \u002F audio generation, or any multi-turn or one-shot LLM behavior.",{"slug":8,"name":8,"logoUrl":9,"githubOrg":10},[2014,2015,2017],{"name":1931,"slug":1932,"type":13},{"name":2016,"slug":1381,"type":13},"LLM",{"name":21,"slug":22,"type":13},"2026-07-08T05:44:47.938896",25,{"items":2021,"total":2103},[2022,2028,2041,2057,2073,2085,2096],{"slug":2009,"name":2009,"fn":2010,"description":2011,"org":2023,"tags":2024,"stars":23,"repoUrl":24,"updatedAt":2018},{"slug":8,"name":8,"logoUrl":9,"githubOrg":10},[2025,2026,2027],{"name":1931,"slug":1932,"type":13},{"name":2016,"slug":1381,"type":13},{"name":21,"slug":22,"type":13},{"slug":2029,"name":2029,"fn":2030,"description":2031,"org":2032,"tags":2033,"stars":23,"repoUrl":24,"updatedAt":2040},"n8n-binary-and-data-official","handle binary data and files in n8n","Use when handling files, images, attachments, or binary data in n8n, OR when an AI agent needs to take a user-uploaded file as tool input or return a generated file. For Data Tables (schemas, dedup, persistent state), see the separate n8n-data-tables-official skill. Triggers on \"file\", \"image\", \"PDF\", \"attachment\", \"binary\", \"upload\", \"download\", chat trigger with files, agent tool that needs a file, vision\u002Fmultimodal, or any handling of non-JSON file data.",{"slug":8,"name":8,"logoUrl":9,"githubOrg":10},[2034,2035,2038,2039],{"name":1890,"slug":1891,"type":13},{"name":2036,"slug":2037,"type":13},"File Uploads","file-uploads",{"name":8,"slug":8,"type":13},{"name":21,"slug":22,"type":13},"2026-07-08T05:45:01.884342",{"slug":2042,"name":2042,"fn":2043,"description":2044,"org":2045,"tags":2046,"stars":23,"repoUrl":24,"updatedAt":2056},"n8n-code-nodes-official","write custom logic in n8n","Use when the user reaches for a Code node, mentions writing JavaScript or Python in n8n, or any custom logic comes up in workflow design. Triggers on \"Code node\", \"Code\", \"JavaScript\", \"Python\", \"custom logic\", \"transform data\", \"$input\", \"$json transformation\", \"loop in code\", \"write a function\", or any time the obvious answer seems to be \"just put it in code.\"",{"slug":8,"name":8,"logoUrl":9,"githubOrg":10},[2047,2050,2053],{"name":2048,"slug":2049,"type":13},"Engineering","engineering",{"name":2051,"slug":2052,"type":13},"JavaScript","javascript",{"name":2054,"slug":2055,"type":13},"Python","python","2026-07-08T05:44:49.656127",{"slug":2058,"name":2058,"fn":2059,"description":2060,"org":2061,"tags":2062,"stars":23,"repoUrl":24,"updatedAt":2072},"n8n-credentials-and-security-official","manage credentials and security in n8n","Use when handling any auth, API keys, tokens, OAuth, bearer tokens, basic auth, or secret values in n8n workflows. Triggers on \"API key\", \"token\", \"bearer\", \"OAuth\", \"secret\", \"auth\", \"credentials\", \"Authorization header\", \"x-api-key\", or any node configuration that mentions a third-party service.",{"slug":8,"name":8,"logoUrl":9,"githubOrg":10},[2063,2066,2067,2068,2069],{"name":2064,"slug":2065,"type":13},"Authentication","authentication",{"name":1890,"slug":1891,"type":13},{"name":8,"slug":8,"type":13},{"name":1897,"slug":1898,"type":13},{"name":2070,"slug":2071,"type":13},"Security","security","2026-07-08T05:45:07.766252",{"slug":2074,"name":2074,"fn":1902,"description":2075,"org":2076,"tags":2077,"stars":23,"repoUrl":24,"updatedAt":2084},"n8n-data-tables-official","Use when working with n8n's built-in Data Tables, designing schemas, inserting\u002Fupdating\u002Fupserting rows, deduping, or querying. Triggers on \"Data Table\", \"data table\", `n8n-nodes-base.dataTable`, \"dedup\", \"idempotency\", \"lookup\", \"persistent state\", \"store across executions\", or any schema design discussion inside n8n.",{"slug":8,"name":8,"logoUrl":9,"githubOrg":10},[2078,2081,2082,2083],{"name":2079,"slug":2080,"type":13},"Data Modeling","data-modeling",{"name":1910,"slug":1911,"type":13},{"name":8,"slug":8,"type":13},{"name":21,"slug":22,"type":13},"2026-07-08T05:44:52.048039",{"slug":2086,"name":2086,"fn":2087,"description":2088,"org":2089,"tags":2090,"stars":23,"repoUrl":24,"updatedAt":2095},"n8n-debugging-official","debug and fix n8n workflow errors","Use when an n8n workflow isn't working, errors appear, results don't match what was expected, or the user says \"this isn't working.\" Triggers on errors, unexpected output, \"it's not working\", \"why is this happening\", \"the workflow stopped\", failure investigation, or any debugging context.",{"slug":8,"name":8,"logoUrl":9,"githubOrg":10},[2091,2092,2093,2094],{"name":1890,"slug":1891,"type":13},{"name":18,"slug":19,"type":13},{"name":8,"slug":8,"type":13},{"name":21,"slug":22,"type":13},"2026-07-08T05:45:05.897341",{"slug":4,"name":4,"fn":5,"description":6,"org":2097,"tags":2098,"stars":23,"repoUrl":24,"updatedAt":25},{"slug":8,"name":8,"logoUrl":9,"githubOrg":10},[2099,2100,2101,2102],{"name":18,"slug":19,"type":13},{"name":8,"slug":8,"type":13},{"name":15,"slug":16,"type":13},{"name":21,"slug":22,"type":13},14]