Skip to content

Orchestrators

Marcello Marchetti edited this page Nov 23, 2026 · 4 revisions

Workflow Orchestrators

A workflow orchestrator chains several steps — AI agents, branches, questions to the user, external actions, human approvals — into one conversation. Where a single agent answers on its own, an orchestrator decides what runs next, carries data from one step to the next, and can pause for a person before continuing.

This page covers building, testing and running orchestrators. The two richest step types have their own sections in the Administrator Guide: Administrator-Guide → Orchestrator Action Steps and Human Approval Steps.

Access

The Orchestrators entry appears in the menu for users holding the orchestrator-manager role. The list lives at /orchestrators; a single orchestrator opens at /orchestrators/orchestrator-id.

The orchestrator list

One row per orchestrator, showing:

Column Meaning
Name Opens the editor.
Description Free text, or No description.
Steps How many steps the workflow contains.
Agents How many of those steps are agent steps.
Status Active or Inactive.

Search filters on name and description. Each row also carries a duplicate and a delete action.

Creating an orchestrator

+ New opens an empty editor. An orchestrator needs a name — the pencil button next to it toggles editing of name and description — and at least one step before it can be saved.

A brand-new orchestrator is created with the Create Orchestrator button at the bottom of the page; the save icon in the header stays disabled until it exists. Navigating away from an unsaved new orchestrator asks whether to save it first.

Creating an orchestrator with AI

An orchestrator can also be created by describing the flow to automate. Create with AI — in the orchestrator list, in the toolbar of a new orchestrator and on the empty canvas, next to Design the orchestrator with AI — opens a chat with an assistant, the Orchestrator Buddy, that asks one question at a time about steps, decisions, approvals and agents, summarises, and with Generate the orchestrator creates it together with the new agents it needs.

  • For every step the assistant proposes a suitable existing agent or creates a new one, writing its instructions, in the topic you choose.
  • It supports single and grouped agents, conditions, switches, questions to the user, human approvals and messages. Action steps (email, webhook, script) and the agents' knowledge are added afterwards in the editor.
  • The orchestrator and the new agents are created inactive: a summary says which agents to activate before the orchestrator. A name already in use is never overwritten.
  • If something is wrong, the assistant corrects it by itself and sends the flow again, without asking you to read technical configuration.
  • It creates new orchestrators only: it does not change existing ones and does not create the orchestrator's chat endpoint. The proposed welcome message is reported in the summary, to set in the editor.

The step palette

Add node opens the palette. Ten step types are available:

Step What it does
Send Message Displays a static Markdown message in chat. Supports {{var}} placeholders resolved against the workflow context. No model call.
AI Agent Runs an agent on the data reaching the step.
Condition Branches on a condition, with a True path and a False path.
Switch Routes to one of several paths based on a value.
User Question Asks the user a fixed question and stores the answer in a context variable. No model call.
Parallel Group Runs several steps simultaneously and merges their output.
Handoff Group Transfers control between agents.
Action Invokes an external action — email, HTTP webhook or a sandboxed script. See Administrator-Guide → Orchestrator Action Steps.
Human Approval Pauses until a person approves or rejects. See Administrator-Guide → Human Approval Steps.
Terminate Ends the execution.

There is no Start step to add. Where a workflow begins is governed by the endpoint's welcome message instead — see Endpoints below. Workflows built before this change that still contain a Start node keep rendering and executing unchanged.

Wiring the steps

On the canvas a step card is moved by dragging its border; clicks on the text and buttons inside it do not start a drag. Connections are drawn from the ports on the card.

Loops are supported: a step may connect back to an earlier one. Terminate is the only step type allowed to be a dead end.

What a step can carry

Beyond its own configuration, a step has a few settings worth knowing:

Setting Effect
Show output When off, the step runs silently — its output goes into the workflow context but is not shown to the user. Applies to agent and group steps. The editor turns it on automatically when saving for any agent or group step that is final, that is, one with no next step or whose only next step is Terminate.
Allow agent interaction On by default. When off, the engine ignores an agent's request to ask a follow-up question and proceeds with the output it already has — useful where the step should run as a one-shot task.
Allow file upload Off by default. When on, the user can attach a file while the step is paused asking for input, and that file is available to later steps.
Input mapping / Output mapping Which variables enter the step, and which of its results are published back into the workflow context under names the following steps can use.

When an orchestrator is run by an Agent Task, the workflow context starts with the task's resolved input as {{input}}, so any step can read it as it is. See Webhooks-Agent-Tasks → Template Variables.

Validation — what blocks a save

Saving validates the whole workflow and refuses it if anything below is wrong. The messages name the offending step.

  • The orchestrator has a name, and at least one step.
  • Every agent step has an agent selected.
  • No two steps share the same order.
  • There is at least one connection — otherwise every step is isolated.
  • Every connection points at steps that exist.
  • Every step except the first has at least one incoming connection.
  • Every step except Terminate has at least one outgoing connection.
  • A Condition step has both its True and its False path connected.
  • A Switch step has a connection for every configured case, and for the default case when one is set.
  • A Human Approval step has both its approved and its rejected path connected.

Endpoints — how an orchestrator is reached

An orchestrator is not reached directly: it is published through one or more endpoints, each its own channel with its own QR code and URL. Add them from the endpoint section of the editor.

Two endpoint settings change how the workflow behaves:

  • Active — an inactive endpoint is not a usable channel, and does not appear in the test panel.
  • Welcome message — when it is enabled, the chat shows the welcome and waits: the user's first message becomes the input of the first step. When it is disabled, the first step starts on its own as soon as the chat opens, with no user input. This is what replaced the Start step.

The welcome message, language and logo the user sees all come from the endpoint.

An orchestrator can additionally be published as an Agent2Agent endpoint, so another system can call it as an agent — see Administrator-Guide → Agent-to-Agent (A2A) Interoperability.

Testing from the editor

The Test workflow panel at the bottom of the editor is the production chat, bound to the active endpoint you pick — not a separate test surface. What you try there is what the user receives: welcome message and language of the endpoint, logo, attachments, the agent's questions with their choice buttons, and Stop on a running execution.

  • Endpoint picker — appears when the orchestrator has more than one active endpoint, and is disabled while a run is in flight. Choosing another endpoint reopens the chat with that endpoint's welcome and language. With no active endpoint the panel says so instead of starting a test that would not resemble production.
  • Play — starts a run with an empty message, even when the endpoint's welcome is enabled. Inside the editor the chat never auto-starts: opening the page would otherwise execute the workflow, with its model calls and its side effects. Elsewhere — the public page, the home dialog — auto-start behaves as described under Endpoints.
  • Restart — begins a new conversation.
  • Full screen — gives the chat the whole window without reloading it, so what has already been said stays.

While a run progresses the nodes on the canvas light up, complete and signal errors, and the Execution logs panel fills with timestamped entries. That panel collapses sideways to a narrow strip, which widens the chat while keeping the diagram in view — the difference from full screen, which covers the diagram. Its refresh icon clears the entries.

Duplicating an orchestrator

The duplicate action on a row copies an orchestrator so a variant does not have to be rebuilt from scratch. A confirmation names the orchestrator and states what the copy does not do.

  • The copy carries over steps, the connections between them, and the endpoint configuration.
  • It is created inactive, and its endpoints are inactive and not publicly embeddable — duplicating never puts a second identical channel into production unless that is a deliberate choice.
  • The name is the original's with #2 appended, or the first free number after it. Duplicating a copy does not stack suffixes: Sales #2 duplicates to Sales #3, not Sales #2 #2.

Review the name, the agents of each step and the publishing of the endpoints before activating it.

Exporting and importing between companies

An orchestrator built in one company can be exported and imported into another, instead of being redrawn step by step. Both sides are for the company's administrators.

Exporting. The Export button in the editor header opens a window where you choose who can see the package:

  • Companies and Users — one Company ID or User ID per line. Leave both empty to keep the package visible only to your own company.
  • Publish the files too — copies the files of the knowledge profiles and of the orchestrator with the package, so whoever imports it can bring them along.

No credential leaves the company. Authentication, headers and query strings are removed from webhooks, credential-bearing keys from providers, and approval recipients, connections, MCP servers and AI endpoints are not exported. Every omission becomes a warning, shown to whoever exports and kept with the package. JavaScript steps are exported with their script as it is: if a script contains data of your company, that data travels with it.

Importing. Packages exported for you or your company are listed in Orchestrator imports, in the Administration group, with their origin. Import opens a guided procedure that asks what to bring:

  • Orchestrator only — agent steps arrive without their agent, with templates and mappings intact, ready to be connected to agents of the destination in the editor.
  • Orchestrator, agents and their knowledge profiles — in a new topic or an existing one (to which agents are only added). Profiles are created empty and inactive, or with their files when the package published them. Agents are created inactive and use the destination's default AI endpoints, never the source's.

Human Approval steps ask who approves them — the emails of users of the destination company — since their recipients do not travel with the package.

The imported orchestrator is always new and inactive. A name already in use is never overwritten — the procedure proposes a free one — and if a step of the import fails, whatever had already been created is rolled back. When it finishes, the procedure lists what it created and what was left empty to set up again, and opens the orchestrator in the editor.

Activating and deleting

The Active / Inactive switch in the header governs the orchestrator itself; an endpoint has its own active flag. Both have to be on for a channel to serve users.

Delete is available from the editor header and from the list, and asks for confirmation in both places.

Related pages

Clone this wiki locally