ComfyUI Node
XWorkflowSave
Workflow save node that saves the ComfyUI workflow as a JSON file. Supports three save modes: Auto (auto-detect), Native (prompt + workflow, same as official SaveImage), and Prompt+FullWorkflow (prompt + full_workflow). Prompt+FullWorkflow mode uses custom API to receive data from frontend.
XWorkflowSave
- anything
- anything
- workflow_info
◄save_modeAuto►
◄filename_prefixComfyUI_%Y%-%m%-%d%_%H%-%M%-%S%►
◄subfolderWorkflows►
Category♾️ Xz3r0/File-Processing
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| save_mode | COMBO | Auto | Save mode: Auto (auto-detect, prefer Prompt+FullWorkflow, fallback to Native), Native (native workflow format, compatible with ComfyUI web), Prompt+FullWorkflow (prompt + full_workflow) |
| filename_prefix | STRING | ComfyUI_%Y%-%m%-%d%_%H%-%M%-%S% | Filename prefix, supports datetime placeholders: %Y%, %m%, %d%, %H%, %M%, %S% |
| subfolder | STRING | Workflows | Subfolder name (no path separators allowed), supports datetime placeholders: %Y%, %m%, %d%, %H%, %M%, %S% |
| anythingopt | COMFY_MATCHTYPE_V3 | Optional pass-through input for workflow connection. This input is not processed, only used to link the node into your workflow. Output type follows the connected input type. Node works without any input. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| anything | COMFY_MATCHTYPE_V3 | Original pass-through input for downstream workflow chaining |
| workflow_info | STRING | Workflow information summary including save status, node count, and data overview. Useful for debugging and verification. |