ComfyUI Node

MotorwayStrMulti

Multiline text on the bus

By agilly1989·Created 2 years ago·Updated about a year ago· 7
MotorwayStrMulti
  • MOTORWAY 🚌💨
  • MOTORWAY 🚌💨
  • STRING
STRING
keystring

MotorwayStrMulti is the multiline member of this pack's string family: a big text box whose contents ride the Motorway under a key, with the pipe and the string both handed back out. If MotorwayStr is for filenames and short values, this one is for the stuff you actually want room to write.

Inputs, as the name suggests: a required STRING widget marked multiline (so it renders as a box, not a single line), an optional MOTORWAY input with the family's stock tooltip - "If not connected will act as a 'Motorway Start' node" - and a key field defaulting to string. Outputs are the MOTORWAY and the STRING. Note the shared default key: both MotorwayStr and MotorwayStrMulti store under string out of the box, which is handy - swap one for the other and downstream reads by that key keep working.

Mechanically it's the same one-trick design that powers the whole pack. The Motorway is a dict-like bag of key→value pairs, values stored under sha256 hashes of your key strings, cloned at every hop so parallel branches don't corrupt each other. This node does a single update(key, value) into the bag and passes it along. Any Motorway output downstream with a key field set to string will hand you this exact text back. That's the pattern: write once by name, read by name anywhere on the pipe.

Where it earns its keep: a full prompt block. Multi-line prompts, big wildcard strings, or a whole text you want to keep editable in one visible box while it travels a long graph - this is the node for that. It's also a natural place to start a workflow, since leaving the Motorway input unconnected creates a fresh bag just like MotorwayStart would. The pack officially blesses the five primitives as alternate entry points, and this is the one you'd use to kick off a prompt-heavy pipe.

Installation is the pack's usual, no surprises:

cd ComfyUI/custom_nodes
git clone https://github.com/agilly1989/ComfyUI_agilly1989_motorway

restart ComfyUI, or find it in ComfyUI Manager by searching "agilly1989". No model downloads, no Python dependencies - pure Python start to finish.

And the standing caveats, because this is a one-person beta pack whose README opens "IF THINGS BREAK ITS BECAUSE I BROKE IT": keys are exact and case-sensitive, and reading a key that was never written throws 'MotorwayClass' object has no attribute 'hash_' - a typo detector, not a real failure. Keep the pack updated and this node will quietly carry your prompts without ever being the interesting part of your workflow, which is exactly what a utility should do.

Categoryagilly1989 Nodes/Utilities/Primitives/Strings

Inputs (3)

NameTypeDefaultDescription
STRINGSTRING
MOTORWAY 🚌💨optMOTORWAY 🚌💨Optional Input. If not connected will act as a "Motorway Start" node
keyoptSTRINGstring

Outputs (2)

NameTypeDescription
MOTORWAY 🚌💨MOTORWAY 🚌💨
STRINGSTRING