ComfyUI Node
๐ FRED Save Text File
A ComfyUI node in ๐FRED/text with 7 inputs and 3 outputs.
๐ 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)
| Name | Type | Default | Description |
|---|---|---|---|
| folder_path | STRING | . | Target folder (relative or absolute). Will be created if missing. |
| file_name | STRING | out | Output file name without extension |
| file_extension | COMBO | .txt | File extension to use |
| mode | COMBO | How to write: Append (add), Overwrite (replace), or New Only (create if missing) | |
| terminator | BOOLEAN | true | Add a line break in append mode before writing text |
| skip_if_duplicate | BOOLEAN | true | If enabled (append mode), do not write if this text already exists in the target file. |
| text | STRING | Text to write to the file. Right click and convert to input for dynamic content. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| SUCCESS? | BOOLEAN | True if file written/skipped as intended, False on error |
| STATUS | STRING | Operation result: file appended, file overwritten, file created, text already exist, file already exist, error |
| help | STRING | This message (detailed help/instructions) |