ComfyUI workflows look scary the first time you see one: dozens of boxes and coloured wires. But a workflow is just a recipe, and you rarely have to build one from scratch. ComfyUI ships hundreds of ready-made templates, and almost every image you find from a ComfyUI user carries its full workflow inside the file.
This guide explains how ComfyUI workflows work, where to find good free workflows, how to load them (templates, JSON files and images), how to fix missing models and custom nodes, how to keep big graphs tidy with subgraphs, and how to turn any workflow into a simple app with APP mode.
- What it is: a workflow is a graph of nodes (steps) joined by links (data). It is saved as JSON.
- Fastest start: click the Templates icon in the sidebar (or Workflow → Browse Workflow Templates) and pick one. ComfyUI flags missing models and offers Download.
- Load from anywhere: drag a
.jsonworkflow or a ComfyUI-made PNG, WebP or MP4 onto the canvas, or use Workflow → Open (Ctrl+O). - Red nodes: missing custom nodes; install them with Manager → Install Missing Custom Nodes, then restart.
- Tidy big graphs: select nodes and convert them to a subgraph. Share simple versions with APP mode.
- Save: Ctrl+S saves to your workflows list; Export saves a JSON you can share.
What a ComfyUI Workflow Is
The official docs describe a workflow as a recipe. The whole recipe is the workflow, each instruction is a node, the ingredients are your prompts, images and models, and the result is your image, video, audio or 3D file.
- Nodes do one job each: load a model, encode a prompt, sample, decode, save.
- Links carry data from an output on one node to an input on another. Only matching types connect (an IMAGE output will not plug into a number input).
- Properties (widgets) are the settings on each node: steps, CFG, sampler, size, seed.
When you press Run, ComfyUI executes only the nodes needed for the outputs, in the right order. If a node is missing or not fed the data it needs, it is highlighted so you can fix it.
Under the hood, the workflow is a JSON file. That is why you can save, share and version workflows like any other document.
The 6 Nodes in Almost Every Image Workflow
| Node | Job | Connects to |
|---|---|---|
| Load Checkpoint (or Load Diffusion Model) | Loads the AI model, plus CLIP and VAE for all-in-one checkpoints | KSampler, CLIP Text Encode, VAE Decode |
| CLIP Text Encode (x2) | Turns positive and negative prompts into conditioning | KSampler positive / negative |
| Empty Latent Image | Sets width, height and batch size | KSampler latent_image |
| KSampler | Generates the image (seed, steps, CFG, sampler, scheduler, denoise) | VAE Decode |
| VAE Decode | Turns the latent into a normal image | Save Image / Preview Image |
| Save Image | Saves to ComfyUI/output with the workflow embedded |
Nothing (output) |
Once you can read these six, every other workflow is a variation: add a Load LoRA node for styles, an upscaler after VAE Decode, or a Load Image node for img2img. Our ComfyUI beginner’s guide explains each core node in more detail.
Method 1: Start From a Built-in Template
Templates are ComfyUI’s official, tested workflows for natively supported models, plus some example workflows from custom nodes. They are the best starting point for any new model.
- Open Templates. Click the Templates icon in the left sidebar, or use Workflow → Browse Workflow Templates.
- Pick a category. Browse image, video, audio, 3D, upscaling and partner-node (API) templates, or search by model name.
- Click a template to load it onto the canvas.
- Check for missing models. If files are missing, loader nodes turn red and a banner like N errors found appears. Click View details.
- Download models. In the right panel’s Errors tab under Missing Models, click Download or Download all. On Comfy Desktop, files go straight into the right
ComfyUI/models/…folders. On a browser install, the download starts in your browser and you move each file to the folder shown. - Add inputs and run. Type your prompt, add any input images, and click Run.
models/diffusion_models). If yours is in a subfolder, dismiss the warning and select the file in the loader node.Templates only use core nodes, so they rarely break after updates. Keep ComfyUI current to get new templates; see how to update ComfyUI safely.
Method 2: Load a Workflow From a File or Image
ComfyUI’s built-in save nodes embed the workflow inside output files. That means a ComfyUI-made image is also a workflow.
| What you have | How to load it |
|---|---|
.json workflow file |
Drag it onto the canvas, or Workflow → Open (Ctrl+O) |
| PNG made by ComfyUI | Drag the image onto the canvas |
| WebP or MP4 made by ComfyUI | Drag onto the canvas (built-in save nodes embed metadata in these too) |
| API-format JSON | Loads, but without layout; it is meant for scripts. See our ComfyUI API guide |
| Workflow shown as a screenshot | Cannot be loaded; you must rebuild it or ask the author for the file |
The embedded data has two fields: workflow (the full graph with layout, used to restore it in the editor) and prompt (the execution version used by the API). A file may contain one without the other.
Where to Find Free ComfyUI Workflows
| Source | What you get | Reliability |
|---|---|---|
| Built-in Templates | Official workflows for each supported model, with model links | Highest |
| ComfyUI docs (docs.comfy.org) | Tutorial pages with downloadable workflow images for each model | Highest |
| Comfy-Org example workflows on GitHub | Workflow files used in the docs | High |
| Model pages on Hugging Face | Workflows from the model authors | High for that model |
| Custom node repos | An example_workflows or similar folder showing the nodes in use |
Good, needs that node pack |
| Civitai and OpenArt | Huge community libraries, ratings and comments | Mixed; check reviews and node lists |
| Comfy Cloud share links | Workflows shared from Comfy Cloud, with their inputs and outputs | Depends on the author |
We also publish tested workflows with exact file lists for new models, such as image to video in ComfyUI, upscaling and GGUF models on smaller GPUs.
Fix Missing Models and Custom Nodes
Downloaded workflows often use custom nodes you do not have. They show up as red boxes with a “missing node types” message when the workflow loads.
- Read the list. The load warning names every missing node type. Note them.
- Open ComfyUI Manager and choose Install Missing Custom Nodes. It matches node types to node packs. No Manager yet? Follow our ComfyUI Manager install guide.
- Install only what you need. Check each pack’s author and stars before installing.
- Restart ComfyUI fully, then reload the workflow (refresh the browser tab).
- Download missing models. Use the Errors tab for templates, or the links in the workflow’s notes. Put each file in the folder named on the loader node (
checkpoints,diffusion_models,loras,vae,text_encoders,upscale_models). - Re-select models in each loader node. File names in shared workflows often differ from yours.
Workflow Types Worth Learning
| Workflow | What it does | Key extra nodes |
|---|---|---|
| Text to image | Prompt to picture | The core six |
| Image to image | Restyle an existing picture | Load Image, VAE Encode, denoise below 1.0 |
| Inpainting | Repaint part of an image | Mask editor, VAE Encode (for Inpainting) or inpaint model |
| LoRA | Add a style or character | Load LoRA / LoraLoaderModelOnly |
| ControlNet / control LoRA | Follow a pose, depth map or edges | ControlNet loader and apply nodes, preprocessors |
| Upscale | Bigger, sharper images | Load Upscale Model, Upscale Image (using Model) |
| Image to video | Animate a still | Video model loaders, Save Video |
| Image editing models | Edit by instruction | Model-specific edit nodes (Qwen-Image-Edit, Kontext) |
If inpainting gives you trouble, see ComfyUI inpainting not working: every fix.
Keep Big Workflows Tidy With Subgraphs
A subgraph packs a group of nodes into one reusable node, like a folder. It needs ComfyUI frontend 1.24.3 or later.
- Select the nodes you want to group (for example, everything in an upscale pass).
- Click the subgraph icon in the selection toolbar. ComfyUI builds a subgraph node with the right inputs and outputs.
- Edit it by double-clicking an empty area inside the node, or with its edit button. A navigation bar takes you back out.
- Expose settings. Right-click input and output slots to rename or delete them. On v0.3.66 or later, use Edit Subgraph Widgets to choose which settings show on the outside.
- Reuse it in other workflows, and nest subgraphs inside subgraphs if you need to.
Subgraphs behave like normal nodes: you can rename, recolour and bypass them.
Turn a Workflow Into an App (APP Mode)
APP mode hides the node graph and shows a simple form with only the inputs and outputs you choose. It is officially supported from frontend 1.41.13.
- Enter APP mode from the top-left menu (Enter app mode) or the breadcrumb dropdown at the top.
- Click Build app. The builder walks you through four steps.
- Inputs: click the nodes people should control, such as the prompt box, image upload or model choice.
- Outputs: pick the Save Image or Preview node to display.
- Preview, then Set a default view (App or Node Graph) and click Apply.
- Save with Ctrl+S. The workflow now opens as a clean app, which also works well on phones and narrow screens.
This is great for sharing a workflow with friends or clients who just want to type a prompt and press Run.
Save, Export and Share
- Save (Ctrl+S): stores the workflow in your workflows list (under
ComfyUI/user/default/workflows/on most installs). - Export: Workflow → Export saves a
.jsonfile you can send to anyone. - Export (API): saves the execution format for scripts and apps.
- Share by image: send the original PNG from
ComfyUI/output; the workflow is inside it. - Comfy Cloud: the Share button creates a link. The docs warn that anyone with the link can also see media used in the workflow, such as uploaded images and masks.
Step-by-step details are in our guide to saving, exporting and sharing ComfyUI workflows.
Safety Checks Before You Run a Downloaded Workflow
- The workflow JSON itself is just data, but the custom nodes it asks for are Python code that runs on your PC. Only install packs from known authors.
- Prefer
.safetensorsmodels. Avoid.ckpt,.ptor.binfiles from unknown uploaders. - Read the node list before installing ten unfamiliar packs for one workflow. Often a template does the same job with core nodes.
- Check licences on models used in the workflow if you plan commercial use.
- Back up your ComfyUI folder (or use a separate install) before testing big community workflows.
Troubleshooting
| Problem | Likely cause | Fix |
|---|---|---|
| Red nodes and “missing node types” | Custom nodes not installed | Manager → Install Missing Custom Nodes, then restart |
| Loader node red, “value not in list” | Model file missing or named differently | Download it to the right folder, press R, re-select it |
| Dragged image loads nothing | Metadata stripped, or not made in ComfyUI | Get the original file or JSON |
| “Required input is missing” | A link was not connected | Follow the highlighted node and connect the input |
| Out of memory | Workflow made for a bigger GPU | Lower resolution or batch size, use FP8 or GGUF models |
| Template list is short or old | Outdated ComfyUI | Update ComfyUI and the frontend |
| Results look different from the author’s | Different seed, model version or sampler | Match the seed, model file and settings exactly |
| Workflow broke after an update | Custom node changed | Update all packs in Manager, or roll back the pack |
My Take
Do not try to build big workflows from scratch on day one. Open a template, run it, then change one thing at a time. When you need something the templates do not cover, load a well-reviewed community workflow and install only the nodes it really needs.
Once you have a few favourites, wrap the messy parts in subgraphs and turn the best ones into APP mode forms. That is how you get the power of ComfyUI without staring at spaghetti every day.
FAQ
What is a workflow in ComfyUI?
A set of connected nodes that tells ComfyUI how to create an output, such as an image or video. It is saved as a JSON file.
Where can I get free ComfyUI workflows?
Start with the built-in Templates and the official ComfyUI docs. Model pages on Hugging Face, custom node repos, Civitai and OpenArt also share free workflows.
How do I load a workflow in ComfyUI?
Drag a .json file or a ComfyUI-made PNG, WebP or MP4 onto the canvas, or use Workflow → Open (Ctrl+O).
Why are some nodes red after loading a workflow?
Red nodes are missing custom nodes or missing models. Use Manager’s Install Missing Custom Nodes, restart, then download any missing models.
Where are ComfyUI workflows saved?
Saved workflows go to ComfyUI/user/default/workflows/ on most installs. Exported JSON files go wherever you choose.
Can I use ComfyUI workflows without understanding nodes?
Yes. Templates and APP mode let you run workflows by filling in a prompt and clicking Run. Learning the six core nodes helps when something breaks.
What is a subgraph in ComfyUI?
A group of nodes packed into one reusable node, like a folder. It keeps large workflows readable and lets you reuse common setups.
Are downloaded workflows safe?
The JSON is data, but custom nodes it needs are code that runs on your PC. Install packs only from trusted authors and prefer .safetensors models.




