Nodes/ComfyUI FRED Nodes v2/๐Ÿ‘‘ FRED Save Text File
ComfyUI Node

๐Ÿ‘‘ FRED Save Text File

A ComfyUI node in ๐Ÿ‘‘FRED/text with 7 inputs and 3 outputs.

By PoukpalaovaยทCreated 12 months agoยทUpdated 7 months agoยท 3
๐Ÿ‘‘ FRED Save Text File
    • SUCCESS?
    • STATUS
    • help
    โ—„folder_path.โ–บ
    โ—„file_nameoutโ–บ
    โ—„file_extension.txtโ–บ
    โ—„modeโ–พโ–บ
    โ—„terminatortrueโ–บ
    โ—„skip_if_duplicatetrueโ–บ
    โ—„textโ€”โ–บ
    Category๐Ÿ‘‘FRED/text

    Inputs (7)

    NameTypeDefaultDescription
    folder_pathSTRING.Target folder (relative or absolute). Will be created if missing.
    file_nameSTRINGoutOutput file name without extension
    file_extensionCOMBO.txtFile extension to use
    modeCOMBOHow to write: Append (add), Overwrite (replace), or New Only (create if missing)
    terminatorBOOLEANtrueAdd a line break in append mode before writing text
    skip_if_duplicateBOOLEANtrueIf enabled (append mode), do not write if this text already exists in the target file.
    textSTRINGText to write to the file. Right click and convert to input for dynamic content.

    Outputs (3)

    NameTypeDescription
    SUCCESS?BOOLEANTrue if file written/skipped as intended, False on error
    STATUSSTRINGOperation result: file appended, file overwritten, file created, text already exist, file already exist, error
    helpSTRINGThis message (detailed help/instructions)