Describe the problem/error/question
Hello, I get crazy while trying to establish an IF or Switch node. What I try to do is: use this route if the webhook is given an attachment and if there is no attachment, use the other or fallback route. But it alwayss takes the one for “with attachment”. It is annoying and I have no other idea than asking you gyus. Hope you can assist me with this.
What is the error message (if any)?
There is no error message, but it always takes output 0. Expected behaviour is, that it should different route or fallback, when it comes to an event without attachment.
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
Information on your n8n setup
- n8n version: 2.8.4 (self hosted, community version)
- Database (default: SQLite): default
- n8n EXECUTIONS_PROCESS setting (default: own, main): ?
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: debian 12







