Nodes/WGC Nodes/Unpack Text 5
ComfyUI Node

Unpack Text 5

Turn one bundle back into five labeled wires

By heyheywoah·Created about a month ago·Updated about a month ago· 1
Unpack Text 5
  • bundle
  • text_01
  • text_02
  • text_03
  • text_04
  • text_05

The natural partner for a Pack Text 5. Unpack Text 5 takes one WGC_TEXT_BUNDLE in and gives you five STRING outputs (text_01 through text_05), and like every Unpack node in this pack it auto-renames those outputs to match the labels on the upstream Pack node. Name your boxes positive, negative, studio light, camera, quality and the outputs mirror them, so wiring up your five prompt chunks reads like a sentence instead of a puzzle.

It's the other half of the "prompt library starter kit": Pack Text 5 holds the library, this node hands the strings back to your graph as individual connections. The values are just a tuple of strings under the hood - the pack node bundles them, this node unbundles them, and the two halves don't even need to match size.

Sizing: mix and match freely

This is where the pack's fixed-size design pays off. Because the bundle type is identical at every size, connections are forgiving in both directions:

  • Pack Text 3 → Unpack Text 5: the two missing strings come back as empty strings.
  • Pack Text 10 → Unpack Text 5: the first five pass through, the rest are dropped.
  • Pack Text 5 → Unpack Text 5: a clean mirror, which is what you'll usually wire.

So you can keep a Pack Text 10 on your library side and a compact Unpack Text 5 near your sampler - you only unpack the slots you actually use. That's the trick to keeping a big library from turning into a wall of wires.

Label modes

  • Live (default) - outputs follow Pack labels automatically.
  • Frozen - keep current labels until you press Refresh Labels.
  • Manual - disable auto-renaming and edit output names yourself.

Ordinary Reroute nodes are followed when resolving labels, so you can bend the bundle wire around the canvas without losing the auto-names.

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 model files, no API key.

Where people get tripped up

  • A fifth output you didn't expect is empty. You fed it a Pack Text 3, remember? Empty slots are by design - it's how the pack keeps mismatched sizes safe instead of erroring.
  • Labels out of sync. Refresh Labels resyncs; a Frozen or Manual mode will also stop it following, so check the mode first.
  • Subgraph caveat. Cross a collapsed Subgraph boundary and the strings still flow, but automatic label discovery isn't guaranteed in 0.1.0.

Five outputs is the size I'd pair with a first library. Enough wires to matter, few enough to keep the graph legible.

CategoryWGC/Text

Inputs (1)

NameTypeDefaultDescription
bundleWGC_TEXT_BUNDLE

Outputs (5)

NameTypeDescription
text_01STRING
text_02STRING
text_03STRING
text_04STRING
text_05STRING