Nodes/CRT-Nodes/Text Add Rows (CRT)
ComfyUI Node

Text Add Rows (CRT)

Appends each incoming string as one row to a persistent .txt file, avoiding overwrites by adding a numeric suffix when needed. Also outputs the file's current content.

By PGCRT·Created 2 years ago·Updated about 11 hours ago· 132
Text Add Rows (CRT)
    • file_path
    • file_content
    text
    path
    filename
    CategoryCRT/Text

    Inputs (3)

    NameTypeDefaultDescription
    textSTRINGThe text to append as one row.
    pathSTRINGFolder path where the .txt file is saved. If empty, uses ComfyUI's output directory.
    filenameSTRINGFilename for the .txt file. If empty, uses Text_Add_Rows.txt. If a file with that name already exists, a numeric suffix is appended.

    Outputs (2)

    NameTypeDescription
    file_pathSTRINGAbsolute path to the file that was appended to.
    file_contentSTRINGFull current content of the file as a string.