ComfyUI > Nodes > IAMCCS-nodes > MultiSwitch (dynamic inputs)

ComfyUI Node: MultiSwitch (dynamic inputs)

Class Name

IAMCCS_MultiSwitch

Category
IAMCCS/Utilities
Author
IAMCCS (Account age: 2204days)
Extension
IAMCCS-nodes
Latest Updated
2026-03-27
Github Stars
0.08K

How to Install IAMCCS-nodes

Install this extension via the ComfyUI Manager by searching for IAMCCS-nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter IAMCCS-nodes 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

MultiSwitch (dynamic inputs) Description

IAMCCS_MultiSwitch dynamically selects one active input from multiple streams, aiding workflow automation.

MultiSwitch (dynamic inputs):

The IAMCCS_MultiSwitch node is a versatile utility designed to dynamically manage multiple input streams within a node-based system. Its primary function is to facilitate the selection of a single active input from a set of potential inputs, which can be particularly useful in scenarios where multiple data sources are available, and a decision needs to be made on which one to process. The node starts with five predefined inputs and can dynamically expand to accommodate more as needed. This flexibility allows for seamless integration into complex workflows where the number of inputs may vary. The node intelligently selects the active input based on a specified preference or defaults to the first non-empty input, ensuring efficient data handling and reducing the need for manual intervention. This capability is especially beneficial for AI artists who need to streamline their creative processes by automating input selection.

MultiSwitch (dynamic inputs) Input Parameters:

input_01, input_02, input_03, input_04, input_05

These parameters represent the initial set of inputs that the IAMCCS_MultiSwitch node can handle. Each input can accept any type of data, making the node highly adaptable to various data formats and types. The node is designed to expand beyond these initial inputs, allowing additional inputs to be added dynamically as needed. This feature is particularly useful in complex workflows where the number of inputs may not be known in advance. The node will prioritize the input specified by the bus parameter if it is set and non-empty; otherwise, it will default to the first non-empty input in numerical order. This ensures that the most relevant data is always selected for processing.

MultiSwitch (dynamic inputs) Output Parameters:

output

The output parameter of the IAMCCS_MultiSwitch node is the selected input value that has been determined to be active based on the node's selection logic. This output is crucial as it represents the data that will be passed on to subsequent nodes in the workflow for further processing. By ensuring that only the most relevant and non-empty input is selected, the node helps maintain the efficiency and effectiveness of the data processing pipeline. This output can be of any type, reflecting the flexibility of the node to handle diverse data formats.

MultiSwitch (dynamic inputs) Usage Tips:

  • To optimize the node's performance, ensure that the bus parameter is set correctly to prioritize the desired input when multiple inputs are available.
  • Use the node's dynamic input expansion feature to accommodate additional inputs as your workflow grows, ensuring that all potential data sources are considered.

MultiSwitch (dynamic inputs) Common Errors and Solutions:

Invalid bus value

  • Explanation: The bus parameter is set to a non-integer or out-of-range value, causing the node to default to the first non-empty input.
  • Solution: Ensure that the bus parameter is set to a valid integer corresponding to the desired input index.

No non-empty inputs available

  • Explanation: All inputs are empty or none-like, resulting in a None output.
  • Solution: Verify that at least one input contains valid data before executing the node.

MultiSwitch (dynamic inputs) Related Nodes

Go back to the extension to check out more related nodes.
IAMCCS-nodes
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.

MultiSwitch (dynamic inputs)