ComfyUI Node
WFA Save Prompt .txt ⚡ (WFA Suite)
A ComfyUI node in WFA Node Suite/IO with 16 inputs and 3 outputs.
WFA Save Prompt .txt ⚡ (WFA Suite)
- prompt_index
- model
- lora_stack
- trigger
- image_path
- text
- filepath
◄subfolder►
◄characteroutput►
◄char_foldertrue►
◄separatorunderscore►
◄save_modeoverwrite►
◄headersfalse►
◄enabledtrue►
◄raw_prompt—►
◄raw_negative—►
◄refined_prompt—►
◄final_prompt—►
◄final_negative—►
CategoryWFA Node Suite/IO
Inputs (16)
| Name | Type | Default | Description |
|---|---|---|---|
| subfolder | STRING | Top-level folder inside ComfyUI's 'output' directory (e.g. 'T2I MAIN'). Leave empty to use 'ComfyUI/output/' directly, or enter an absolute path (e.g. 'D:/Outputs/Project'). Missing folders are created automatically. | |
| character | STRING | output | Subject/group name used both as a sub-subfolder (`subfolder/character/`) and as the base filename (`character_index.txt`). Can also be wired from a STRING node. |
| char_folder | BOOLEAN | true | When Yes, automatically places files inside a `<subfolder>/<character>/` sub-subfolder. |
| separator | COMBO | underscore | Character placed between `character` and `prompt_index` in the filename (e.g. 'name_1.txt' or 'name 1.txt'). |
| save_mode | COMBO | overwrite | • overwrite: Replaces the .txt file if it already exists. • append: Adds the new log entry to the bottom of the existing .txt file. • auto_number: Never overwrites — creates '_01.txt', '_02.txt', etc. if the file exists. |
| headers | BOOLEAN | false | When Shown, adds section labels ([MODEL], [USED LORAS], [RAW PROMPT], [FINAL PROMPT], etc.) above each non-empty block. |
| enabled | BOOLEAN | true | Enable or bypass writing the .txt file to disk (`image_path` and `text` outputs still work when Bypassed). |
| prompt_indexopt | * | Optional batch/prompt index (accepts INT or STRING directly — e.g. wire straight from WFA Loop Iterator `index`). | |
| modelopt | * | Connect the used checkpoint/model name (STRING / COMBO) OR wire a MODEL / PIPE link directly to log which model was used. | |
| lora_stackopt | * | Connect a LORA_STACK directly (converts to `<lora:name:model_wt:clip_wt>` automatically) or a LoRA STRING. | |
| raw_promptopt | STRING | Raw positive prompt (before wildcard/tag expansion or refinement). | |
| raw_negativeopt | STRING | Raw negative prompt. | |
| refined_promptopt | STRING | Refined / intermediate positive prompt. | |
| final_promptopt | STRING | Final positive prompt used for generation. | |
| final_negativeopt | STRING | Final negative prompt used for generation. | |
| triggeropt | * | Optional execution-order trigger if nothing downstream is wired from `image_path`. Note: Leave unconnected if you wire `image_path` into your Save Image node. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| image_path | STRING | — |
| text | STRING | — |
| filepath | STRING | — |