save_workflow
Save organized ComfyUI workflows to the workflow browser and session directory. Prevent accidental overwrites by renaming, and refuse invalid input unless explicitly allowed.
Instructions
Save the workflow (UI format, with layout/groups/notes) into ComfyUI's workflow browser + the session dir. Run organize_workflow first - this is the deliverable. REFUSES to save with validation errors unless allow_invalid=True. Never overwrites by default: a taken name saves as ' (draftsman)' (result.renamed_from says so); overwrite=True replaces deliberately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| overwrite | No | ||
| workflow_id | Yes | ||
| allow_invalid | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||