Nodes/ComfyUI CoolB Nodes/CB Save Text File ⚡️
ComfyUI Node

CB Save Text File ⚡️

Saves a string into a text file inside the ComfyUI output folder.

By CoolBreeze164·Created 9 days ago·Updated about 16 hours ago· 0
CB Save Text File ⚡️
    • saved_text
    ◄file_pathconfigs/config1.txt►
    ◄modeoverwrite►
    ◄text_input—►
    CategoryCoolB Nodes ⚡️

    Inputs (3)

    NameTypeDefaultDescription
    file_pathSTRINGconfigs/config1.txtThe path where the text file will be saved, relative to the ComfyUI output folder.
    modeCOMBOoverwriteoverwrite: Replaces the file content. append: Adds text to the end. increment: Creates a new file like config1_00002.txt if 00001 already exists.
    text_inputSTRINGThe text string you want to write into the file.

    Outputs (1)

    NameTypeDescription
    saved_textSTRING—