How to create a switch node with multiple routes

Describe the problem/error/question

Hello – I’m trying to do multiple HTTP calls, to download up to 4 documents from a Typeform. I’m using a switch and I need it to not default to only the first matched condition, but to proceed with all matched conditions.

Is there a way to achieve this? Appreciate the help!

What is the error message (if any)?

NA

Please share your workflow

Share the output returned by the last node

NA

Information on your n8n setup

  • n8n version:1.94.1
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): cloud
  • Operating system:

Hello @isma

Enable the option Send data to all matched outputs of the Switch node

Hey @barn4k thanks for your answer! Can’t believe I missed that…

Enabling that did not work either based on the logic I implemented (sorry I didn’t share it in my original post).

My goal was to skip the HTTP request if the file was not uploaded. I ended up having to add individual Switchs for each of the file optional fields, that would check if the file is present, and return null and skip the step if not present.

The logic in the switch is as follows: {{ $(‘Typeform Trigger’).item.json[‘Upload* *a second menu file (optional)’] == undefined}}

Hope this helps someone with the same issue in the future. Thanks!