save_workflow
Save a ComfyUI workflow to the browser after validation and organization. Automatically renames duplicates to avoid overwriting, or overwrite deliberately on request.
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 | |||