Simple Multi Concat Text
Five text inputs, one clean join — the concat node that skips the empties
- text
This is the pack's quiet workhorse. Simple Multi Concat Text does one thing - join up to five text inputs into one string - and it does it with a twist that makes it actually worth having: empty or unconnected inputs are silently dropped. No separator soup, no a,,b garbage, no "why is there a comma at the start" debugging. You wire in whatever's available and get a clean string out.
Where this earns its keep is chaining the pack's own PromptPalette-F nodes together, or assembling a prompt from several optional sources - a base prompt from one node, a style chunk from another, quality tags from a third - and knowing that whatever isn't connected just doesn't contribute. It's the text equivalent of "treat empty as missing," which is embarrassingly rare among ComfyUI's stock concat options.
The inputs
text1throughtext5- the texts to join. All of them are wire-only slots, so you can't type into them; whatever lands on the wire is what gets used. Unconnected, empty, orNoneinputs are filtered out before joining.separator- the joiner (default empty string). Set it to,for prompt-style joining.separator_newline- append a newline after each separator. Works even with an empty separator, which gives you a line-by-line join - handy when you want one phrase per line in the output.add_newline- append a final newline at the very end. Skipped when no valid inputs arrived, so you don't get stray blank lines in a fully-empty run.
That's the whole input list. Nothing else, and that's the point.
The output
A single text output: the valid inputs joined with your separator. Wire it into a CLIP Text Encode, into another concat, or into a preview node.
Installing it
It ships in the same pack as Prompt Palette-F, so the install is identical:
cd ComfyUI/custom_nodes
git clone https://github.com/id-fa/ComfyUI-PromptPalette-F prompt-palette-f
cd prompt-palette-f
pip install -r requirements.txt
Restart, and it appears under the Prompt Palette-F category. If you use ComfyUI Manager, search "Prompt Palette-F" and install from there instead (may be a slightly older snapshot of the repo). The pack's only real dependency is googletrans, which this node doesn't even use - the concat node is pure Python.
The gotcha
The one thing to remember: the auto-drop works on the input value, not the wire. If you connect a node that outputs an empty string, that's treated as empty and filtered - good. But if something downstream is feeding you a string with spaces in it, that's not "empty," and you'll get it joined in with its spaces. Trim upstream if you care. Otherwise this node is about as close to "just works" as a text utility gets. For combining multiple palette nodes, it's the one I'd reach for over the stock options every time.
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| separator | STRING | — | |
| separator_newline | BOOLEAN | false | — |
| add_newline | BOOLEAN | false | — |
| text1opt | STRING | — | |
| text2opt | STRING | — | |
| text3opt | STRING | — | |
| text4opt | STRING | — | |
| text5opt | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |