π§ Concatenate Multi
Glue prompt parts together without a stack of text-concat nodes
- texts
- text
If you've ever built a prompt from three condition branches and a wildcard, you know the pain: two concat nodes, then a third because you added a part, then rewiring everything because the order changed. This node kills that whole class of fiddling. It's an auto-growing list of text inputs plus a delimiter, and it returns one joined string. Add a part by clicking the node's "+" - no new nodes, no rewiring.
It comes from the π§ SuperNodes pack by SuperCC, and it's a quality-of-life tool in the same spirit as the pack's other utilities: nothing generates, everything just gets out of your way.
How it works
- delimiter - the glue.
", "for tags,", "plus manual phrasing for prompt fragments, or literally\n(backslash-n, as typed) which the node turns into a real newline. That's a genuinely nice touch for multi-line negative prompts. - texts - the auto-grow list. Wire each slot to whatever produces a string: condition branch outputs, wildcard nodes, text inputs, filename parts.
The join skips empty strings. That's the behavior that saves you from the classic "my prompt has a double comma where the empty branch used to be" bug - a branch that produced nothing simply vanishes from the output instead of leaving a hole.
Output is a single text string, ready to feed a CLIP Text Encode or anything else that takes a prompt.
When you'd reach for it
- Assembling a positive prompt from subject + style + quality fragments that come from different places in the graph.
- Building tag lists (delimiter
", "), where skipping empties means an unused slot never pollutes the tags. - Any workflow where "how many prompt parts are there" changes as you iterate. That's the use case the auto-grow exists for - the list size is a property of your workflow, not a fixed schema.
Install
ComfyUI Manager, search "ComfyUI-SuperNodes", or:
cd ComfyUI/custom_nodes
git clone https://github.com/sonnybox/ComfyUI-SuperNodes
Restart ComfyUI. No models, no special dependencies (the pack's matplotlib requirement is only for its Sigmas Graph node). Just note this pack targets ComfyUI's newer extension API - on an outdated ComfyUI build, none of it loads.
Gotchas
- The delimiter is a forced input, so the node expects it wired or set explicitly; it won't silently default. Set it once and it's saved with the workflow.
- Empty strings are filtered, not just trimmed. If you want a literal empty string in the middle, this isn't the node for that - but you almost certainly don't.
- It joins in list order, which is the order the slots appear in the node. Reorder by dragging slots, not by editing strings.
The whole node is one idea done properly: concatenate many strings, skip the dead ones, pick your separator. Ten seconds to learn, and it retires three or four nodes from your average prompt-building graph.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| delimiter | STRING | β | |
| texts | COMFY_AUTOGROW_V3 | β |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| text | STRING | β |