Prompt Store Get (CCN)
Pull one saved category out of any store
- trigger
- value
- found
The Prompt Store family writes whole prompts and remembers them. But sometimes you don't want the assembled prompt - you want one category out of a store you built somewhere else, in another workflow. That's the read-only side of the system: Prompt Store Get (CCN).
Give it a store_name and a category, and it returns the stored text plus a boolean telling you whether anything was actually there. It's deliberately read-only - it never creates a store or a key as a side effect, so poking it with a wrong name won't pollute your session memory. And because store keys are stored lowercased (see Prompt Store Custom for why), the category lookup here is case-insensitive.
Inputs and outputs
- store_name - which store to look in.
- category - which section. For a plain Prompt Store that's one of metadata / features / scene / details / feedback; for a B-store, quality / style / mood / motion / general; for a custom store, whatever headings you named.
- trigger - optional ANY input, for ordering.
- Outputs: value (the stored STRING, or empty) and found (BOOLEAN - true only when the category holds non-empty text).
The found output is more useful than it looks: wire it into a switch or a conditional branch and you can build "if this category was ever set, use it; otherwise fall back to something else" logic without any custom code.
A gotcha worth knowing
Stores mutate from other nodes - a Prompt Store in a different workflow writes to them. So this node's inputs may not change while its output does. To handle that, the author gives it an IS_CHANGED that always returns NaN, which is the ComfyUI idiom for "always re-execute" (the engine treats a value not equal to anything as always-changed). The trade-off is real: like every always-dirty node, it defeats the cache for anything downstream of it. If your graph feels slower than it should and a Get is upstream of the sampler, that's part of the cost - it's the price of a live read.
Install
Part of ComfyCollectorNodes, one install:
cd ComfyUI/custom_nodes
git clone https://github.com/valkymaera/ComfyCollectorNodes
then restart, or install via ComfyUI Manager ("ComfyCollectorNodes"). No models, no extra deps.
Where people get burned
The usual: wrong store name (case and spaces matter in the store name even though categories are case-insensitive) and expecting this to read from disk. It reads session memory only - restart ComfyUI and the store is gone, and found goes false. If a category genuinely exists but returns empty, check the case of the store name, not the category.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| store_name | STRING | default | — |
| category | STRING | — | |
| triggeropt | * | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| value | STRING | — |
| found | BOOLEAN | — |