ComfyUI Node

🛡️Get Text

Can't see what a string node is actually producing? Get Text is your debug monitor

By KoreTeknology·Created 2 years ago·Updated 2 years ago· 16
🛡️Get Text
      text

      Somewhere in every ComfyUI workflow there's a string you can't see. A prompt-builder node spat out text, a filename got templated, a format node did something - but on a node graph, strings are invisible until they hit a text encoder. Get Text is the oscilloscope for that: an output node that displays whatever text flows into it in a big read-only widget. Wire it up, run, and the text is right there on the canvas.

      How it works

      The input text is a STRING that's forced to be a wire connection (forceInput: true) - you can't type into it, something upstream must feed it. That's intentional: this node exists to show you a value, not to create one.

      It ships a small JavaScript extension (GetText.js) that does the display work: after the node executes, it renders the incoming text into a read-only multiline widget. Two details make it actually usable:

      • It writes the received text back into the node's widget values, so your debug output survives saving and reloading the workflow. That's more than most debug nodes bother to do.
      • It handles the input as a list of strings, so if upstream sends multiple values it shows all of them.

      Outputs are none - RETURN_TYPES is empty, it's a pure display/terminal node. The string ends here.

      When to reach for it

      Any time you're chaining text through non-obvious nodes and you're not sure what's coming out the other end. Classic cases: checking what a filename-pattern node produced before it hits a Save Image, verifying a caption or tag list before it reaches a text encoder, or watching a value change across runs. It's also the natural pair to Set Text (same pack) - Set Text makes a string, Get Text shows one.

      The honest review

      It's the most reliable node in this pack, which is both praise and a low bar. There's almost nothing to break: no dependencies beyond the bundled JS, no model, no settings. The only real friction is that if you load a workflow without the pack's web extension active (stale browser tab, hard-refresh missed), the widget won't render - a quick ComfyUI restart or browser refresh fixes it. Node sizing can look glitchy on first render; drag the corner and it settles.

      Install

      This is part of the ComfyUI Production Nodes Pack by Uriel Deveaud (KoreTeknology), a pre-alpha grab-bag of utility nodes. Install via ComfyUI Manager (search "ComfyUI Production Nodes Pack") or:

      cd ComfyUI/custom_nodes
      git clone https://github.com/KoreTeknology/ComfyUI-Nai-Production-Nodes-Pack
      cd ComfyUI-Nai-Production-Nodes-Pack
      pip install -r requirements.txt
      

      Then restart ComfyUI. The web extension installs automatically - no model downloads. Note the class name really is Get Text (with a space), so it's also what shows up in workflow JSON. Look for it in the utils category; the author deliberately files nodes into existing menu sections instead of making a new root category.

      Categoryutils

      Inputs (1)

      NameTypeDefaultDescription
      textSTRING

      Outputs (0)

      No outputs