Get Float
The CFG and denoise slot that follows your active profile
- float
CFG scale and denoise strength are the two floats you're forever nudging, and they're exactly the values that should differ between your "clean" profile and your "creative" one. Get Float is the read end of WorkflowX's key/value system for fractional numbers: a Set Float node publishes a value under a key, and Get Float resolves it based on which config profile is selected. Wire it into the CFG input on a KSampler and suddenly your profile switch changes the sampler's behavior too.
It's the float sibling of Get Int in the same pack, and everything about the setup pattern carries over - you're not retyping numbers, you're choosing between published ones.
How it works
The mechanism is identical to the other typed Get nodes in this pack. Set Float sits inside a ComfyUI group with a key like cfg. Get Float, placed at the sampler, asks for the same key. A Config SelectorX controller decides which group is Active for the currently selected config; Get Float returns the value from a Set Float in an Active group and ignores Set Floats in Muted, Bypassed, or Ignored ones.
Under the hood it reads the workflow JSON at queue time, finds matching Set Float nodes by key, filters by group mode, and picks one (the highest canvas id wins if several are still active, with a warning). The visible resolved_value, resolved_config, and resolved_digest widgets are provenance cache - they let the node skip re-resolution when nothing changed, and they're the reason switching profiles doesn't need a page refresh. Don't edit them by hand.
Inputs and outputs
key(STRING) - the exact string the Set Float node uses. This is the only field you touch.resolved_value/resolved_config/resolved_digest(STRING) - internal, frontend-managed.- Output:
float(FLOAT) - feed the CFG, denoise, or strength inputs you want profile-driven.
One small detail worth knowing: values are coerced with float(), so the output is a proper FLOAT socket, not a text value. Anything you can plug a float wire into works.
Install
Same pack, same story as every WorkflowX node. ComfyUI Manager → search WorkflowX Configurator, or:
cd ComfyUI/custom_nodes
git clone https://github.com/haroonaslam/WorkflowX-Configurator
Restart ComfyUI, hard-refresh the browser. No extra Python packages - the pack's dependency list is empty.
Common issues
- "No Float value found for key 'x'." - no matching Set Float in an Active group. Verify the key on both nodes, and that the group holding your Set Float isn't muted for the selected profile.
- The value never changes when you switch configs. Check the digest fields weren't hand-edited (they should be managed), and that you actually re-queued after switching - resolution happens at queue time.
- Float vs Int mix-ups. Get Float only resolves Set Float. The typed families don't cross-talk, which is a feature: it catches mismatches at setup instead of silently coercing.
Same standing caveat as the rest of the pack: it's new and small, so for a one-profile graph a plain primitive float is the honest choice. Get Float earns its keep when a single workflow juggles several named profiles.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| key | STRING | — | |
| resolved_value | STRING | — | |
| resolved_config | STRING | — | |
| resolved_digest | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| float | FLOAT | — |