Standalone Workflows
A workflow does not have to belong to a proxy. Standalone workflows live in the Workflows list (sidebar: Automation › Workflows) and run on a schedule, from a Kafka topic, from an email inbox, on demand, or when another workflow or an AI guardrail calls them. The workflows that your proxies run are in the same list, so you can see every workflow in one place.
Each workflow has a draft that you edit and published versions that run. Proxies, schedules, callers and guardrails always run the published version, so you can change a workflow without affecting what is live until you publish.
The Workflows list
| Column | What it shows |
|---|---|
| Name | The workflow name and description. Click a row to open it. |
| Kind | Standalone, or Runs on a proxy when at least one proxy runs it. |
| Trigger | The entry steps: Incoming request, Manual, Schedule, Kafka message, Email (IMAP) or Called by Workflow. A standalone workflow can have several, listed in order (Schedule ×2, Manual; see Several triggers). |
| Status | Not published, Active or Off, and Draft changes when the draft differs from the published version. |
| Last run | The status of the latest run and how long ago it started, or Never. Click it to open the run in Executions. |
| Version | The published version (v3). |
| Used by | How many proxies, workflows and guardrails use it. |
| Updated | When the draft was last saved. |
Filter by kind and trigger (a workflow matches when any of its triggers has that type), or search by name or id. The list updates by itself when someone changes a workflow or a run starts or ends, so Last run stays current without Refresh.
A proxy's own workflow that is not in the workflows store yet (and, while the store runs in inline mode, any workflow that proxies run) opens on its proxy page instead, where it is edited as before.
Create a workflow
You need the modifier role. Click New workflow and choose how to start:
- Blank: an empty canvas. Pick a trigger as the first step; see Building Workflows.
- From a template: one of the workflow templates.
- Copy a proxy's workflow: a new workflow with a copy of that proxy's workflow. The proxy is not changed and keeps running its own workflow. You do not need a copy to reuse it: another proxy can use the workflow built on a proxy's page directly (Use an existing workflow on its page). Copy it when you want a separate workflow to change on its own.
- Import a file: a new draft from a workflow export file; see Export and import.
Give the workflow a name (templates and copies default to the name of what you copy) and click Create workflow. The new workflow is a draft: nothing runs it yet.
Draft, publish and versions
The editor header shows the published version (v3, or Not published), Draft changes when there is something new to publish, and on wide screens the latest run (click it to open the run) and the workflow's trigger types.
- Save draft (Ctrl+S) saves your changes without publishing them. Nothing that runs the workflow changes.
- Save & publish saves your changes and publishes them as the next version in one click. When the draft is already saved, the button reads Publish.
Publishing validates the workflow first (for example, its triggers must follow the rules in Several triggers). If it is not valid, the reason is shown under the header and nothing is published. A standalone workflow with a Forward to upstream step (Proxy node) is published with a warning: that step needs a route and takes its error branch when no proxy runs the workflow; use HTTP request instead. Validate in the ⋯ menu runs the same check without publishing.
When proxies run the workflow, publishing also updates each of them; a notice under the header names the proxies that now run the new version.
Versions in the ⋯ menu lists every published version with who published it and when. Restore to draft copies an old version into the draft (it asks first if you have unsaved edits); publish it to make it live again. Restoring never changes what runs by itself. Through the API, GET /api/v1/workflows/{id}/versions lists the versions and GET /api/v1/workflows/{id}/versions/{version} returns one with its definition (secret values masked); both need the viewer role.
Several triggers
A standalone workflow can start from more than one trigger, for example a nightly schedule, an hourly schedule and a Manual trigger for runs on demand, all leading into the same steps. In the editor, Add trigger (top left of the canvas) opens the step picker with the triggers you can still add; the new trigger is placed under the others, so connect it to the step it should start. A proxy's workflow has no Add trigger.
- At most one trigger of each type, except Schedule (
cron_trigger): add as many schedules as you need. - Each run starts from the trigger that fired and follows that trigger's edges. A schedule runs at its own times, a Kafka consumer for each message, an email trigger for each new email.
- A step that several triggers lead into runs in each of their runs: a run does not wait for the other triggers, or for steps only they lead to. Other steps with several incoming connections still wait for all of them (see Execution Model).
- Each schedule, Kafka consumer and email trigger is registered on its own (
<workflow id>:<node id>), so two schedules that fall on the same minute each run once. - Another workflow (Execute Workflow), an AI Agent tool or a guardrail starts it from its Called by Workflow trigger (or its Incoming request trigger when it has no Called by Workflow trigger).
- Test workflow and Run now ask which trigger to start from when there are several. Through the API, a manual run names it:
POST /api/v1/workflows/{id}/run?trigger_node=<node id>(MCPrun_workflowwithtrigger_node); a console test run sends_trigger_nodein its test input.
A workflow that a proxy runs keeps exactly one trigger, an Incoming request trigger: the proxy page, linking a proxy to a workflow and publishing a workflow that proxies run all refuse a second trigger. To share a multi-trigger workflow's steps with a proxy, move them into a helper workflow and call it from both with Execute Workflow.
Activate
The Active switch in the header starts and stops the workflow's own trigger:
- A schedule, Kafka consumer or email trigger runs only while the workflow is active, and always runs the published version.
- For a workflow that proxies run, the switch turns the workflow on or off on those proxies.
You can only activate a workflow that has been published. While a published workflow is off, a notice under the header says so and offers Turn on.
Run now
Run now in the editor header runs any workflow once, whatever its trigger (modifier role). With several triggers, choose one under Start from first. Then enter the optional JSON the trigger takes:
| Trigger | The JSON is |
|---|---|
| Manual, Called by Workflow | The trigger's input (Called by Workflow checks it against its input schema) |
| Incoming request | The request body |
| Schedule | Not used: the schedule runs once now, with the current time as its slot |
| Kafka message | A test message {key, value, headers, topic} (all optional) |
| Email (IMAP) | A test email {subject, from, to, body_text} (all optional) |
Run:
- the published version: a real run, kept in run history, with a link to open it; or
- the draft (check Run the draft instead): a test run that is not recorded. The draft can have other triggers than the published version; Start from lists the ones of the version you run.
Running a schedule, Kafka or email workflow by hand does not move the schedule, read or commit Kafka offsets, or touch the mailbox. The result shows the status, duration, error and the response or returned value, if there is one. Details and the API: Manual Runs and Run History.
Used by
Used by in the ⋯ menu lists everything that runs the workflow: proxies (with a link to each proxy's workflow), workflows that call it from an Execute Workflow step or an AI Agent workflow tool, and AI Gateway guardrails. Check it before you publish a change to a workflow that many things use.
A workflow that is in use cannot be deleted. Delete workflow in the ⋯ menu deletes the workflow and its versions once nothing uses it; its run history is kept until it expires.
Settings
Settings in the ⋯ menu holds the name, the description, the timeout for Run now (1 to 600 seconds, 60 by default), the Error workflow and Save run data, which keeps each step's output with the run so you can inspect it later (masked and size-capped; see Saving run data). Settings are saved right away and do not change the draft or the published steps.
Error workflow lists the other workflows that start with Called by Workflow or Manual; the chosen one runs when a recorded run of this workflow fails (None turns it off). If the server refuses the choice, for example because that workflow's published version starts with another trigger, the dialog shows why and saves nothing. See Error Workflows.
Export and import
Export in the ⋯ menu downloads the workflow as a file (<name>.zerq-workflow.json; the published version, else the saved draft). New workflow › Import a file creates a new draft from such a file, in the same or another environment, lists what to fix there and opens the draft. Secret values are removed from the file. API (GET /api/v1/workflows/{id}/export, POST /api/v1/workflows/import), MCP tools and details: Export and Import Workflows.
Who can do what
| Action | Role |
|---|---|
| See the list, open a workflow, its versions, used by, settings and runs; export | Viewer |
| Create, import, save, publish, restore, activate, run, change settings, delete | Modifier |
| Read the saved data of a run | Modifier (audited) |
Viewers see the editor in View only mode, without the create, save and run actions. Every change is recorded in the audit log.
From the proxy workflow page
When a proxy's workflow is in the workflows store, the proxy workflow page shows Open in Workflows next to the route, which opens the same workflow here with its versions, runs and usages.
Related
- Executions: the run history of every workflow
- Error Workflows
- Export and Import Workflows
- Manual Runs and Run History
- Building Workflows
- Cron Trigger, Kafka Consumer, IMAP Trigger, Manual Trigger