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.

By Xz3r0-M·Created 7 months ago·Updated 22 days ago· 11
XWorkflowSave
  • anything
  • anything
  • workflow_info
save_modeAuto
filename_prefixComfyUI_%Y%-%m%-%d%_%H%-%M%-%S%
subfolderWorkflows
Category♾️ Xz3r0/File-Processing

Inputs (4)

NameTypeDefaultDescription
save_modeCOMBOAutoSave mode: Auto (auto-detect, prefer Prompt+FullWorkflow, fallback to Native), Native (native workflow format, compatible with ComfyUI web), Prompt+FullWorkflow (prompt + full_workflow)
filename_prefixSTRINGComfyUI_%Y%-%m%-%d%_%H%-%M%-%S%Filename prefix, supports datetime placeholders: %Y%, %m%, %d%, %H%, %M%, %S%
subfolderSTRINGWorkflowsSubfolder name (no path separators allowed), supports datetime placeholders: %Y%, %m%, %d%, %H%, %M%, %S%
anythingoptCOMFY_MATCHTYPE_V3Optional 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)

NameTypeDescription
anythingCOMFY_MATCHTYPE_V3Original pass-through input for downstream workflow chaining
workflow_infoSTRINGWorkflow information summary including save status, node count, and data overview. Useful for debugging and verification.