debugging-executions

par n8n-io

Debug failed or wrong-output workflow executions using executions tools. Load when the user reports execution failures, unexpected node output, empty parameter…

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.

Plus de skills de n8n-io

n8n-cli
n8n-io
Utilisez l'interface en ligne de commande n8n pour gérer les workflows, les identifiants, les exécutions, et plus encore sur une instance n8n. Utilisez lorsque l'utilisateur demande d'interagir avec n8n, d'automatiser des workflows,…
official
create-issue
n8n-io
Créer des tickets Linear ou des issues GitHub en suivant les conventions n8n. Utiliser lorsque l'utilisateur demande de créer un ticket, signaler un bug, ouvrir une issue, ou dit /create-issue.
official
node-add-oauth
n8n-io
Ajoute la prise en charge des identifiants OAuth2 à un nœud n8n existant — crée le fichier d'identifiants, met à jour le nœud, ajoute des tests et maintient la constante CLI synchronisée. À utiliser lorsque…
official
spec-driven-development
n8n-io
Maintient l'implémentation et les spécifications synchronisées. À utiliser lorsque vous travaillez sur une fonctionnalité qui a une spécification dans .claude/specs/, lorsque l'utilisateur dit /spec, ou lorsque vous commencez…
official
content-design
n8n-io
Concepteur de contenu produit pour les textes d'interface. À utiliser lors de la rédaction, la révision ou l'audit de textes destinés aux utilisateurs : libellés de boutons, messages d'erreur, infobulles, états vides, fenêtres modales…
official
create-issue
n8n-io
Créez des tickets Linear ou des issues GitHub en suivant les conventions n8n. À utiliser lorsque l'utilisateur demande de créer un ticket, de signaler un bug, d'ouvrir une issue, ou dit /create-issue.
official
agent-builder
n8n-io
À utiliser lors de la création, la configuration ou la modification de la configuration de build d'un agent n8n cible — intégrations/déclencheurs de chat, serveurs MCP, localisateurs de ressources d'outils de nœud,…
official
create-pr
n8n-io
Crée des pull requests GitHub avec des titres correctement formatés qui passent la validation CI check-pr-title. À utiliser lors de la création de PR, de la soumission de modifications pour révision,…
official