Nodes/ComfyUI Telegram Suite/BOOLEAN To Any 🔽
ComfyUI Node

BOOLEAN To Any 🔽

The converter the README says you no longer need

By SwissCore92·Created about a year ago·Updated 2 months ago· 9
BOOLEAN To Any 🔽
    • any
    BOOLEAN

    BOOLEAN To Any takes a BOOLEAN input and declares its output * (any), passing the value through untouched. It's a pure type cast - the boolean stays a boolean, it just wears a wildcard label. And it belongs to the half of the Telegram Suite's converter family that the README has quietly declared obsolete.

    The direction that used to be mandatory

    The suite's trigger mechanism forces execution order by routing signals through wildcard * ports (full explanation in the Send Chat Action article). The converter family exists to manage types at the two ends of that trip:

    • Before (BOOLEAN → *): converting a typed value to * before feeding a trigger input used to be required. It isn't anymore - the README strikes that step through and says you can feed the signal straight into the trigger now. That makes this node, and every XToAny sibling, the legacy side of the design.
    • After (* → BOOLEAN): still required, because a trigger output is * and won't connect to a BOOLEAN port without an adapter. That's Any To BOOLEAN's job.

    So the realistic use of BOOLEAN To Any today is reading old workflows: any graph that predates the "no conversion needed" change will have one of these sitting in front of a trigger input, and you can safely delete it.

    Where it still earns its keep

    Outside triggers, it's the generic loosen-the-wire node: if you have a boolean and the port downstream accepts * (or you need to route it through something that only takes wildcard inputs), this gets you there. It's also handy when a node's forceInput boolean is fighting you - a quick cast to * and back can sidestep connection quirks. Same shape as every converter: one BOOLEAN input, one any output, no settings.

    The honest take

    This is plumbing with an expiration date, and the author has been upfront about it. The converter fleet exists because wildcard triggers were "the only reliable way I've found to control execution order" - the README's own words - and strict type checking forced adapters. As the design matures, one direction of the pair gets used less. That doesn't make the node broken; it makes it legacy. Keep it installed, don't reach for it first.

    Install

    Standard pack install:

    cd ComfyUI/custom_nodes
    git clone https://github.com/SwissCore92/comfyui-telegram-suite.git
    cd comfyui-telegram-suite
    pip install -r requirements.txt
    

    Or "ComfyUI Telegram Suite" from ComfyUI Manager. No extra dependencies or downloads.

    CategoryTelegram Suite 🔽/converters

    Inputs (1)

    NameTypeDefaultDescription
    BOOLEANBOOLEAN

    Outputs (1)

    NameTypeDescription
    any*