Now inviting automation leaders: publish your playbook as a skill, under your own name. Publish yours →
Automation Skills
All skills/n8n node configuration official/SWITCH_FALLBACK
Reference · n8n node configuration official

SWITCH_FALLBACK

Part of n8n node configuration official. Install the skill and your agent reads this page when it needs the depth.

Switch node: name your outputs and handle the fallback

The Switch node's mode: 'rules' exposes a per-rule renameOutput: true + outputKey: '<name>' pattern, plus an options.fallbackOutput: 'extra' + options.renameFallbackOutput pair for the default branch.

get_node_types shows these fields exist. It doesn't tell you the consequence of leaving them off:

Don't ship a Switch node with unnamed outputs and no fallback.

Publish your skill

Copy this prompt into Claude Code, Codex or any agent. It walks you through your first skill in about 20 minutes, with you as the author.

Click to copy.