# Switch node routing, same value multiple output

**URL:** <https://community.n8n.io/t/switch-node-routing-same-value-multiple-output/29424>\
**Category:** Questions\
**Tags:** switch\
**Created:** [August 16, 2023, 10:37am UTC](https://community.n8n.io/t/switch-node-routing-same-value-multiple-output/29424 "2023-08-16T10:37:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gabriele\_Bracciali](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/gabriele_bracciali/32/31293_2.png) [@Gabriele\_Bracciali](https://community.n8n.io/u/Gabriele_Bracciali)\
**Post date:** [August 16, 2023, 10:37am UTC](https://community.n8n.io/t/switch-node-routing-same-value-multiple-output/29424/1 "2023-08-16T10:37:25Z")

</div>

## 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:**

---

<div class="post-metadata">

**Author:** ![MutedJam](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mutedjam/32/70851_2.png) [@MutedJam](https://community.n8n.io/u/MutedJam)\
**Post date:** [August 17, 2023, 11:20am UTC](https://community.n8n.io/t/switch-node-routing-same-value-multiple-output/29424/3 "2023-08-17T11:20:56Z")

</div>

Hi @Gabriele_Bracciali, perhaps you want to try using multiple [Filter](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.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.

---

<div class="post-metadata">

**Author:** ![Gabriele\_Bracciali](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/gabriele_bracciali/32/31293_2.png) [@Gabriele\_Bracciali](https://community.n8n.io/u/Gabriele_Bracciali)\
**Post date:** [August 17, 2023, 11:37am UTC](https://community.n8n.io/t/switch-node-routing-same-value-multiple-output/29424/4 "2023-08-17T11:37:31Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/36532_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [August 24, 2023, 11:38am UTC](https://community.n8n.io/t/switch-node-routing-same-value-multiple-output/29424/5 "2023-08-24T11:38:11Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
