Workflows and bot squads
This is where you decide what creators can run. The Bot Squads grid is the shelf of helpers your studio offers on the canvas, and you stock it. Some of those helpers are graphs you host yourself. Others reach out to an outside service. This page is how you add, configure, and publish them.
A few terms first, since they show up on every card here.
A workflow is a generation recipe. It is either a ComfyUI graph you upload (ComfyUI is the node-based image pipeline your install runs locally) or an external recipe backed by an outside provider. A provider is a hosted service, such as an image API, that does the generation off your machines.
A bot is the friendly face of a workflow on the canvas. It is the helper a creator talks to, with a name, a card, and a set of inputs and outputs. When this page says "bot card," it means the tile a creator clicks to run a workflow.
A ComfyUI endpoint is a ComfyUI server address where an imported graph can run. You connect and test those addresses in Comfy endpoints. External bots run on their provider instead.
A node is one box in a ComfyUI graph, for example a checkpoint loader or a sampler. The RAW Editor tab is where you work with nodes; most of the rest of this page does not.
A squad is a team and its pinned tools. You can scope a workflow to a single squad so only that team sees its card, or leave it open to the whole organization.
Working with a coding agent? Give it ComfyUI setup for coding agents for exact node titles, input bindings and a checklist to verify the imported workflow.
The Bot Squads grid
The grid mixes two kinds of cards on purpose. Bot cards are registered bot services that were discovered and added. Workflow cards are the ComfyUI graphs and external recipes you manage here. They sit side by side so you can see everything a creator might reach for in one place.
API and CLI provider bots require Pro or Team. On Free, their saved cards stay visible here with upgrade locks and do not appear on the canvas. Your setup stays intact for a later upgrade. ComfyUI workflows remain available through the one endpoint included with Free.
A status dot on each bot card tells you whether the service is reachable right now: green means good to go, red means there is an issue, and a checking state means a probe is still in flight.
Creators should receive a tool they can use without understanding its setup. Keep connection checks, workflow repairs, and technical settings here. Canvas hides ComfyUI tools that it knows are unavailable; disabling a workflow also removes it from the choices offered to creators.
In a Single User installation, open a workflow’s Overview tab and turn Workflow is active off, then choose Save. Its bot card disappears from the canvas while its setup stays in Bot Squads. Open the same workflow, turn the switch on, and save to bring it back. This works for both ComfyUI workflows and provider bots.
Finding what you need
Search by name, then combine the card filters with All statuses, Active, or Inactive. For example, choose Workflows and Inactive to find recipes you have switched off. Active means the card is enabled in its settings; it does not guarantee its service is online.
All includes both registered bots and workflows, while Bots and Workflows narrow the kind of card. Has issues helps you find disabled workflows and unavailable services. These filters work together with your name search. If nothing matches, widen either filter or clear the search.
For a ComfyUI workflow, reachability follows its assigned machine, or the default machine when none is assigned. Another machine being online does not make that workflow ready. Your search, filters, and ordering stay in place when you close a workflow's details or its card list refreshes.
Use Sort by to arrange cards by Name (A-Z), Provider, or Machine. Name is the starting order. Provider and Machine keep names alphabetical within each group, while your search and filters stay applied. Machine uses the ComfyUI endpoint name shown on the card, or the server address for a registered bot. Cards without a known machine come last; Default stays together as its own group.
The Discover button opens the bot-container discovery tool (covered below in the Discover section). It appears only on team installs for admins with the bots management permission.
Importing a ComfyUI workflow
To add a graph you wrote, import it from this page. You give it three things: a name (what creators see on the card), a squad scope (organization-wide by default, or pinned to one squad on team installs), and the workflow JSON itself (the exported ComfyUI graph, in API format). Choosing a file fills in its name without the .json ending. You can change it before importing; a name you type stays in place if you choose another file.
Before you click Import, read Getting Started with Comfy Custom Workflows. It explains the small node-title convention SQUAD Studio uses to identify inputs and outputs, without trying to teach or replace ComfyUI.
Expose only the values creators should control. Each $IN$ marker becomes a control based on the selected endpoint's declared Comfy schema: text becomes a single-line or multiline field, integers and decimals use their declared bounds and step, choice lists become menus, booleans become toggles, and image or mask inputs use named @ references. SQUAD Studio does not invent a range from a name such as CFG or Steps. Add at least one $OUT$ image node so SQUAD Studio knows which result to return. No particular input name is required for every workflow.
Reserved names add special behavior only when the workflow uses them. $IN Prompt$ uses the main prompt box. $IN Negative$ opens the larger negative-prompt area. Numeric $IN Width$ and $IN Height$ receive the bot-frame size without showing technical controls. $IN Seed$ adds a simple variation control that defaults to a fresh result each run. $IN batch_count$ receives 1 because the prompt modal already runs and arranges each requested variation separately. Any other name becomes a normal control with the type SQUAD Studio detects from the graph.
Named visual input uses the same convention. If a creator types @helmet_mask, title the image source node $IN helmet_mask$ and connect that node to the graph's inpaint_mask input. Matching is case-insensitive. If a run includes a name with no matching $IN node, it stops before sending the workflow to ComfyUI instead of falling back to an old or default image.
The Import button stays disabled until both a file is picked and a name is entered. If the JSON is malformed or the import fails, an alert explains what needs attention. For example, a missing $OUT$ marker means the app cannot tell which image to return. Rename your result node, such as Preview Image, to $OUT$ in ComfyUI, save the file, then import it again. Workflow files must be no larger than 2 MB. Dismiss it, choose a corrected file, and try Import again. A pinned workflow wears an amber chip and only appears for the squad you pinned it to, which is how you hand a specialized tool to one team without cluttering everyone else's deck.
Imported workflows, saved drafts, and later published or restored versions stay with your organization, including when your studio uses a shared server.
If Validate Using Comfy reports that ComfyUI cannot be reached, start with the ComfyUI connection FAQ. It separates connection setup from missing workflow nodes or models.
Large models can take time to load or wait behind other work. While your ComfyUI endpoint reports the run as queued or running, SQUAD Studio keeps waiting for its result. You can cancel it from the generation queue when you no longer want it.
The queue only marks a run cancelled after the server confirms it. If that confirmation cannot be obtained, a notice names the bot and explains that it may still be running. Try Cancel again; an unconfirmed cancellation does not submit another generation.
Once a workflow is imported, click its card name to open the detail modal and configure it across a few tabs. The name is a real button, so keyboard users can Tab to it and press Enter or Space.
Use Import new version in Overview to add a replacement graph. If the current editor has unsaved changes, you can cancel the close prompt and keep editing. The imported version remains saved; cancelling that prompt does not import it again or open another editor.
Overview
Overview is the workflow's identity and presentation.
Name and Description set what the card shows. The description has a 500-character limit and gives creators a one-line sense of what the bot does. Two read-only fields below the name show you which version is currently live and when it was uploaded, so you can confirm at a glance that the right version is active without opening RAW Editor.
Card style, in the Color tab, brands the tile: a gradient (a start and end color), an optional background image, and a blur control so text stays readable over a busy image. There is a reset if you want the default look back. You can upload a background image or supply one by URL. If you enter a new URL or choose Reset while an upload finishes, your newer choice wins. Switching tabs keeps a pending upload. Choose Save to apply your card changes.
Comfy endpoint routes this workflow to a specific local ComfyUI service when you run more than one. It appears in a Single User installation and lets you send a heavy graph to the machine that should handle it. Routing across multiple endpoints is part of a paid plan; Free keeps one endpoint.
Supports prompt regions turns on the prompt-regions tool for this workflow, which lets a creator paint different prompts into different parts of the frame. Leave it off unless the graph is built to read regional input.
Resolution override is optional. By default a workflow inherits the sizes its model handles well, but you can pin it to a smaller set of output sizes when a graph only behaves at certain dimensions.
Saving commits the name across every version of the workflow and the rest of the settings to the latest version.
Comfy readiness check (Single User installations only)
At the bottom of the Overview tab, a readiness panel automatically checks the workflow against your configured ComfyUI endpoint each time you open the modal. It checks the SQUAD Studio wiring first. A workflow is not ready when it has no output; when a reserved input has the wrong type; when a marker appears more than once; when a marked input does not lead to one clear editable value; or when SQUAD Studio cannot determine which control to create. Prompt, negative prompt, seed, batch count, width, and height are optional. The panel names the exact marker and node to fix.
If SQUAD Studio cannot turn a marked value into a creator control, reconnect the marker to a supported input that the selected endpoint reports. If it cannot collect a marked result, connect the $OUT$ node to an IMAGE value. The readiness message names the marker and unsupported type. Run the check again after reconnecting it.
The panel also shows a summary of the inputs and outputs it detected (each $IN$ or $OUT$ node and its inferred type), and it warns you if the exported JSON is not in API format, with a note to re-export from ComfyUI using "Save (API Format)." When you change which Comfy endpoint the workflow is routed to, the panel re-checks automatically within a second so you do not need to reopen the modal.
The Validate Using Comfy button goes one step further. It stops immediately with the same clear guidance when the SQUAD Studio wiring is incomplete. Once that contract is clean, it asks ComfyUI to load the graph, which catches problems the static check cannot: missing model files, bad parameter values, and invalid inputs. If a missing model is reported, the system appends a hint to restart ComfyUI so it refreshes its model list after you add the file.
Designer
Open RAW Editor to read and edit the graph. It is a two-column view: a JSON editor on one side, a node browser on the other. As you work, it previews the inputs and outputs it can detect. A schema help button opens the same guidance as What’s required? beside the import controls, so you can check the input/output convention without leaving RAW Editor. Before publishing, use the Overview verifier for the final prompt, size, output, duplicate, and type checks.
If you want a working reference for named visual inputs, Add two-image example saves a stock graph into this workflow's current draft. It exposes exact subject and style image inputs, ready for a creator to call with @subject and @style after you publish. Use it on a new or disposable draft because it replaces the draft graph you are editing. The published version stays unchanged until you choose to publish.
You are not editing live. RAW Editor saves a draft, and you can roll back to a previous version if an edit goes wrong. That safety net is the point: experiment freely, because nothing reaches creators until you publish. Working in RAW Editor requires the graph-view permission.
Parameters
A graph has many nodes, but only some of them are the bot's actual inputs and outputs. The Parameters tab is where you tag which is which: you mark a node's title as an input or an output so the system knows where a creator's prompt goes in and where the finished image comes out. This is about wiring, not values, so you are tagging node titles rather than setting numbers. For example, title a PrimitiveNode $IN Steps$ and wire it into KSampler.steps to expose a visible Steps number control. If you title the same kind of node $IN Whatever$, SQUAD Studio exposes a normal parameter named Whatever with the detected type. A node filter lets you view all nodes, only the tagged ones, or only output nodes while you work. Tagging requires the edit permission.
Publishing
Publishing promotes the draft to a new immutable version. Before you publish, use the Comfy readiness panel to check the graph wiring and the selected endpoint. A workflow with a duplicate, ambiguous, unsupported, or missing result marker cannot be published or run; the modal names the marker and tells you what to reconnect.
Publish saves your current graph before opening one confirmation. You can cancel that confirmation and return to the saved draft. Once publication starts, wait for its result. After success, the editor returns to Overview while keeping any unsaved description or card settings for the version you opened. If you typed newer graph changes while the earlier save was finishing, those changes stay in the editor, unsaved, ready for a new draft.
If the connection drops before you see the result, retry from the same open confirmation or rollback control. If that action already finished, the retry confirms its original version. It does not add another version. After a successful rollback, choosing rollback again starts a new action.
The server validates the workflow wiring again during publish. Your ComfyUI installation owns its nodes and model files, so SQUAD Studio does not keep a second approval list or model-file catalog.
Discover
Discover finds bot services to add without typing addresses by hand. You point it at an address and it probes for reachable bot containers. A bot container is a running service that exposes one or more bots. The results split into two groups: services it could reach (each with an Add button that registers the bot) and services it could not reach or that refused (greyed out with the reason shown). You can also probe a single address directly when you already know where a service lives.
This is the quick way to bring a freshly stood-up bot service onto the grid. Stand the service up on your network, open Discover, and add what comes back.
External and provider-backed bots
An external bot runs on an outside provider rather than on a ComfyUI endpoint, so its configuration looks a little different. You manage it across the same modal, but the controls reflect that the provider owns the heavy lifting.
Identity is the name, description, and an enabled switch. The name applies to every version of the bot, and the description has a 500-character limit. The provider, model, and supported modes are shown but read-only, because those come from the provider.
Card appearance works like the workflow card style: a gradient, a background image (by URL on solo, with upload on a team install), a blur control, and a reset.
Resolutions are not free-form here. You pick from the list of sizes the provider has published, so a creator can only request a resolution the provider actually supports.
Default generation settings are an optional block of default parameters merged into every run before a creator makes their own edits. Use this to set sensible house defaults so a creator gets a good result on the first try. This option appears in Single User installations.
How best to use it
Build in RAW Editor, check it against the selected endpoint, then publish. The reliable rhythm is: import or edit a graph, save a draft, read the Comfy readiness result, use Validate Using Comfy when you need a deeper check, and publish once the graph is clean. Drafts and rollback keep your changes off the canvas until you say so.
The Comfy readiness panel on the Overview tab is worth a look before you even get to the publish step. If the panel shows missing nodes or a wiring warning, you know the graph needs work before it is worth going through a full publish cycle.
When you are stocking the grid for a specific team, pin the workflow to their squad first, then test it yourself before enabling it widely. And lean on the enable toggle rather than delete. Turning a card off pulls it from creators at once while keeping all its setup, so you can bring it back the moment it is ready. Delete is the firmer choice: the card retires, no new run can start on it, and anything still queued or running for that bot is cancelled. A run that has already produced its picture is allowed to finish and land, so nobody loses work they were about to receive.
When something goes wrong in production, choose Has issues to find disabled workflows or unavailable services. Fix the connection or setting it identifies, then return to All when you want the full list again.