ComfyUI > Nodes > ComfyUI-RvTools_v2 > Basic Pipe Multi-Switch

ComfyUI Node: Basic Pipe Multi-Switch

Class Name

Basic Pipe Multi-Switch [RvTools]

Category
🫦 RvTools II/ Multi-Switches
Author
r-vage (Account age: 317days)
Extension
ComfyUI-RvTools_v2
Latest Updated
2026-03-27
Github Stars
0.02K

How to Install ComfyUI-RvTools_v2

Install this extension via the ComfyUI Manager by searching for ComfyUI-RvTools_v2
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-RvTools_v2 in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Basic Pipe Multi-Switch Description

The node automates data routing by selecting the first available input from multiple channels.

Basic Pipe Multi-Switch [RvTools]:

The Basic Pipe Multi-Switch [RvTools] is a versatile node designed to streamline the process of selecting and routing data through multiple input channels in a pipeline. Its primary function is to evaluate up to five optional input channels and pass through the first non-null input it encounters. This node is particularly beneficial in scenarios where multiple data streams are available, and you need to dynamically select one based on availability. By automating the selection process, it reduces the need for manual intervention and ensures that the pipeline continues to function smoothly even when some inputs are unavailable. This capability makes it an essential tool for AI artists who work with complex data flows, allowing them to focus on creative tasks rather than technical configurations.

Basic Pipe Multi-Switch [RvTools] Input Parameters:

input1

This parameter represents the first optional input channel of type BASIC_PIPE. It is the primary input that the node will attempt to pass through if it is not null. The presence of a valid input here will result in this channel being selected over others.

input2

This parameter is the second optional input channel of type BASIC_PIPE. If input1 is null, the node will check this channel next. It serves as a backup to ensure data flow continuity.

input3

This parameter is the third optional input channel of type BASIC_PIPE. It is evaluated if both input1 and input2 are null, providing an additional layer of redundancy.

input4

This parameter is the fourth optional input channel of type BASIC_PIPE. It is considered if the previous three inputs are null, further enhancing the node's ability to handle multiple data sources.

input5

This parameter is the fifth optional input channel of type BASIC_PIPE. It acts as the final fallback option, ensuring that the node can still function even if the first four inputs are unavailable.

Basic Pipe Multi-Switch [RvTools] Output Parameters:

BASIC_PIPE

The output parameter is of type BASIC_PIPE and represents the selected input channel that is passed through the node. This output is crucial as it determines the data stream that will continue through the pipeline, ensuring that the most relevant and available data is utilized.

Basic Pipe Multi-Switch [RvTools] Usage Tips:

  • Ensure that at least one input channel is active to avoid errors. This node is designed to pass through the first non-null input, so having multiple active inputs can provide redundancy and flexibility.
  • Use this node in complex pipelines where multiple data sources are available, and you need to dynamically select the most appropriate one based on availability.

Basic Pipe Multi-Switch [RvTools] Common Errors and Solutions:

Missing Input: Multi Pipe Switch has no active Input

  • Explanation: This error occurs when all input channels are null, and the node cannot find any data to pass through.
  • Solution: Ensure that at least one of the input channels (input1, input2, input3, input4, or input5) is connected to a valid data source. Double-check your pipeline configuration to confirm that data is being fed into the node.

Basic Pipe Multi-Switch Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-RvTools_v2
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Basic Pipe Multi-Switch