Skip to content

Workflows

View: Workflows list The Workflows page.

A workflow chains saved agents into a repeatable, multi-step process — with branches, loops, human approval, and delivery to an external channel. Steps run as a vertical chain: there is no free-form canvas and no drag-and-drop. A workflow is edited as a draft, then published to an immutable, versioned snapshot; a run is bound to the exact version it started on, so a later change never disturbs a run that is already in flight.

The builder is the authoring surface only. Every rule described below is re-enforced on the server — the client is never the authorization or validation boundary.

💡 Note: Workflows are gated per workspace. The Workflows entry is always shown in the WORKSPACE cluster of the left rail. It is live for users who may author workflows — admin, tenant_admin, ki_manager, member, or a custom role holding the workflow-author capability (not viewer, demouser or finance) — in a workspace whose plan includes the feature (off unless a platform admin has enabled it). Otherwise the entry carries a Premium badge and clicking it opens a shared upgrade pop-up. For a workspace owner who can upgrade, its Register interest button leads to the contact form; everyone else sees Please talk to your organisation administrator. instead. A bookmarked or typed workflow link — the list, the builder, and run views — still redirects to the upgrade page, so it never opens for a user the server would refuse. A workflow is visible and runnable only by its owner and by administrators (admin, or a tenant_admin of the same tenant); other users do not see it. Administrators can view, run, disable and delete it, and cancel its runs, but only the owner can edit or publish it. A workflow always runs as its owner, whoever starts it (an administrator's manual run included). Webhook, form, email and schedule triggers and published versions that already exist keep firing unchanged even if someone other than the owner set them up; they run as the owner.

For the underlying API shapes — admin CRUD, publish, trigger and resume, the schedule and webhook routes, the approval inbox, and the internal runner seam — see the Workflows API reference. Human-Approval requests are reviewed in the Approvals inbox in the workspace sidebar.

Every workflow page carries a breadcrumb that starts at Workspace › Workflows:

Page Breadcrumb
Workflows list (/workflows) Workspace › Workflows
Builder (/workflows/<gateway>/<id>) Workspace › Workflows › <workflow name> — Workflows returns to the list
Runs of a workflow (…/<id>/runs) Workspace › Workflows › <workflow name> › Runs — the workflow name returns to the builder
One run (/workflows/<gateway>/runs/<run>) Workspace › Workflows › Runs › Run — Runs returns to the workflow's runs

Workflows list

The Workflows page lists the workflows on the selected access tier. When the workspace has more than one gateway, an Access tier control above the list selects which one the workflows belong to — Local, Data protection, or Standard, with a hint explaining the selected tier; with a single gateway the control is hidden. The Agents section names the same tiers differently (Protected = Local, Masked = Data protection, Public = Standard). Workflows are gateway-scoped — changing the access tier reloads the list for that tier's gateway.

Each row shows the workflow name, its Status (Draft, Published, or Disabled), and when it was last Updated. (The earlier Steps, Agents, and Runs (30d) columns are no longer shown.) A published or disabled workflow whose published version has a Deliver step that cannot deliver (see Deliver) carries an amber Can't deliver marker next to its status, and an amber banner above the list counts these workflows. Their runs would fail at the Deliver step; open the workflow to see which step and why. The row actions are:

Action Effect
Duplicate Creates an editable copy of the workflow and opens it in the builder.
Enable / Disable Disable is available to the workflow's creator, a tenant admin and an admin. Enable (re-enable) is owner-only: an administrator who is not the owner can disable a published workflow but is not offered Enable; the server refuses a forced enable with 403 workflow_owner_only. Toggles a published workflow between Published and Disabled. A disabled workflow does not run.
Delete Deletes the workflow and all its runs, after a confirmation.

Open a workflow in the builder via the open action icon on its row (the whole row is not clickable).

Creating a workflow

Proceed as follows to create a workflow:

  1. Click on the New workflow button.
    • The New workflow dialog opens.
  2. Enter a name in the Name text field.
  3. Click on the Create button.

-> The new workflow opens in the builder as an empty draft with a single trigger step.

Creating an example workflow

When a gateway has no workflows yet, the page shows an empty state with a Create example workflow button. It creates two ready-to-run examples, owned by you as drafts: a press review with an approval step, and a PII test run. The press review opens in the builder, so a new workspace can learn by example and publish it as-is.

Proceed as follows to create the example workflow:

  1. Click on the Create example workflow button.

-> The example options open in place of the empty state.

  1. Choose the Language of the example (Deutsch or English). It is preselected from your interface language; names, prompts, approval texts and delivery texts follow it.
  2. Check the Model of the example agent. It is your workspace's default model for this gateway and cannot be chosen here; you can change it later on the agent page.
  3. Choose where to Deliver the result to:
    • Email to me (the default) sends the result to your own email address.
    • Mattermost channel is offered only when your workspace has Mattermost delivery enabled. Enter the 26-character channel ID (lowercase letters and digits; in Mattermost: channel menu › View info). Create example stays disabled until the ID is valid.
  4. Click on Create example.

-> The examples are created and the press review opens in the builder. Repeating the action returns the existing examples rather than creating duplicates, also when you choose the other language.

What the example does when it runs. Publish the press review and run it: the agent writes the press review, the run waits for your approval, and after you approve, the result arrives by email (or in the Mattermost channel). Items the agent marks as urgent go to the "Send as urgent" step, all others to "Send as regular". The PII test run hands its agent a test personal-data record. On a PII-protected gateway the record is masked and the run's delivery is blocked (blocked_pii): nothing is delivered and you get a notice email without the content. Exception: when your workspace allows PII results to be delivered internally (Workspace settings, on by default), the email to you — the workflow's owner — is delivered; a Mattermost delivery stays blocked.

No model available. If your workspace has no model this gateway can use, the options show "No model is available for this workspace." and Create example is disabled; nothing is created. Ask your workspace admin to enable a model for the gateway, then try again. If the models could not be checked, the options show "Couldn't check the models. Try again." with a Retry button.

Builder

Only a workflow's creator (its owner) can edit it, publish it, re-enable it or change its triggers. A tenant admin or an admin who is not the owner opens the workflow read-only: a note at the top names the owner (or says the owner was removed), all editing controls are disabled, and the list row offers only View, Duplicate, Disable and Delete. They can still run it, disable it and delete it. A change attempted anyway is refused and the builder switches to read-only. A link to a workflow you cannot see shows a "not found" message with a link back to the list, never an empty builder.

View: Workflow builder The workflow builder: the step chain on the left, the configuration panel on the right.

The builder shows the workflow as a vertical chain of step cards. A "+" control sits between cards; clicking it opens a Choose a step type menu and inserts the chosen step at that position. Selecting a card opens its configuration in the panel on the right. When the builder opens, the trigger step is selected, so its configuration — including the Schedule, Webhook, Form and Email trigger buttons — is immediately visible in the panel.

Under its name, each card shows a one-line summary of its configuration, so the chain reads without opening every step:

Step Summary line Example
Agent step the agent's name and model (only the name when the agent has no model set) Example agent · qwen3.8-27b
Approval the approver and what happens when the time runs out Approver: Anna Berg (you) · ends after 24 h
Condition the compared value, the comparison and the text it is compared with output contains "urgent"
Deliver the channel and its target (see Deliver): you or the workflow owner when no address is set, the address, the Mattermost channel ID, or the webhook's host Email → you

A step that is not configured yet shows no summary — except a Deliver step, whose line names the missing target (Mattermost → no channel) above the Add a delivery target so the result reaches someone. notice.

The builder header holds the workflow name, a Run budget (EUR) field, the save-state indicator, and the action buttons Runs, AI copilot, Versions, Publish, and Run now. The trigger buttons (Schedule, Webhook, Form, Email) live in the trigger step's configuration panel, next to the trigger status they change.

The Run budget (EUR) field sets an optional cost ceiling for a single run. Leave it empty for no cap on a new workflow. A budget must be greater than 0 and at most 1000000. Emptying the field removes the budget, and the workflow runs without a cost cap from then on. When a run reaches the budget, it stops at the next step boundary.

A freshly inserted step gets a default name — for example Agent step 1 — that you can rename in its configuration panel. The name is only a display label; every reference binds to the step's immutable identifier, so renaming a step never breaks a reference.

Step types

A workflow is composed from the following step types.

Step Purpose
Trigger Starts the workflow. Its declared input becomes referenceable by later steps.
Agent step Invokes a saved agent. Its structured output (or its text output when it has no schema) becomes referenceable by later steps.
Condition Compares one picked value, with an If true and an Otherwise branch shown beneath it.
Loop Iterates a picked list value, running its body once per item, up to 10 items per run.
Approval Suspends the run until a named user approves or rejects it in their approvals inbox.
Deliver Sends the result to Mattermost, a webhook, or email, through the same fail-closed personal-data and egress checks as agent delivery.
Fetch Downloads a file from an https URL (SSRF-pinned to public addresses) and stores it as a workflow artifact that later steps can reference.
Code Runs a short script in a headless sandbox over referenced input artifacts and emits its output as a new workflow artifact.
Connector Calls a saved MCP or API connector during the run, as the workflow owner, and emits the masked text result of the connector for later steps to reference.

A Condition renders its two branches side by side beneath it: If true on the left, Otherwise on the right, each with its own + to add steps. A line under both branches closes them, and the main chain continues below it. On a narrow screen, or when the side panel leaves too little room, the two branches are stacked instead, If true above Otherwise. A Loop renders its single body slot as an indented sub-chain beneath it. Branch and loop nesting is capped at one level, and a loop body may not contain a Deliver, a Connector, or an Approval step, because a re-run of the loop re-sends the result.

Agent step

An agent step runs one saved agent. Select the agent from the Agent drop-down list. The list offers only agents you own on this workflow's access tier — an agent step may not reference another user's agent, and agents belong to the access tier they were created on. If the list is empty although you own agents, they live on a different access tier: create the workflow on your agents' tier (the Access tier control on the Workflows page), or create an agent on this one. The builder shows this hint under the drop-down. The Input for this step field is the task or prompt sent to the agent, and may reference the output of earlier steps. The agent's own system prompt is set on the agent itself, not here.

Task scope. If the agent has a task scope template (the API field task_envelope), each run of this step narrows the agent's connector calls to values taken from the workflow run's own trigger (for example the case number in an incoming email's subject). The values are read from the stored trigger, never from the step input. If a required value cannot be taken from the trigger, the agent's connector calls are refused for that run, but only when the agent's template is marked as required. The template is set through the Agents API; the agent form does not show it. See Task envelope.

Condition

A condition routes the chain down one of two branches. Pick the Value to compare, choose a Comparison (equals, not equal, contains, greater than, less than, or is empty), and, for every comparison except is empty, enter the value to Compare with. The taken branch runs; every step in the branch not taken is marked as skipped.

A condition that an older version of the AI copilot generated may store its compared text under a key the workflow does not read. Such a condition is not published, and a run of a version that was published with it stops before any step rather than taking a branch. When you select the condition, Compare with is marked and shows the stored text as a grey hint (also for is empty, where the field otherwise stays hidden): enter the value in the field and publish again. On the copilot page, such a proposal is listed with the same message and cannot be applied; ask again or use Fix.

Loop

A loop iterates a list produced by an earlier step. Pick the list under Iterate over. The body runs once per item, up to 10 items per run. Inside the body, each step can reference the current item and its index; after the loop, the collected items and their count are referenceable by the following steps.

Deliver

The Deliver step sends the result outside the platform. Pick a Channel, then fill in its target:

Channel Target field Notes
Mattermost Mattermost channel ID The 26-character channel ID, not the #name. For a private channel, invite the Myra bot to the channel first — it can only post where it is a member.
Webhook Webhook URL An https URL that receives the result as JSON. Only public addresses are accepted.
Email Subject Sent to the workflow owner's email address by default, resolved server-side.

The Deliver card in the chain names its target under the step title, so you can see where each step sends without opening it: Mattermost → channel ID (or no channel while it is empty), Webhook → host (only the host — the rest of a webhook URL can carry a secret token, so the full URL is shown only in the step's panel; no URL while it is empty), and Email → you / Email → the workflow owner or the external recipient — a {{…}} recipient shows as the same step reference chip as in the panel. A long value is shortened with an ellipsis; hover the line for the whole text. A target that publishing would refuse never reads as valid: a step without a channel reads No delivery channel, an unknown channel Unknown delivery channel, and a channel ID, URL or recipient that is not usable text reads invalid channel ID / invalid URL / invalid recipient (in red). Clearing External recipient (optional) removes it, so the step goes back to the workflow owner.

For an Email delivery you may also set two optional fields:

  • External recipient (optional) — leave it empty to send to the workflow owner. A non-owner address is delivered only when it is on your tenant's recipient allowlist; any other address is refused.
  • Attachment (optional) — a {{…}} reference to a prior step's artifact (for example a Fetch or Code step output), attached to the email.

The Message field is the composed text, which may reference earlier steps. An empty message delivers nothing. A run that masked personal data refuses external delivery — the Deliver step is blocked rather than sending unchecked data. For an Email delivery the recipient still receives a short notification that the run completed but the result was withheld by the organization's data-protection policy — the notification never contains the result or any personal data, and the run detail records the outcome next to the delivery status. Mattermost and webhook deliveries stay silent externally; the block is visible in the run detail.

Release approval. When the personal data came from a source set to Approval · 1 or Approval · 2 for external delivery, an external Deliver step (Mattermost, a webhook, or an email to an external recipient) is not blocked: it waits for a release, as a scheduled agent run does (release approval). Nothing is sent; the run pauses at that step and the run detail shows Waiting for release with the channel and an Open in Approvals link. The workflow owner gets a short notice (their own copy of the result is attached when your organization allows internal delivery of personal data) and releases or rejects it under Approvals (Approval · 2: the owner first, then a second person with governance rights who is not the owner). Once released, the run continues and the step delivers exactly once; the release is re-checked against the current policy first, so a source made stricter in the meantime still stops it. Don't deliver, or nobody releasing it before the request expires, ends the run without sending (Not delivered — release rejected / Not delivered — nobody released it in time) and the owner is told. Steps after the Deliver step run only after the release. An email Deliver to the owner is internal and never waits. The card lists the places where personal data was found across every agent step of the run. Each hold, release and refusal is also sent once to your organization's SIEM (DELIVERY_HELD / DELIVERY_RELEASED / DELIVERY_BLOCKED, see SIEM › Delivery of results with personal data).

For a workflow started by an incoming email, a webhook or a form submission (outside content), the delivered text and the input of a Connector step never contain an auto-loading image or HTML, and no ! survives. Runs started by a schedule or by hand are delivered unchanged. Every !, also inside a link, is shown as ǃ (so an image ![x](https://…) arrives as the link ǃ[x](https://…), https://x/#!/inbox as https://x/#ǃ/inbox, and Done! as Doneǃ), < as ❮ and { as ❴; a percent-encoded %21 / %3c / %7b arrives as %C7%83 / %E2%9D%AE / %E2%9D%B4. The text arrives decoded (&amp; shows as &) and Unicode-normalised (m² shows as m2, ™ as TM). A link is otherwise unchanged, except a parameter starting &lt, &amp, &not, &laquo or &iexcl without ;, whose & shows as ⅋, or a punycode host label that decodes to !, <, { or brackets (its xn-- shows as xn⸺⸺, with U+2E3A; under glibc iconv ASCII//TRANSLIT this neutralised form no longer transliterates back to xn--). As a partial mitigation only (ASCII-transliterating receivers such as iconv ascii//TRANSLIT are not covered), the characters that an ASCII transliteration turns into < («, ‹, ≪, ⟨, 〈 and similar) are shown as ❮, and ¡ and ¬ (which turn into !) as ǃ, so prose with «guillemets» arrives with ❮. If the safety check cannot settle a text, the fallback costs more: & becomes ⅋ and % becomes ٪ across the whole text, so links with query strings or percent-escapes then stop working. Supported receiver model: up to two standard markdown/HTML render rounds (CommonMark/GFM including markdown-it with linkify, python-markdown including extra, HTML5 parsing, html2text HTML-to-markdown), with HTML character-reference decoding, Unicode normalisation (NFKC), percent-decoding, punycode/IDNA decoding and markdown backslash-escapes in between. Not covered: ASCII-transliterating receivers (iconv ascii//TRANSLIT, unidecode-style; the ❮ / ǃ substitutions are a partial mitigation with no guarantee), Org-mode [[url]], JavaScript %u0021, overlong UTF-8 %C0%A1, quoted-printable =21, an xn-- prefix split by a default-ignorable character (x, U+00AD, n--; standard decoders reject it, only a non-standard strip-then-decode receiver is exposed), markup other than markdown or HTML, link unfurlers that fetch a plain URL, and more than two render rounds. Input and delivered text are each capped at 1,048,576 characters (truncated). The run detail notes external_media_neutralised:<n> when this applied.

💡 Note: If your organization has enabled internal PII delivery, an Email delivery to a workspace member (the owner) instead receives the full, unmasked result — the masked-run block applies only to external recipients. Mattermost and webhook deliveries stay blocked regardless. Separately, a platform admin can disable Mattermost delivery org-wide, in which case a Mattermost Deliver step hard-fails independently of PII.

What is checked at publish. Publishing refuses a Deliver step that could never deliver, so the problem shows up in the builder instead of in a failed run:

Channel Refused at publish when …
(any) no channel is chosen, or the channel is not Mattermost, Webhook or Email.
Mattermost Mattermost delivery is not enabled for your workspace; the channel ID is empty; or it is not the 26-character ID (lowercase letters and digits — a #name is refused).
Webhook the URL is empty, not https, has no host, contains a user name or password, or cannot be read as a URL; its host contains non-ASCII characters (write an internationalised name in its xn-- punycode form); or its host does not resolve or resolves to an internal (non-public) address.
Email the External recipient is not a valid address, or is a valid address that is not on your tenant's recipient allowlist.

Some things can only be decided when the run reaches the step, so publish lets them through:

  • An External recipient that is a {{…}} reference — the address it resolves to is checked against the allowlist at run time. An empty recipient sends to the workflow owner.
  • The webhook address is looked up when you publish and again before every send. If the lookup cannot be completed right now (the name server does not answer), the workflow is still published and the builder shows a notice that the address could not be checked; the check before the send still applies. The same happens for webhook host names beyond the first ten looked up in one publish (an address written as an IP needs no lookup and does not count).
  • A missing Mattermost bot token does not block publishing — the result is then emailed to the workflow owner instead.

Already-published workflows. A workflow published before these checks existed, or one that stopped being deliverable later (for example because Mattermost delivery was switched off or an address was removed from the allowlist), is not unpublished. Instead, the builder shows an amber banner This published workflow can't deliver its result, listing each affected Deliver step (click a row to open the step), and the step carries an amber badge. Fix the step and publish again; if your draft already fixes it, the banner says Publish again to apply your fix. Until then, runs still fail at that Deliver step. The workflows list marks such workflows with Can't deliver.

Fetch

The Fetch step downloads a file over https and stores it as a workflow artifact that later steps can reference (for example as a Code step input or an email Attachment).

Field Purpose
URL The https address to download. Required. The request is SSRF-pinned: only public addresses are reachable, so it cannot be used to probe internal services.
Allowed content types (optional) Optional list of acceptable Content-Type values. When set, a response of any other type is rejected.
Max bytes (optional) Cap on the download size in bytes. A larger response is rejected.

Code

The Code step runs a short Python script in an isolated sandbox without network access over referenced input artifacts and writes its result out as a new workflow artifact.

Field Purpose
Python The script source. Required. The script reads its inputs from /input/ and writes its result to /output/. The source itself is treated as opaque and is never scanned for step references — data reaches the script through its declared inputs, not through {{…}} refs embedded in the code.
Input artifact (optional) A reference to a prior step's artifact, made available to the script as a file. The builder offers one; through the API a Code step can take up to seven (input_refs).
Output filename Optional name for the artifact the step produces.

The server accepts step retries and on-error policies on Fetch and Code steps sent through the API, but the builder shows the Error handling section only on Agent and Deliver steps.

Connector

The Connector step calls one of your saved MCP or API connectors in the middle of a run and makes the result of the connector available to later steps. The connector runs as the workflow owner, and the call passes through the same EU data-residency and personal-data (PII) checks as the rest of the run; the result is masked before it reaches the next step.

Field Purpose
Connector The saved connector to call. Required.
Tool The connector tool to invoke. Required.
Input (JSON object or reference) The arguments sent to the tool: a JSON object, or a single reference to an earlier step's output. Required. A reference is inserted as a JSON-encoded value, so place it inside a quoted string or as a whole value, never in a key.

A Connector step cannot be retried automatically, because the call may change data on the connected system and its result cannot be safely repeated, and it may not be placed inside a loop body.

Human-Approval

An Approval step pauses the run until a named person decides. Configure it as follows:

  • Approver — search for a colleague by part of their name or email (type at least 2 characters and pick from the list). Viewers cannot browse the workspace's users, so they have to enter the approver's full email address. The named user need not be able to build workflows; any user in the workspace can be an approver. The chosen user decides on the Open tab of their Approvals page.
  • If not decided in time — choose End the run (nothing goes out) or Continue automatically (auto-approve).
  • Timeout (hours) — a whole number of hours, between 1 and 8760 (one year).

At run time, a run that reaches the approval step is suspended and appears in the approver's inbox. On approval, the run continues past the step; on rejection, the run ends and the approver's reason is recorded on the run. If the deadline passes first, the run either continues or ends, according to the timeout choice. See Approvals for the reviewer side.

References

A step reads an earlier step's output through a reference. References are inserted only through the picker — you never type raw handlebars — and are shown as chips carrying the source step's label. A reference binds to the step's immutable identifier, not its label, so renaming a step never breaks a reference.

The picker only offers values that can actually be resolved where you are: the step's ancestors on the same path, plus, inside a loop body, the loop's per-iteration item and index. A value produced only inside one branch of a condition is never offered to the other branch or to the chain after the condition, because it cannot be guaranteed to have run; a hand-crafted reference of that kind blocks publish.

The offered values come from the referenced agent's declared output schema. An agent with no schema exposes exactly one value, its text output.

Draft autosave

The server holds the state. Edits are saved automatically, with the workflow's last-read timestamp sent as a precondition, so a save never overwrites a change made elsewhere. The save indicator shows one of three states: Unsaved changes, Saving…, or Saved.

If another tab saved the same workflow first, the next save is refused and the indicator switches to Changed in another tab with a Reload action, so local edits are never silently discarded.

Testing a step

View: Testing a step The Test this step dialog.

An agent step's configuration panel offers a Test this step button that runs only that step, in isolation, without running the whole workflow. The test run is not saved and does not appear in the run history.

Because a mid-chain step has no upstream output at design time, the dialog lists each value the step references and lets you supply a sample value for each; those are substituted into the step input before the run. The Test run cost is shown beneath the Output.

The test is blocked, with no run, when the step's agent has been deleted, when a reference cannot be resolved, or when the resolved input is empty. Only agent steps can be tested in isolation.

NL copilot — describe, fix, or explain a workflow

The builder toolbar has an AI copilot button that opens the copilot page of the workflow (/workflows/<gateway>/<workflow>/copilot), a natural-language assistant with three modes:

  • Generate — describe a process in plain words ("When a ticket arrives, summarise it, then ask a manager to approve, then email the customer") and the copilot proposes a draft graph built from the existing node types. You review a diff of the proposed nodes and click Apply to draft to load it into the builder as an editable draft.
  • Fix — when the draft has validation problems, the copilot takes the current graph and its validation errors and proposes concrete repairs, again shown as a diff you apply.
  • Explain — a plain-language summary of the current graph, including its error-handling and any approval gates — useful for a review or an audit.

The copilot never publishes. It only proposes a draft; you review it and publish, so the governance and audit story is unchanged. Every proposal is checked on the server through the same validator as publishing before it can be applied — a graph that fails validation is shown with its errors and is never applied as a partial draft. Copilot runs are metered like a normal request (the model call draws your workspace's usage), and the assistant is available only to workflow editors, on workspaces where workflows are enabled.

To generate a workflow:

  1. Click AI copilot, choose Generate, describe the process and click Ask the copilot.
  2. Review the proposed nodes in the diff, then click Apply to draft to load the draft. You return to the builder.
  3. Adjust anything in the builder, then Publish when you are satisfied.

The copilot, Versions, Schedule and Email trigger pages belong to the builder: the breadcrumb leads back to it, and your draft — including a change that was still being saved — is exactly as you left it when you return. Close on the copilot page asks first when you have typed a description or have a proposal you did not apply.

Publishing

View: Publishing a workflow The Publish button and the validation summary.

Publishing always asks the server to validate the workflow; the server is authoritative. On success, an immutable, versioned snapshot is created, and the Run now button becomes available.

On failure, the builder shows an error-summary banner above the chain listing every failing step. Clicking a row scrolls to that step and opens its configuration, where the offending field is marked red; each failing card also carries a red badge. Blocking issues include an agent step with no agent selected or with a deleted agent, a reference to a step that no longer exists, a reference into a branch that may be skipped, a loop with no list to iterate over, an approval step with no valid approver or timeout, a Deliver step that cannot deliver, and structural problems in the graph. A workflow with any blocking issue cannot be published until it is fixed.

Deliver steps are checked against their target. Publishing refuses a Deliver step when no channel is chosen; when Mattermost delivery is not enabled for your workspace, or the Mattermost channel ID is missing or is not the 26-character ID; when the webhook URL is missing, not a plain https URL (no user name or password), or points to an address that does not exist or is internal; or when a fixed email recipient is not a valid address or is not on your tenant's recipient allowlist. Every failing Deliver step is listed in the banner at once; clicking it opens the step with the offending field (Channel, Mattermost channel ID, Webhook URL or External recipient) marked and the reason shown under it. See Deliver for what is checked only when the run reaches the step.

Proceed as follows to publish a workflow:

  1. Click on the Publish button.
    • The server validates the stored draft.
  2. If the banner lists a failing step, click on its row, correct the red-marked field, then publish again.

-> The workflow is published and a new version is recorded.

When a published workflow has draft edits that are not yet published, the builder shows an Unpublished changes indicator next to the Run now button. A run — whether started manually, on a schedule, by a webhook, or by a form — always uses the last published version, not the unpublished draft. Publish again to make the edits take effect.

Versions

Every publish records an immutable version. The Versions button in the builder opens the version history page (…/versions): each row shows the version number, who published it, when, how many runs executed on it, and a Current badge on the version that is live now.

Comparing two versions. Select the checkboxes on any two versions and click Compare. The comparison lists what changed between them — steps that were added, removed, or changed (with the individual configuration fields that differ, shown as before -> after) and any changed connections. Comparing a version with itself shows No differences.

Rolling back. A non-current version has a Roll back button. Rolling back publishes that version's workflow as a new current version — the history is never rewritten, and past runs stay attached to the version that actually ran them. Rollback re-validates exactly like a normal publish, so if the older version references an agent or approver that no longer exists, or has a Deliver step that can no longer deliver, it is rejected with an explanatory message instead of going live. Your current draft is not changed; rollback only changes what is published (so future runs use the rolled-back version). A disabled workflow stays disabled after a rollback — you re-enable it explicitly when you are ready.

Triggers

A published workflow can be started in five ways: manually with the Run now button, on a schedule, by an incoming webhook, by a submission to a public form, or by an incoming email. The automatic triggers are configured from the trigger step: select the trigger card, then use the Schedule, Webhook, Form or Email button in its configuration panel.

What the trigger element shows

The trigger element at the top of the canvas — and the Trigger panel you get by clicking on it — always report the workflow's real trigger state, read from the schedule, webhook and form you configured with the buttons above the canvas. It reports one of:

  • the active trigger or triggers, for example Schedule or Schedule, Webhook;
  • Schedule — switched off, when a schedule exists but is not enabled. The workflow does not run automatically in this state;
  • Schedule — paused after repeated failures, a state set by an older version of the product, which switched a schedule off after repeated failures. Current versions no longer do that (see below). To re-arm such a schedule, tick Schedule enabled on the Schedule page and click Save schedule;
  • Manual, when no automatic trigger is configured at all.

A switched-off or paused trigger is always listed, even next to an active one, so a workflow that has silently stopped running cannot hide behind a second, working trigger.

The trigger element has no editable name: it always shows its step type, with the real trigger state on the line below, never a free-text label. Older AI-generated drafts sometimes seeded the trigger with a cadence-claiming name such as "Every morning at 10am"; that leftover text is not displayed and has no effect on when the workflow runs. Separately, if the step's configuration carries a cron or schedule value — which those same drafts sometimes did — the builder shows a warning on the element: those values do nothing. Only the Schedule page below actually schedules a run.

Scheduling a workflow

View: Schedule trigger The Schedule page.

The Schedule button in the trigger step's panel opens the Schedule page of the workflow (…/triggers/schedule), which runs the workflow automatically. A workflow has at most one schedule. The run executes as the workflow owner.

Under Trigger, choose Every fixed interval, Once a day (UTC), or Weekly:

  • For Every fixed interval, enter an Interval count and a unit of minutes, hours, or days. The interval must be between 1 minute and 366 days.
  • For Once a day (UTC), enter the Time of day (UTC) as a 24-hour HH:MM value — for example 06:00.
  • For Weekly, choose a Weekday and enter the Time of day (UTC). The weekly time is in UTC too.

Click on the Save schedule button in the bar at the bottom to store the cadence, or Remove schedule at the top of the page to clear it (it asks for confirmation first). Both return to the builder; Cancel returns without saving and asks first if you changed something. A scheduled run is skipped when a run of the same workflow is already in flight, so a schedule never starts a second, overlapping run.

A schedule is never switched off by failures. After five consecutive failed scheduled runs (counted from when the schedule was last armed; a manual Run now does not count) — for example after its agent's model was retired — a schedule with a fixed interval stays enabled but tries at most once every 24 hours (counted from when the last failed run started), so an unattended schedule cannot keep spending on a broken workflow. A successful run resumes the normal cadence. Daily and weekly schedules keep their time. To resume the normal cadence at once, fix the cause, keep Schedule enabled ticked and click Save schedule. A schedule switched off by an older version shows This schedule was turned off automatically on the page; tick Schedule enabled and click Save schedule to re-arm it, or leave it switched off.

Triggering from a webhook

View: Webhook trigger The Webhook dialog after a webhook is created.

The Webhook button in the trigger step's panel opens a dialog that lets an external system start a run by sending an HTTP POST to a unique URL with a secret header. The JSON body of the request becomes the trigger step's output and is available to the following steps.

Proceed as follows to create a webhook trigger:

  1. Select the trigger step, then click on the Webhook button in its panel.
    • The Webhook dialog opens.
  2. Click on the Create webhook button.
    • The Webhook created panel shows the Webhook URL and the Secret.
  3. Copy the Secret and store it securely.
  4. Click on the Done button.

⚠️ Caution: The secret is shown only once and cannot be retrieved later. Copy it before closing the dialog. To replace a lost secret, delete the webhook and create a new one.

To remove a webhook, open the Webhook dialog and click on the Delete webhook button.

Triggering from a public form

The Form button in the trigger step's panel publishes a public, login-free web page where anyone with the link can fill in a form and start a run. It is the business-user counterpart to the webhook: instead of a server-to-server call with a secret, a person submits an HTML form. A workflow has at most one form, and the run executes as the workflow owner.

The form fields come from the trigger step. Open the trigger step's config panel and, under Form fields, add one field per input you want to collect:

  • Field label — the text shown above the input on the public page.
  • key — the identifier the value is stored under; it must start with a letter or _ and contain only letters, digits and _. Downstream steps reference the value as {{step_0.output.<key>}} (where step_0 is the trigger step's id).
  • Type — Text, Number (validated as a decimal), Select (one option per line in the options box), or File upload.
  • Required — whether the field must be filled in.

A File upload field lets the submitter attach a file that downstream steps can read. It adds two more controls:

  • Allowed file types — a set of checkboxes (PDF, PNG, JPEG, WebP, Text, Word (DOCX), Excel (XLSX)). Leave every box unchecked to allow every supported type. The server always enforces the supported list by inspecting the file content, not the file name.
  • Max size per file (MB, 0 = default 10 MB) — the per-file size limit.

A form can have at most 5 File upload fields. Each key must be unique, and a Select field needs at least one option.

Use the ↑ / ↓ buttons to order the fields as they should appear on the page.

Proceed as follows to publish a form:

  1. Add the fields you need in the trigger step's Form fields editor, then publish the workflow (a form only works while the workflow is published).
  2. In the trigger step's panel, click on the Form button and then Create form.
    • The dialog shows the public form URL. Copy and share it.
  3. Optionally enable Require anti-spam check (CAPTCHA), or toggle the form off with the Form enabled checkbox. Regenerate link issues a new URL and invalidates the old one; Delete form removes it.

⚠️ Caution: A form is public and anonymous — anyone with the link can start a run that drives the workflow's agents with their full tool access, without signing in. Only enable a form on a workflow you trust with anonymous input.

Submissions are validated server-side against the field schema (unknown fields, wrong types, missing required fields and out-of-range selects are rejected), rate-limited per IP and per form, and protected by the same personal-data safeguards as every other trigger. A submitter sees only a short confirmation with a reference id — never any run internals. The runs list shows the Form source and the submission time; the run detail lists the submitted field names (values stay redacted). For the full endpoint contract see the Form triggers API.

What the injection guardrails check. You can use form values in an agent step's input, for example Requested by {{step_0.output.requested_by}}: {{step_0.output.note}}. Summarise the change …. If the gateway has the Prompt Injection or Jailbreak guardrail, they check each form value on its own. Your template text is treated like agent instructions and is not classified, and neither are the [Untrusted form: …] markers the platform puts around each value. So an instruction you wrote ("Update …, post …") no longer gets a harmless submission blocked, while an injection typed into a form field ("ignore previous instructions and …") is still blocked. The block records it as untrusted:form. Keyword and regex rules and personal-data masking still read your template text as before. Webhook- and email-triggered runs work the same way (untrusted:webhook, untrusted:email).

Triggering from an email

An incoming email can start a published workflow. Click the Email button in the trigger step's panel. The platform checks an IMAP mailbox on a timer; the email and any attachment are parsed and screened for personal data, and an agent step can then analyse them. The run executes as the workflow's owner. The Email trigger page of the workflow opens (…/triggers/email). On it you set:

  • IMAP host, Port, Username and Password. A stored password is kept when you leave the field blank; you can also remove it.
  • Security: IMAPS (implicit TLS, port 993) or STARTTLS (port 143).
  • Mailbox: the folder to check.
  • Poll interval (seconds): how often to check the mailbox. 0 turns the poller off.
  • Email trigger enabled, then Save in the bar at the bottom (it returns to the builder).

The Mailbox connection block shows the result of the last check and the last error, so a trigger that cannot connect is visible. Emails that are too large, cannot be read or cannot be processed are skipped: they are not processed and stay in the mailbox, marked as read. The page shows when the last one was skipped and how many were skipped in total. For the full contract see the Email triggers API.

What happens to the email under data protection

If the workflow's gateway masks personal data (see Data protection), the email body and every attachment are masked before the run stores them. The agent step works with placeholders such as [MYRA-REDACT-EMAIL_ADDRESS:…], [MYRA-CUSTOM:…] or <PERSON> instead of the real names, addresses and keywords. The original values are not sent to any model and are not stored in the run, and the placeholders are not restored later. The same applies to a file uploaded through a form.

The run detail shows a hint Personal data in the email was masked (for a form: Personal data in the upload was masked) with the number of replaced items. The trigger step shows a chip per changed field, for example body · masked · 3 items or attachments · 1 of 1 masked · 1 item. The trigger input itself stays redacted to its field names.

If masking cannot be completed, the content is withheld: it is not stored and not sent to any model, and the workflow does not run. This happens only when the masking service cannot be reached or fails, when masking does not finish in time, when the gateway's data-protection settings cannot be loaded, or when masking is mandatory for your organisation and the gateway has no PII Protector. You then see:

  • the status Content withheld in the runs list and on the run detail;
  • a warning banner on the run detail with the reason, the withheld fields (for example Email body or 1 attachment) and when the content was received. The steps are shown as Skipped, and there is no Re-run, because the content was never stored;
  • an email to the workflow owner, A workflow did not receive an email, at most one per workflow and reason per hour. It names the workflow and the reason and links to the run; it contains no sender, subject or content;
  • an item in the owner's notifications center (the bell), until a later run of the workflow succeeds.

To recover, fix the cause or wait until masking is available again. The original email is still in the mailbox: forward it to the trigger address once more to start a new run. For a form upload, ask the sender to submit the form again.

Error handling — retries and on-error policies

Agent and Deliver steps can recover from transient failures without failing the whole run. In the step's config panel, the Error handling section offers:

  • Attempts (1–5) and Seconds between attempts (0–30). Only transient failures retry — a provider outage or timeout, or a failed webhook delivery. Content blocks (for example a PII block) and configuration errors are never retried.
  • If this step fails — what happens when the last attempt still fails:
    • Stop the run (default): the run halts.
    • Continue without this step's result: the step is marked as absorbed ("continued") and the workflow proceeds with the next step. Later steps cannot reference this step's output (the builder blocks such references at publish).
    • Run the error branch: the step gains a second outgoing path, the On error branch on the canvas — a catch chain that runs only when the step ultimately fails (for example: deliver the report, and on failure notify an admin instead). On success the catch chain is skipped. Catch chains are linear (no conditions or loops inside).

A step inside a branch or a loop body cannot use Run the error branch, and a step inside a loop body cannot use Continue without this step's result. The On error branch cannot reference the failed step's own output. Publishing blocks each of these cases.

The run detail shows every attempt as its own row with its own cost, an attempt badge (for example "attempt 2/3"), and the final disposition — so retried and absorbed steps stay fully auditable.

When a guardrail blocks a step

If a guardrail of the workflow's gateway refuses an Agent step (a request guardrail such as a keyword rule or prompt-injection detection, or a response guardrail), the step does not produce a result:

  • The step is Failed and the run is Failed. A content block is not retried (the same input gets the same verdict), and neither Continue without this step's result nor Run the error branch absorbs it. Only a temporary guardrail outage (the check is briefly unavailable, or a document is too large to scan right now) is retried per the step's Attempts; if the last attempt is still refused, the run fails the same way and the step says on which attempt.
  • Every later step is Skipped. A Deliver step shows "not sent, because an earlier step failed": nothing after the blocked step is delivered, and the refusal text is never sent as a result. (A Deliver step that ran before the blocked step has already delivered.)
  • The run detail shows Blocked by guardrail. with the step and the guardrail name (and the reason, when it is a fixed category such as prompt injection — a keyword or custom pattern is never shown), and a link (Open guardrail event) for viewers allowed to open the organisation's request logs: it opens the request logs filtered to the blocked request itself (see Request logging). The failed step lists error_class guardrail_blocked, the guardrail and "not retried" (or the attempt that was refused). The runs list shows Failed.
  • A form submitter still only sees the reference id; no mail is sent to them. For a scheduled workflow, the owner's failure email is sent as for any other failed run.

Monitoring runs

View: Workflow runs The Runs list for one workflow.

The Runs button opens the run history for the workflow. Whoever can see the workflow (its owner, an admin, or a tenant_admin of the same tenant) sees all of its runs, including those started by a schedule, a trigger or others.

The runs list shows, per run, the Status, the Trigger kind, the Cost, when it Started, and its Duration. The Run now button starts a fresh run and opens its live detail view.

Run detail

View: Run detail The run-detail view.

The run-detail view shows the run status, its cost against the budget, its duration, the trigger kind, and the per-step list with each step's cost, tokens, duration, and output. While a run is in flight, the view updates live and shows a Live — updating… indicator; if updates pause, a Refresh button re-arms it. If an in-flight run records no observable progress (no status or step change) for about 32 minutes — longer than any single step can legitimately take — an amber hint appears next to the live indicator: a queued run notes that runs normally start within seconds and the scheduler may be delayed, a claimed run notes when activity was last recorded and that the run may be stalled and can be cancelled.

Three guardrail outcomes are shown as protective states rather than as failures:

  • Delivery blocked — personal data detected — the run handled personal data, so external delivery was refused. The status reads Blocked — data protection. The workflow owner receives a content-free notification (the configured recipient receives nothing), and the deliver step in the run detail records whether that notification was sent.
  • Stopped — cost limit — the run reached its run budget and was stopped at a step boundary.
  • Content withheld — the email or form upload that started the run could not be masked, so it was not stored and the run did not start. See What happens to the email under data protection.

A run that is waiting at an approval step shows Waiting for approval. A genuine failure shows This run failed with an expandable technical detail.

Before each step, the runner checks the workflow owner and the person who started the run. The run stops before its next step, with an explanation in the runs list and the run detail, in the following cases:

Cause What the run detail says
Processing of the owner's or the starter's data is restricted The run was stopped because processing of that person's data is restricted. Start the run again once the restriction is lifted.
The owner's or the starter's account is deleted or disabled The run was stopped because that account is deleted or disabled. Re-enable the account, or re-create the workflow under an active owner.
The department of the owner or the starter does not allow the gateway The run was stopped because the department does not allow this gateway. Ask your administrator to allow the gateway.

For an email trigger, the mailbox is not checked while processing of the owner's data is restricted; the Mailbox connection block shows this. The trigger step's stored input may contain personal data and is never shown on this review view: it lists only the submitted field names. An agent step's output contains the personal data the gateway masked for the model and then put back into the answer. So when a run handled personal data, only the workflow owner sees the step outputs on the run detail. Everyone else who may open the run (an administrator who is not the owner) sees "This step's output is shown only to the workflow owner: the run handled personal data, and the gateway put it back into the result." instead of each output. The same holds for the error texts of such a run (the run's technical details, a step's error and a delivery error), which can quote the trigger input or a result: everyone but the owner sees "The error text is shown only to the workflow owner: the run handled personal data, and the text may contain some of it." instead. The error heading, the delivery outcome and a guardrail's name and reason stay visible. A run without personal data shows its outputs and error texts to everyone who may open it. The approval confirmation page shows its approver the same.

Cancelling a run

View: Cancelling a run Cancelling an in-flight run.

An in-flight run can be cancelled by its owner or by an administrator, from either the runs list or the run-detail view.

Proceed as follows to cancel a run:

  1. Click on the Cancel button on the in-flight run.

-> The run stops at its next step boundary before any further delivery, and its status becomes Cancelled. A run that has already finished cannot be cancelled.

Unsupported layouts

If a workflow's stored graph is not a shape this editor understands — for example, it was created by a newer editor — the builder shows a read-only Unsupported layout banner and refuses to autosave, so it never rewrites a graph it cannot faithfully round-trip.