debugging-executions

oleh n8n-io

Debug eksekusi alur kerja yang gagal atau menghasilkan output yang salah menggunakan alat eksekusi. Muat saat pengguna melaporkan kegagalan eksekusi, output node yang tidak terduga, atau kosong…

npx skills add https://github.com/n8n-io/n8n --skill debugging-executions

Debugging Executions

Use this skill when debugging workflow execution failures or successful runs with wrong or empty values.

When the user reports it still fails

Re-run the failing path with executions(action="run") (or verify-built-workflow) and inspect the real result before responding. Do not restate that the workflow is "fixed", "verified", or "working", and do not attribute the reported failure to a test-harness artifact, stale state, or "it works in production" without a re-run against the failing path. Treat live signals as real: an execution error, partial coverage (nodesNotReached), an empty node, or a missing node is a real defect to investigate, not something to explain away. If you genuinely cannot re-run the failing path, say so plainly and name what is unconfirmed instead of repeating a success claim.

Testing event-triggered workflows

Use executions(action="run") with inputData matching the trigger's output shape — do not rebuild the workflow with a Manual Trigger. For trigger inputData shapes, read ${N8N_WORKSPACE_DIR}/knowledge-base/reference/trigger-input-data-shapes.md when a sandbox workspace is available.

Failed execution

executions(action="debug") already includes failedNode.resolvedParameters — start there. That bundle has parameters (raw, with expressions intact), resolved (substituted), failedExpressions (those that threw), and emptyResolutions (those that resolved to null/undefined/"" silently). The offending expression is usually visible without a follow-up call. Entries in either list tagged with reason: "unreconstructable-context" are NOT real bugs — they reference variables we don't reconstruct in replay ($vars, $secrets, $response, $request, $pageCount, $ai). The value existed at execution time; we just don't have it here.

Successful execution with wrong or empty value

When debug doesn't apply because nothing errored, call executions(action="get-resolved-node-parameters", executionId, nodeName) on the node whose output looks off — do this unprompted, don't ask the user for permission first. It's a cheap read-only inspection and the only reliable way to confirm whether an empty value came from an expression silently resolving to nullish. Check emptyResolutions first; most "this parameter is empty" cases are expressions resolving to null/undefined/"", not thrown errors.

Lebih banyak skill dari n8n-io

n8n-cli
n8n-io
Gunakan CLI n8n untuk mengelola alur kerja, kredensial, eksekusi, dan lainnya pada instance n8n. Gunakan saat pengguna meminta untuk berinteraksi dengan n8n, mengotomatiskan alur kerja,…
official
create-issue
n8n-io
Membuat tiket Linear atau isu GitHub sesuai dengan konvensi n8n. Gunakan saat pengguna meminta untuk membuat tiket, melaporkan bug, membuka isu, atau mengatakan /create-issue.
official
node-add-oauth
n8n-io
Tambahkan dukungan kredensial OAuth2 ke node n8n yang sudah ada — buat file kredensial, perbarui node, tambahkan pengujian, dan jaga konstanta CLI tetap sinkron. Gunakan ketika…
official
spec-driven-development
n8n-io
Menjaga implementasi dan spesifikasi tetap sinkron. Gunakan saat mengerjakan fitur yang memiliki spesifikasi di .claude/specs/, saat pengguna mengatakan /spec, atau saat memulai…
official
content-design
n8n-io
Product content designer for UI copy. Use when writing, reviewing, or auditing user-facing text: button labels, error messages, tooltips, empty states, modal…
official
create-issue
n8n-io
Create Linear tickets or GitHub issues following n8n conventions. Use when the user asks to create a ticket, file a bug, open an issue, or says /create-issue.
official
agent-builder
n8n-io
Use when creating, configuring, or editing a target n8n agent's build configuration — chat integrations/triggers, MCP servers, node-tool resource locators,…
official
create-pr
n8n-io
Creates GitHub pull requests with properly formatted titles that pass the check-pr-title CI validation. Use when creating PRs, submitting changes for review,…
official