Describe the problem/error/question
Hello everyone, I am using the Switch node for route contact from A to multiple B.
The input items has a field with the name of the accounts, this field can have multiple name, Account1 Account2 etc…
That’s why I am using the switch node, checking this field, and using the Routing rules “Contain”.
What is the error message (if any)?
The problem is when a contact has 2 account, this contact needs to be save in 2 account, but the switch node route it to the first account and skip the other one.
Is there a way to route the input in all the output with that rule?
Please share your workflow
Share the output returned by the last node
Information on your n8n setup
n8n version: 0.231.3
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system:
Hi @Gabriele_Bracciali, perhaps you want to try using multiple Filter nodes for such cases rather than one Switch node? An item can be picked up by multiple filters, so I think this would achieve what you have in mind.
Hi @MutedJam thank you for replying me.
Actually yes, that’s a great solution, I’ve added 4 filter with 4 different routing condition 1 for each account.
It’s working properly, thank you like always!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.