What problem does it solve?
This Skill prevents n8n SDK workflows from looking valid while key connections are silently dropped or misrouted, causing nodes to not fire or to receive the wrong data.
Core Features & Use Cases
- Stop the
.to()-after-.add() trap: ensure every wire uses the universal pattern so validation won’t pass while execution fails.
- Correctly wire multi-output and composite handlers: route IF/Switch error branches and
.onTrue, .onFalse, .onCase, .onError outputs reliably.
- Handle fan-out, fan-in, and Merge indexing safely: verify Merge
numberOfInputs and align useDataOfInput (1-indexed) with SDK .input(n) (0-indexed).
- Post-create verification that matters: use
get_workflow_details to confirm the connections object matches what your code intended.
Quick Start
When building an n8n workflow with the SDK, connect nodes using .add(source.output(n).to(target)) and verify the resulting connections via get_workflow_details before assuming the wiring is correct.