# \#switch

**URL:** https://community.n8n.io/tag/switch/185.md

[Latest](https://community.n8n.io/latest.md) · [Categories](https://community.n8n.io/categories.md) · [Tags](https://community.n8n.io/tags.md)

---

## [\[Local\] I made an agent to control my Roku TV](https://community.n8n.io/t/local-i-made-an-agent-to-control-my-roku-tv/321694)

<div class="topic-metadata">

**Author:** [@gwashark](https://community.n8n.io/u/gwashark)\
**Replies:** 4\
**Last updated:** [October 15, 2026, 5:07pm UTC](https://community.n8n.io/t/local-i-made-an-agent-to-control-my-roku-tv/321694 "2026-10-15T17:07:00Z")

</div>

I had an idea where I could chat with an ai to control my TV. And so I brought it to life. Note, I am using the self hosted version, and did not forward the ip of my Roku to the internet. Everything is local. Workflo…

---

## [Switch-node : Where's the String begins-with-option?](https://community.n8n.io/t/switch-node-wheres-the-string-begins-with-option/307468)

<div class="topic-metadata">

**Author:** [@nm5182](https://community.n8n.io/u/nm5182)\
**Replies:** 5\
**Last updated:** [August 13, 2026, 4:13pm UTC](https://community.n8n.io/t/switch-node-wheres-the-string-begins-with-option/307468 "2026-08-13T16:13:25Z")

</div>

Describe the problem/error/question As far as I can remember there always used to be a “begins with” and “ends with” option in the switch node, but there’s not anymore. Has anyone of you a clue where this feature has gon…

---

## [Autonomous AI Sales Engine & BANT Lead Scorer (n8n & GPT-4o)](https://community.n8n.io/t/autonomous-ai-sales-engine-bant-lead-scorer-n8n-gpt-4o/284063)

<div class="topic-metadata">

**Author:** [@Muhammad\_Uzair\_AI](https://community.n8n.io/u/Muhammad_Uzair_AI)\
**Replies:** 3\
**Last updated:** [April 6, 2026, 10:44pm UTC](https://community.n8n.io/t/autonomous-ai-sales-engine-bant-lead-scorer-n8n-gpt-4o/284063 "2026-04-06T22:44:44Z")

</div>

The Problem​:cross\_mark: Managing inbound sales inquiries manually is slow and often leads to missed opportunities. Categorizing leads, researching their brands, and sending personalized follow-ups takes hours of manual…

---

## [Conditionally set values](https://community.n8n.io/t/conditionally-set-values/172441)

<div class="topic-metadata">

**Author:** [@hrishikesh](https://community.n8n.io/u/hrishikesh)\
**Replies:** 10\
**Last updated:** [August 20, 2025, 5:49pm UTC](https://community.n8n.io/t/conditionally-set-values/172441 "2025-08-20T17:49:11Z")

</div>

Hi! I’m trying to build a workflow that involves setting the value of a variable based on some conditions. I have seen some previous posts like: …and while they cover my question, I’m hoping to see if there’s a dif…

---

## [Switch1 node output](https://community.n8n.io/t/switch1-node-output/154843)

<div class="topic-metadata">

**Author:** [@charleslcso](https://community.n8n.io/u/charleslcso)\
**Replies:** 1\
**Last updated:** [July 24, 2025, 5:08am UTC](https://community.n8n.io/t/switch1-node-output/154843 "2025-07-24T05:08:44Z")

</div>

Describe the problem/error/question In Switch1 node, I’m not sure why both output would be sent. Happens in both Test and Production. Switch node works fine; only 1 output would be sent. What is there to check? Please…

---

## [Merge branches for Looping Switch Node](https://community.n8n.io/t/merge-branches-for-looping-switch-node/129585)

<div class="topic-metadata">

**Author:** [@Samyyy](https://community.n8n.io/u/Samyyy)\
**Replies:** 9\
**Last updated:** [June 9, 2025, 9:15pm UTC](https://community.n8n.io/t/merge-branches-for-looping-switch-node/129585 "2025-06-09T21:15:20Z")

</div>

Hello there, I get trouble merging my outputs after looping an API call. My original goal is running an api multiple times and then merge all of the data together. Here is my workflow, I use a conditional switch node to…

---

## [Function in Switch: The Switch node must present routing rules similar to the If node.](https://community.n8n.io/t/function-in-switch-the-switch-node-must-present-routing-rules-similar-to-the-if-node/108768)

<div class="topic-metadata">

**Author:** [@GiovaneOba](https://community.n8n.io/u/GiovaneOba)\
**Replies:** 0\
**Last updated:** [April 30, 2025, 5:53pm UTC](https://community.n8n.io/t/function-in-switch-the-switch-node-must-present-routing-rules-similar-to-the-if-node/108768 "2025-04-30T17:53:18Z")

</div>

\## The idea is: The Switch node could present routing rules that would allow the use of “AND” and “OR” like the if, this to avoid the use of multiple ifs and switches in the same flow. Those who wanted to use the Switch…

---

## [How to create conditional workflows with switches](https://community.n8n.io/t/how-to-create-conditional-workflows-with-switches/45287)

<div class="topic-metadata">

**Author:** [@colleen](https://community.n8n.io/u/colleen)\
**Replies:** 12\
**Last updated:** [April 28, 2025, 2:19pm UTC](https://community.n8n.io/t/how-to-create-conditional-workflows-with-switches/45287 "2025-04-28T14:19:31Z")

</div>

:wave: Hello n8n community! If you’re familiar with using paths in Zapier or routers in Make but haven’t mastered switches for directing data in workflows, this \< 3 minute video will guide you on how to use them effecti…

---

## [No fields - item(s) exist, but they're empty - switch statement](https://community.n8n.io/t/no-fields-item-s-exist-but-theyre-empty-switch-statement/99094)

<div class="topic-metadata">

**Author:** [@Rabit](https://community.n8n.io/u/Rabit)\
**Replies:** 1\
**Last updated:** [April 9, 2025, 8:25pm UTC](https://community.n8n.io/t/no-fields-item-s-exist-but-theyre-empty-switch-statement/99094 "2025-04-09T20:25:12Z")

</div>

Hi im noobie in n8n but when using easy switch statement i got This is an item, but it’s empty. WHY!? Why is it entry to the first rule ?

---

## [Switch Node always gives data to first index](https://community.n8n.io/t/switch-node-always-gives-data-to-first-index/94943)

<div class="topic-metadata">

**Author:** [@MoritzSchoelderle](https://community.n8n.io/u/MoritzSchoelderle)\
**Replies:** 3\
**Last updated:** [March 31, 2025, 3:04pm UTC](https://community.n8n.io/t/switch-node-always-gives-data-to-first-index/94943 "2025-03-31T15:04:48Z")

</div>

I want to use a switch node in my workflow, to trigger different parts at different times (it´s a content automation). Yet, no matter of how I configure the switch node, it sends the data to the first on (index=0). Pleas…

---

## [Switch node not working](https://community.n8n.io/t/switch-node-not-working/94934)

<div class="topic-metadata">

**Author:** [@MoritzSchoelderle](https://community.n8n.io/u/MoritzSchoelderle)\
**Replies:** 1\
**Last updated:** [March 31, 2025, 8:12am UTC](https://community.n8n.io/t/switch-node-not-working/94934 "2025-03-31T08:12:25Z")

</div>

The switch node always just sends data to the first index output, even though it should send it to another one (based on the time). Information on your n8n setup n8n version: 1.78.0 Database (default: SQLite): SQLite n8…

---

## [Combine switch steps into one execution](https://community.n8n.io/t/combine-switch-steps-into-one-execution/92145)

<div class="topic-metadata">

**Author:** [@Samyyy](https://community.n8n.io/u/Samyyy)\
**Replies:** 11\
**Last updated:** [March 25, 2025, 3:39pm UTC](https://community.n8n.io/t/combine-switch-steps-into-one-execution/92145 "2025-03-25T15:39:19Z")

</div>

Hello all, I have a flow updating data into different google tabs. I used a switch block to divide data into different groups based on Tab name, and then insert them into different tab on Google Sheet individually. I do …

---

## [Merge Node for Binary Data](https://community.n8n.io/t/merge-node-for-binary-data/80832)

<div class="topic-metadata">

**Author:** [@Asim\_Siddiqui](https://community.n8n.io/u/Asim_Siddiqui)\
**Replies:** 8\
**Last updated:** [February 23, 2025, 12:08pm UTC](https://community.n8n.io/t/merge-node-for-binary-data/80832 "2025-02-23T12:08:21Z")

</div>

Hi, What I am trying to achieve: I have this workflow where a loop runs over a number of scenes. For each scene, an image is created, sent out to my telegram for approval (if declined, it recreates the image). Once appr…

---

## [Form logic](https://community.n8n.io/t/form-logic/74595)

<div class="topic-metadata">

**Author:** [@Valters\_Zilvinskus](https://community.n8n.io/u/Valters_Zilvinskus)\
**Replies:** 5\
**Last updated:** [February 15, 2025, 3:45pm UTC](https://community.n8n.io/t/form-logic/74595 "2025-02-15T15:45:18Z")

</div>

Hello everyone. I am trying a little bit complex multiple page form. So in first step user fills out data needed and then gets sent to according form depending how many travelers are applying for travel. This is the fir…

---

## [How i want to create in the switch nodes routing rules](https://community.n8n.io/t/how-i-want-to-create-in-the-switch-nodes-routing-rules/75412)

<div class="topic-metadata">

**Author:** [@Muhammad\_Faiz\_Mohd\_N](https://community.n8n.io/u/Muhammad_Faiz_Mohd_N)\
**Replies:** 1\
**Last updated:** [February 6, 2025, 7:26am UTC](https://community.n8n.io/t/how-i-want-to-create-in-the-switch-nodes-routing-rules/75412 "2025-02-06T07:26:01Z")

</div>

currently i using n8n workflow, their have switch nodes panel, i using mode rule. on the rules not on number format is not have in between expression, create me on the as expression in javascript. I have value = 1000…

---

## [Switch is not Discretely Filtering Matching Values](https://community.n8n.io/t/switch-is-not-discretely-filtering-matching-values/54507)

<div class="topic-metadata">

**Author:** [@cs\_lec](https://community.n8n.io/u/cs_lec)\
**Replies:** 4\
**Last updated:** [September 24, 2024, 5:28pm UTC](https://community.n8n.io/t/switch-is-not-discretely-filtering-matching-values/54507 "2024-09-24T17:28:26Z")

</div>

I am using a switch to send call information downstream to some additional processing based on the type of call it is. In steps prior to the switch I’m attaching a value of ‘intro’, ‘scoping’ or ‘proposal’ which I then …

---

## [Issue with Receiving Output from Switch Node in Baserow Node (v1.55.3 on Railway)](https://community.n8n.io/t/issue-with-receiving-output-from-switch-node-in-baserow-node-v1-55-3-on-railway/52630)

<div class="topic-metadata">

**Author:** [@llmanes](https://community.n8n.io/u/llmanes)\
**Replies:** 4\
**Last updated:** [September 11, 2024, 3:17pm UTC](https://community.n8n.io/t/issue-with-receiving-output-from-switch-node-in-baserow-node-v1-55-3-on-railway/52630 "2024-09-11T15:17:35Z")

</div>

Hi everyone! I’m having trouble receiving the output from the Switch node in the Baserow node. I’m using n8n version 1.55.3, and my installation is on Railway. Has anyone encountered this issue before or can help me res…

---

## [Switch Scheme not showing content](https://community.n8n.io/t/switch-scheme-not-showing-content/50513)

<div class="topic-metadata">

**Author:** [@artildo](https://community.n8n.io/u/artildo)\
**Replies:** 2\
**Last updated:** [August 19, 2024, 6:36am UTC](https://community.n8n.io/t/switch-scheme-not-showing-content/50513 "2024-08-19T06:36:16Z")

</div>

Describe the problem/error/question When I get data from a Switch node, I can’t see it Schema but JSON and Table are ok Schema JSON Information on your n8n setup n8n version: 1.50.1 Database (default: SQLite): …

---

## [Switch is passing only the previous node output to second route](https://community.n8n.io/t/switch-is-passing-only-the-previous-node-output-to-second-route/51109)

<div class="topic-metadata">

**Author:** [@pearlprince](https://community.n8n.io/u/pearlprince)\
**Replies:** 15\
**Last updated:** [August 2, 2024, 10:00pm UTC](https://community.n8n.io/t/switch-is-passing-only-the-previous-node-output-to-second-route/51109 "2024-08-02T22:00:08Z")

</div>

I have a situation where the flow is like this Trigger-\>DB Lookup-\>WebRequest1-\>WebRequest2-\>Switch-\> Route 1, 2 In the route1 , i am getting all the outputs of all previous nodes. But in route2, i am just getting the…

---

## [Node Switch: Multiple Routes to the Same Output Node](https://community.n8n.io/t/node-switch-multiple-routes-to-the-same-output-node/50926)

<div class="topic-metadata">

**Author:** [@rafaelxc](https://community.n8n.io/u/rafaelxc)\
**Replies:** 4\
**Last updated:** [July 30, 2024, 5:43pm UTC](https://community.n8n.io/t/node-switch-multiple-routes-to-the-same-output-node/50926 "2024-07-30T17:43:15Z")

</div>

On this workflow I need to send 2 routes to the same output node. It this possible? I tested on the past but i had some problems. Information on your n8n setup n8n version: 1.51.2 Database (default: SQLite): default n…

---

## [Switch node outputs attached to specific output isntead of n'th output](https://community.n8n.io/t/switch-node-outputs-attached-to-specific-output-isntead-of-nth-output/50267)

<div class="topic-metadata">

**Author:** [@Mateusz\_Bijakowski](https://community.n8n.io/u/Mateusz_Bijakowski)\
**Replies:** 0\
**Last updated:** [July 17, 2024, 7:41am UTC](https://community.n8n.io/t/switch-node-outputs-attached-to-specific-output-isntead-of-nth-output/50267 "2024-07-17T07:41:06Z")

</div>

The idea is: Switch node attachment points should be connected to specific output, currently they are connected to n’th output and move around when new outputs are added or removed. My use case: I expect my output nodes…

---

## [Match multiple rules in Switch?](https://community.n8n.io/t/match-multiple-rules-in-switch/48898)

<div class="topic-metadata">

**Author:** [@Crypto\_T3CH](https://community.n8n.io/u/Crypto_T3CH)\
**Replies:** 1\
**Last updated:** [June 21, 2024, 10:46pm UTC](https://community.n8n.io/t/match-multiple-rules-in-switch/48898 "2024-06-21T22:46:00Z")

</div>

Describe the problem/error/question I’m trying to figure out if there is a way to create a rule in a switch node that matches on 2 values before sending to the output. I’m trying to match an email on the to address and c…

---

## [Switch Node not Outputting](https://community.n8n.io/t/switch-node-not-outputting/48087)

<div class="topic-metadata">

**Author:** [@Crypto\_T3CH](https://community.n8n.io/u/Crypto_T3CH)\
**Replies:** 2\
**Last updated:** [June 10, 2024, 8:02am UTC](https://community.n8n.io/t/switch-node-not-outputting/48087 "2024-06-10T08:02:49Z")

</div>

Describe the problem/error/question I’m not getting anything to output from the switch for fallback. I create Output 1 and set it to match on if exists and can’t get an output from that either even though it’s saying it …

---

## [Filter - is a number but was expecting a number](https://community.n8n.io/t/filter-is-a-number-but-was-expecting-a-number/46448)

<div class="topic-metadata">

**Author:** [@Drearily5829](https://community.n8n.io/u/Drearily5829)\
**Replies:** 2\
**Last updated:** [May 30, 2024, 5:13pm UTC](https://community.n8n.io/t/filter-is-a-number-but-was-expecting-a-number/46448 "2024-05-30T17:13:19Z")

</div>

Describe the problem/error/question Hello good people, I need to filter out items where the amount is empty (null). I tried to use Filter which is working when manually triggered with the Test step button inside the node…

---

## [Switch node distribute data](https://community.n8n.io/t/switch-node-distribute-data/35939)

<div class="topic-metadata">

**Author:** [@Tom\_M](https://community.n8n.io/u/Tom_M)\
**Replies:** 7\
**Last updated:** [March 26, 2024, 10:25am UTC](https://community.n8n.io/t/switch-node-distribute-data/35939 "2024-03-26T10:25:05Z")

</div>

I’d like to ask for some assistance because I can’t think of a way to do it myself. I make a call to API that returns me a JSON string that looks something like this \[ { "id": 1, "name": "Some Guy 1", "tas…

---

## [More characters in the Switch node?](https://community.n8n.io/t/more-characters-in-the-switch-node/40584)

<div class="topic-metadata">

**Author:** [@solomon](https://community.n8n.io/u/solomon)\
**Replies:** 7\
**Last updated:** [February 21, 2024, 8:31pm UTC](https://community.n8n.io/t/more-characters-in-the-switch-node/40584 "2024-02-21T20:31:25Z")

</div>

Can I make the output names show more text, instead of only 4-6 characters? Information on your n8n setup n8n version: 1.27.3 Database (default: SQLite): SQLite n8n EXECUTIONS\_PROCESS setting (default: own, main): o…

---

## [Switch Not Working As Expected - Output Not Showing Data](https://community.n8n.io/t/switch-not-working-as-expected-output-not-showing-data/36094)

<div class="topic-metadata">

**Author:** [@Damien\_Kelly](https://community.n8n.io/u/Damien_Kelly)\
**Replies:** 3\
**Last updated:** [January 29, 2024, 11:00pm UTC](https://community.n8n.io/t/switch-not-working-as-expected-output-not-showing-data/36094 "2024-01-29T23:00:57Z")

</div>

HI Guys, I have the following output from a switch node. I have confirmed that the field used for the switch is indeed a number field (if that makes a difference), however when i run it, it doesn’t output to output 0 as…

---

## [Switch node to more than one path](https://community.n8n.io/t/switch-node-to-more-than-one-path/32791)

<div class="topic-metadata">

**Author:** [@mokkin](https://community.n8n.io/u/mokkin)\
**Replies:** 7\
**Last updated:** [January 24, 2024, 5:08pm UTC](https://community.n8n.io/t/switch-node-to-more-than-one-path/32791 "2024-01-24T17:08:49Z")

</div>

I have configured a switch node in a workflow with regex. If a value is met twice or three times, it should go all the necessary paths. Unfortunately in my example it is runnig only to path0 for the example value of “Ta…

---

## [Targeting Previous Switch Node Outputs](https://community.n8n.io/t/targeting-previous-switch-node-outputs/34919)

<div class="topic-metadata">

**Author:** [@jyln](https://community.n8n.io/u/jyln)\
**Replies:** 2\
**Last updated:** [January 6, 2024, 10:21pm UTC](https://community.n8n.io/t/targeting-previous-switch-node-outputs/34919 "2024-01-06T22:21:47Z")

</div>

Describe the problem/error/question I’m currently working on building a workflow for automating a Discover Weekly archive playlist on Spotify. I would prefer to use a Switch node as it makes the workflow look cleaner, ho…

---

## [Multiple paths into an IF or SWITCH node gives wrong output](https://community.n8n.io/t/multiple-paths-into-an-if-or-switch-node-gives-wrong-output/32627)

<div class="topic-metadata">

**Author:** [@Jshroads](https://community.n8n.io/u/Jshroads)\
**Replies:** 2\
**Last updated:** [November 18, 2023, 4:51pm UTC](https://community.n8n.io/t/multiple-paths-into-an-if-or-switch-node-gives-wrong-output/32627 "2023-11-18T16:51:58Z")

</div>

When I have two input paths to either an If or Switch node (one from a webhook and one from execute node - permits the workflow to be called tw different ways) both the If and Switch go down the false path when I compare…

[Next page](https://community.n8n.io/tag/switch/185.md?match_all_tags=true&page=1&tags%5B%5D=switch)
