import_workflow
Import existing ComfyUI workflows into the session by pasting JSON or loading from the workflow browser to beautify, diagnose, or port them.
Instructions
Import an existing workflow into the session. EITHER paste JSON as
workflow_json (UI format with nodes/links, or API format
{id: {class_type, inputs}}), OR pass name to load one straight from
ComfyUI's workflow browser (see list_workflows) - preferred for large files,
no pasting needed. Use for beautifying/diagnosing/porting outside work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| workflow_json | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||