MultiLine Text Switchđ§¸
Pick one of three text inputs with a single dial
- Multiline Text
This is a plain, honest switch node: it takes up to three multiline text inputs and passes exactly one of them through, chosen by a number. Set the dial to 1, 2, or 3 and that input becomes the output. That's the entire node. No AI, no key, no network, nothing to configure beyond the picker.
You reach for it when you've got a few prompt variants sitting in a workflow and you want to flip between them without rewiring anything. Three saved prompts, one knob, swap on the fly.
How it works
You wire text into Input_1, Input_2, and Input_3 (any or all of them), and set active_input to the one you want live. The node routes that input straight to its Multiline Text output. Because the inputs are multiline, they hold full prompts, not just short strings, and you can also just type directly into them or attach text primitive nodes.
The inputs
- active_input (1 to 3, default 1): the selector. This is the only control that matters.
- Input_1 / Input_2 / Input_3 (multiline text): your candidate texts. Leave any unused.
The single output is Multiline Text, which you send to your CLIP Text Encode or any text consumer.
Where it fits
Think of it as an A/B/C switch for prompts. Common uses: keep a "safe" prompt and an "experimental" prompt side by side and toggle between them; hold three style descriptions and pick one per run; or park a couple of alternate instructions for Advanced Prompt Enhancer and flip which one feeds it. It pairs naturally with the rest of the Plush text nodes since everything in the suite speaks plain strings.
If you need to switch an image alongside the text, there's a sibling node in this pack, Image & Text Switch, that carries both. If you're routing a model and CLIP, that's the Model-CLIP Output Switch. This one is text only, kept deliberately simple.
Installing it
Comes with Plush-for-ComfyUI. Install via ComfyUI Manager (search "Plush", install Plush-for-ComfyUI, restart), or manually: cd ComfyUI/custom_nodes && git clone https://github.com/glibsonoran/Plush-for-ComfyUI.git, then pip install -r requirements.txt, restart.
Common issues
There's genuinely almost nothing to go wrong. The one thing that catches people: if you set active_input to a slot you never connected, the output is empty, and then you're staring at a blank prompt wondering why the render is off. Make sure the number points at an input that actually has text. Beyond that, this node is as boring and reliable as they come, which is exactly what you want from a switch.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| active_input | INT | 11â3 | â |
| Input_1opt | STRING | â | |
| Input_2opt | STRING | â | |
| Input_3opt | STRING | â |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| Multiline Text | STRING | â |