Nodes/WGC Nodes/Unpack Text 20
ComfyUI Node

Unpack Text 20

Keep twenty labeled prompts from turning into spaghetti

By heyheywoah·Created about a month ago·Updated about a month ago· 1
Unpack Text 20
  • bundle
  • text_01
  • text_02
  • text_03
  • text_04
  • text_05
  • text_06
  • text_07
  • text_08
  • text_09
  • text_10
  • text_11
  • text_12
  • text_13
  • text_14
  • text_15
  • text_16
  • text_17
  • text_18
  • text_19
  • text_20

Twenty strings on one side, twenty named wires on the other. Unpack Text 20 is the far end of a big Pack Text 20 - the node that takes your twenty-box prompt library and hands it back as twenty STRING outputs, auto-renamed to match the labels you set on the pack side. When you have that many prompt chunks, the auto-naming stops being a nicety and becomes the entire point: text_07 doesn't tell you anything, character_angry, scene_night, quality_high do.

The strings flow as plain text, so the outputs feed the same places any STRING does - CLIP Text Encode, prompt builders, LoRA trigger stacks. Nothing about the labels enters the executed prompt; only the string values do. That's the cache-safety contract, and at twenty boxes it matters twice as much, because it means shuffling or renaming your library never forces a re-generation of everything downstream.

Frozen mode: the one you'll actually want here

At this size, the auto-renaming can get chatty - you edit a label on the Pack side and suddenly a row of output names jumps. That's what Frozen label mode is for: it keeps the current output labels until you explicitly press Refresh Labels. Set it Frozen while you're actively editing the library, flip it to Live when you want the outputs to track again. Manual disables auto-renaming entirely for hand-edited names. All three are per-node UI state, which means switching modes doesn't touch the cache either.

Inputs and output

  • bundle (input) - one WGC_TEXT_BUNDLE from any Pack Text size.
  • text_01text_20 (outputs) - twenty STRINGs.

Size mismatches stay safe: feed it a Pack Text 5 and the extra fifteen outputs come back empty; feed it a Pack Text 30 and the last ten are ignored. You can also pair this Unpack with a smaller Pack and just accept the blanks - useful when you want the fixed output positions to match the rest of your graph.

Install

The pack is heyheywoah/WGC-Nodes. ComfyUI Manager → search "WGC Nodes", or:

cd ComfyUI/custom_nodes
git clone https://github.com/heyheywoah/WGC-Nodes.git

Restart ComfyUI. No dependencies, no models, no API key.

Where people get tripped up

  • Twenty outputs is a lot of wire. That's honest. If your graph only uses six of them, a smaller Unpack node drops the rest and keeps the canvas calm - the values you don't unpack simply never materialize.
  • Labels not tracking. Check the label mode (Frozen stops it) and hit Refresh Labels.
  • Subgraph caveat. Crossing a collapsed Subgraph boundary isn't guaranteed to auto-discover labels in 0.1.0, so a big bundle on a big graph is the most likely place to hit it. Manual mode covers you.

Twenty is the size for people who take their prompt library seriously. This node is what keeps it readable.

CategoryWGC/Text

Inputs (1)

NameTypeDefaultDescription
bundleWGC_TEXT_BUNDLE

Outputs (20)

NameTypeDescription
text_01STRING
text_02STRING
text_03STRING
text_04STRING
text_05STRING
text_06STRING
text_07STRING
text_08STRING
text_09STRING
text_10STRING
text_11STRING
text_12STRING
text_13STRING
text_14STRING
text_15STRING
text_16STRING
text_17STRING
text_18STRING
text_19STRING
text_20STRING