โ๐ Write Pick Me Chain
Swap between prompts with one click, not a rewire
- text
- chain_text
You've got four or five candidate prompts you want to A/B test - different scene descriptions, different character variants, whatever - and testing each one means either disabling nodes, deleting wires, or maintaining a mess of bypass toggles. Write Pick Me Chain solves this specific annoyance: link a handful of these nodes together, and switching which prompt is "live" becomes a single click on a button, not a rewiring job.
It's one of the more clever text nodes in justUmen's Bjornulf_custom_nodes pack, sitting alongside the plainer Write Text and the syntax-heavy Advanced Write Text. Where those are about generating or randomizing text, this one is about selecting between several already-written options without touching your graph's wiring each time.
How it works
You chain multiple Pick Me Chain nodes together by feeding each one's chain_text output into the next node's pickme_chain input, forming a linked list across however many prompt variants you want to keep on hand. Each node also has a picked toggle and a "PICK ME" button in its UI. Click that button on any node in the chain and it turns green (active) while disabling every other node in the same chain - so only one prompt in the whole set is ever the "real" one at a time, and you switch which one by clicking, not by rewiring. It's not limited to single-line text either - the README notes you can use lists and variables inside each node same as elsewhere in the pack.
The inputs and outputs that matter
picked(defaultfalse) - whether this specific node is the currently active one in its chain. You'll mostly toggle this via the node's PICK ME button rather than setting it by hand.text(required, multiline) - the candidate prompt this node holds.pickme_chain(optional) - where you feed in the previous node'schain_textoutput to link it into the same group.
Two outputs: text, which is what you wire downstream to your actual prompt consumer, and chain_text, which exists purely to pass along to the next node in the chain via its pickme_chain input - that's the mechanism that lets clicking one node's button silently deactivate all the others.
How to install it
ComfyUI Manager: search "Bjornulf_custom_nodes," install, restart. Manual route:
cd ComfyUI/custom_nodes
git clone https://github.com/justUmen/Bjornulf_custom_nodes
then restart ComfyUI. This node doesn't need anything beyond core ComfyUI to function - the pack's broader requirements.txt (ollama, ffmpeg-python, opencv-python, and so on) is only relevant to its video/AI-integration nodes.
Common issues & troubleshooting
Forgetting to chain the nodes and wondering why multiple are "active" at once. The whole disable-the-others behavior depends on chain_text โ pickme_chain actually linking each node to the next. If you drop several Pick Me Chain nodes into your graph without wiring that chain, they behave as independent nodes, each with its own picked state, and nothing coordinates them.
Which node's text output is actually driving your prompt. Every node in the chain still has its own text output - only one is meant to be "active" at a time, but you have to make sure you're wiring the right one's text downstream, or route through a single point after the chain rather than wiring every node's output separately into the same consumer.
Version drift. Like most of this pack, the exact chain behavior has been refined across several point releases with occasional breaking changes noted in the changelog. If you built a workflow with this node a while back and something about how the chain resolves feels different, it's worth checking you're on a current install rather than assuming user error.
The plain trade-off worth knowing: this is a manual, connection-based version of "pick one of several options." If you want the same idea without keeping wires between the nodes, the pack's Global Write Pick Me does the equivalent job using a shared identifier instead of a chain.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| picked | BOOLEAN | false | โ |
| text | STRING | โ | |
| pickme_chainopt | STRING | โ |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| text | STRING | โ |
| chain_text | STRING | โ |