Skip to Content
Sophon Docs
Features

Workflows

Saved automations — triggers, steps, expressions, durable runs, debugging, and permissions.

A workflow in Sophon is a saved graph of steps (actions, logic, data steps and human gates) joined by connections and started by a trigger. You can draw workflows in the Dashboard builder or ask the agent to create one. Every save is versioned, and since v2.2.0 every run is stored as a record you can open, follow live, cancel, test against and re-run.

Workflows are different from plans. Plans are generated for a single request and run on the graph runtime; workflows are saved, named, scheduled and reusable, and run on the workflow engine. A finished plan can be exported as a workflow (POST /api/graph-runs/{id}/save-as-workflow).

Breaking in v2.2.0

Several changes affect existing workflows: references, joins, loops, triggers, permissions and a removed step type. Read Upgrading from v2.1 before you upgrade.

Building a workflow

Open Workflows in the Dashboard. Click New workflow to start from scratch, or Browse templates to start from a copy of a shipped template.

In the builder:

  1. Choose the trigger. Once the canvas has a step, the trigger is drawn as a card above the first steps; select it to edit it in the side panel.
  2. Drop steps from the palette and connect them.
  3. Select a step to edit it in the docked Node properties panel: its label, its id and its settings.
  4. Fix the issues the builder lists, then Save.
  5. Switch the workflow on from the Workflows list. Save keeps the on/off state the workflow had when you opened it.

Step ids and labels

Since v2.2.0 every step card shows its id, and a click on the id copies it. Dropped steps get an id from their kind (prompt, prompt_2, branch, …). While nothing refers to a step, typing a label moves its id to match (prompt labelled "Summarize email" becomes summarize_email).

You can rename an id in the panel. The panel shows how many references and connections the rename updates before you apply it, rewrites them, and one undo restores the old id. Ids made by the builder and the agent follow ^[a-z][a-z0-9_]{0,47}$; the Gateway accepts ^[A-Za-z0-9_][A-Za-z0-9_-]{0,63}$. An id that contains . can never be referenced, because expressions split on dots.

References, connections and switch cases

  • Reference picker. In a step's expression fields (the prompt, message body, URL, conditions and the others that accept {{ … }}), typing {{ opens a list of the steps before this one, the trigger data, the run input, variables and functions. Enter and Tab insert the highlighted entry; Shift+Enter still types a newline. The Insert button opens the same list, and the crosshair lets you pick an upstream step on the canvas.
  • Connection conditions. Select a connection to edit its condition in the panel: true / false after an If / Else, an outcome after an Approval, a case after a Switch, body / done after a Loop, and error for a failure path.
  • Switch cases. Add, rename and remove a switch's cases in its panel. A rename rewrites its connections; removing a case that connections use asks whether to delete them or move them to default.

Issues, unsaved changes and undo

The builder runs the Gateway's validation rules in the browser on every change. Each step card shows an issue badge, and with nothing selected the panel lists every issue, errors first. Save is blocked, with a reason, when a step reads itself, reads a later step, or names $node.<id> without .output, and when a new step references a step that does not exist or has an id other steps cannot reference. Every other issue is shown and the save is sent, so the Gateway's answer decides.

The status bar says Unsaved changes while there are edits. Run with unsaved changes asks Save and run, Run saved version or Cancel, and leaving the builder from its Back button or an in-app link asks before discarding them. Undo and Redo cover every edit since the workflow was opened. Browser Back and Forward do not ask.

A workflow whose steps have no positions (made by the agent, the CLI or the API) opens laid out top to bottom. Nothing is saved until you save.

Read-only workflows

The builder opens a workflow read-only when you cannot change it: without the ManageWorkflows permission (Viewers on Pro and Enterprise), or when another user owns it and you are not an Admin. See Permissions.

Step types

Triggers

One trigger per workflow. See Triggers for which types fire.

Actions

StepTypeWhat it does
Run skillaction.skillCalls one tool from an enabled skill, under the workflow sandbox preset (hardened by default). The builder marks a tool the preset will refuse as Blocked
LLM promptaction.llm_promptOne completion without tools; the output is the reply text. Records the model, tokens and cost of each attempt
Send messageaction.send_messageSends to a channel the workflow's owner may use. A blank recipient goes to the chat that last messaged the bot (WebChat: the owner)
Execute codeaction.execute_codeRuns Python or C# in the sandbox; the output is stdout
API callaction.api_callAn HTTP request, checked against private addresses. The response body is capped at 1 MB by default
Create / update fileaction.create_update_fileWrites a relative path under the owner's workflow files folder (<dataDir>/workflow-files/<tenant>/<user>/). create never replaces a file
Sub-workflowaction.sub_workflowRuns another workflow inline, at most 5 levels deep. The child must have the same owner

Logic

StepTypeWhat it does
If / Elselogic.if_elseOutputs true or false; needs a true and a false connection
Switchlogic.switchTakes the connection whose case equals the value (both trimmed), else default
Waitlogic.waitPauses for a duration such as 30s or 5m
Looplogic.loopRepeats the steps on its body connections for each item of a list (forEach) or while a condition holds (while), then takes done
Parallellogic.parallelMarks a fork; its presence lets independent branches run at the same time
Mergelogic.mergeOutputs { "<id>": "<output>" } for the inputs that ran
Error handlerlogic.error_handlerOutputs the error and the failing step's id after an onError: goto

Data

  • Set variable (data.set_variable) — binds a value to $vars.<name> for the rest of the run
  • Transform (data.transform) — outputs the resolved expression
  • Filter (data.filter) — keeps the items of a JSON array that match a condition (each item is $vars.__item)
  • Aggregate (data.aggregate) — count, sum, min, max or join over a JSON array

Human steps

  • Approval (approval.human_approval) — pauses for a decision and outputs approved, rejected, edited, timedout or queued; connections match on the outcome. See Approval Gates.
  • Info request (approval.info_request) — asks the owner a question and outputs the answer, or (no response) when it times out.

Since v2.2.0 approval and question cards go to the workflow's owner only, carry the workflow, run and step, are never sent to external chat channels, and can be decided by the owner or an Admin of the same tenant.

Removed in v2.2.0: Discussion

The Discussion step (action.discussion) was removed with the Discussions feature. A save that contains one is refused (node_type_removed), and a run that contains one fails before any step runs. The builder shows the step as Unsupported with a one-click Replace with LLM Prompt, which keeps the id, position, label and error settings. The replacement's output is reply text, so check any {{ $node.<id>.output.<key> }} reference that read a field of the old output.

Expressions

String settings can contain {{ … }} expressions, resolved against the run before the step runs:

{{ $node.fetch_orders.output }}
{{ $node.lookup_user.output.email }}
{{ $trigger.data.userId }}
{{ $input.threshold }}
{{ $vars.count > 10 }}
{{ default($node.optional_step.output, 'none') }}
RootResolves to
$node.<id>.output[.a.b]A step's output; extra segments walk a JSON object
$trigger.data[.path]The trigger payload (webhook body, channel message, e-mail)
$input[.path]The run's input
$vars.<name>[.path]A variable set by Set variable, or by the engine (__error, __errorNodeId, __item, __loopItem, __loopIndex)

Operators: ||, &&, == != > < >= <=, + - * / (+ also joins text) and !. Functions: len, lower, upper, now, contains (ignores case), default(x, y) and json. Paths walk objects only: there is no array indexing. Arbitrary JavaScript is not supported; use an Execute code step for complex logic.

A $node reference resolves only when that step already ran and succeeded with an output. A reference to an unknown step, a failed or skipped step, or a step that has not run yet stays unresolved.

Strict references

New in 2.2: workflows created since v2.2.0 are strict (settings.strictReferences: true). In a strict workflow, an action step whose settings hold a $node or $vars reference that does not resolve fails before it runs, with an error such as Unresolved reference {{ $node.x.output }}: node 'x' did not produce output (skipped/failed). Its onError applies and it is not retried. References in the first argument of a top-level default(…) are exempt, so wrap optional values in default(…). $trigger.data and $input are never checked, and logic, data and approval steps keep the unresolved text.

Workflows created before v2.2.0 are not strict: an unresolved reference stays as literal {{ … }} text, which a message or prompt then delivers as written. The Dashboard has no strict switch; set settings.strictReferences in the workflow JSON.

On every save, the Gateway reports references to unknown steps, to later steps, to the other branch of an If / Else or Switch, and to steps that only run after the referenced step failed. A reference to an unknown step in a new step is an error; the others are warnings.

How a run executes

  • Order. A step runs once every incoming connection is decided and at least one was taken, so a step where two branches meet runs exactly once. With "join": "all" in its config it runs only when every incoming connection was taken. A step that does not run is recorded as skipped with a reason: branchNotTaken, upstreamSkipped, runStopped or runCancelled.
  • Concurrency. One step runs at a time unless the workflow has a Parallel step or sets settings.maxConcurrency (1-8). Then up to that many steps run at once, capped by the host (4 by default). Approval, question, Wait, Sub-workflow and Loop steps take no slot. Read step results by id, not position: concurrent steps finish out of order.
  • Loops. A Loop repeats the steps on its body connections once per item, one iteration at a time, then takes done. maxIterations defaults to 100 (1-1000); a forEach list longer than that fails the loop before the first iteration. Steps after the loop read $node.<loop id>.output, a JSON array of each iteration's result. Loops cannot be nested, and a run tree runs at most 5000 steps.
  • Failures. onError decides: stop (the default) ends the run, continue follows the step's error and unconditioned connections, retry runs the step again (retryCount, retryDelayMs), and goto follows only its error connections with $vars.__error and $vars.__errorNodeId set.
  • Timeouts. Each step has a default timeout: Approval 30 minutes, Info request 5 minutes, Wait its duration plus 5 seconds, Sub-workflow and Loop none, every other step 30 seconds. Set timeoutMs to change it (-1 for none). A whole run is capped at 24 hours by default. A Run skill step whose tool asks for approval still times out after 30 seconds unless you raise its timeoutMs.
  • Identity. Every run executes as the workflow's owner, with the owner's credentials and channels, whoever starts it.

Triggers

TypeFiresHow
manualYesRun in the Dashboard, sophon workflows execute, the agent's workflow.trigger tool, or the REST API
cronYesA cron expression (5-field Unix or Quartz) with an optional time zone. Fires only while the workflow is switched on. A fire missed while the Gateway is down is not replayed
webhookYesAn authenticated POST /api/workflows/{id}/webhook, or, since v2.2.0, a signed inbound webhook registration that targets the workflow (below)
channel_messageYes, since v2.2.0A text message on one of the owner's connected channels, matched by channel type, an optional channel config and a pattern (a regex, ignoring case). WebChat never fires
email_receivedYes, since v2.2.0An e-mail on one of the owner's e-mail channels, matched by optional filterConfig.from, filterConfig.subject and the pattern
file_change, calendar_event, agent_requestNoNothing produces these events. A save that introduces one is refused (trigger_type_unavailable); a workflow that already has one keeps saving with a warning and never fires

GET /api/workflows/trigger-types lists the types the Gateway can fire; the builder's trigger picker reads it.

Channel and e-mail triggers run the owner's matching workflows after the agent has handled the message, without delaying or changing the reply. $trigger.data carries the channel type, channel config id, sender, message, message id and time; for e-mail it carries from, to, subject, body (up to 65,536 characters), messageId, receivedAt and attachment names and sizes (never their content). The From header is not authenticated, so a from filter is not proof of the sender. filterConfig.cooldownSeconds (0-86,400) skips events that arrive too soon after the last one. The Dashboard has no fields for the e-mail filters or the channel config id; set them in the workflow JSON. Keep one enabled channel config per channel type: with two, that type's channel and e-mail triggers do not fire.

Inbound webhook registrations let an external system start a workflow without a Sophon login. Give the workflow a webhook trigger, then, as its owner or an Admin, create an inbound registration with "target": "workflow:<id>" and sender authentication (HMAC-SHA256, bearer token or a custom header). The sender posts to /webhooks/in/<slug> and gets 200 { "received": true } once the run is stored; it never sees a run id or result. Registrations are created through the API only; see Webhooks. There is no replay protection: a replayed signed request starts another run, so keep the route behind TLS and rate-limit it at your reverse proxy.

Webhook, channel and e-mail runs are treated as untrusted: their trigger text is screened for prompt injection, wrapped as external content in LLM prompts, and labelled on approval cards, and their code steps cannot use {{ }} references (read SOPHON_TRIGGER_DATA, SOPHON_INPUT_DATA or SOPHON_NODE_DATA instead).

Runs

Since v2.2.0 every run and every step attempt is stored as a run record, with redacted inputs and outputs.

  • Run viewer. Each run has a page, /workflows/<id>/runs/<runId>, that draws the run on the canvas as it was executed: each step's status, attempts, iterations and duration, and each connection as taken, not taken or pending. It updates live while the run is active. Select a step to see its input, output, error and attempts in the Step run panel. The header shows the status, trigger, duration, who started it, the error, and Cancel while the run is active.
  • Run list. The strip under the builder's canvas lists the workflow's runs, newest first, with status and trigger filters. The builder's Last run tab shows the selected step in the latest run.
  • Starting and cancelling. Run starts the run in the background and opens the viewer, so a long run or one waiting for an approval no longer holds a request open. A run can be cancelled from the viewer, the run list, sophon workflows cancel-run or POST /api/workflow-runs/{runId}/cancel.
  • Statuses. pending, running, waitingApproval, waitingInput, succeeded, failed, cancelled and interrupted. A run is not resumed after a Gateway restart: it is marked Interrupted, and you can re-run it. Run one Gateway per database.
  • Failure notices. A failed cron, webhook, channelMessage or emailReceived run raises a toast in an open Dashboard tab and a push notification to the owner's devices. Successful runs and manual runs never push. Outbound webhooks can subscribe to workflow.completed and workflow.failed.
  • Cost per step. LLM prompt steps record the model the provider answered with, the input and output tokens, and the cost from the model catalog. The run's cost is the sum of its steps. A cost of 0 means the model is free or has no price in the catalog. Run skill steps that call a model report no tokens or cost on the run (their calls appear on the Usage page), and a parent run's cost leaves out its sub-workflow runs.
  • Run caps. Each owner runs at most 8 runs at once and each tenant 32; more wait as pending. Over 64 active runs per owner or 256 per tenant, a new run is refused with 429 too_many_runs.
  • History from v2.1. A minute after the first start, run history saved by v2.1 is imported once as legacy runs. Legacy runs have no definition snapshot, inputs or step timings, and cannot be re-run.

Retention

Runs are pruned automatically. Per workflow, finished runs older than RetentionDays are deleted beyond the newest MinRunsPerWorkflow, and no more than MaxRunsPerWorkflow are kept whatever their age. A run that has not ended is never deleted. A one-minute schedule adds about 1,440 runs a day, so it keeps hours of history, not 30 days.

Environment variableDefaultRange
SOPHON__Workflows__Runs__RetentionDays301-3650
SOPHON__Workflows__Runs__MinRunsPerWorkflow200-10000
SOPHON__Workflows__Runs__MaxRunsPerWorkflow5001-100000, never below MinRunsPerWorkflow
SOPHON__Workflows__Runs__SweepInterval06:00:005 minutes to 7 days

The keys are read at every sweep; a value outside its range uses the default. Retention is host-wide; there is no per-workflow setting and no off switch.

Debugging

New in 2.2. Three tools help find and fix a failing step. Each is available to the workflow's owner and to Admins of the same tenant; an Admin's test or re-run executes as the owner.

  • Test step. In a step's panel, Test step runs that one step with its current settings. Upstream outputs come from one of the workflow's ten newest runs (Upstream data from), from Mock outputs typed as a JSON object of step id to output, or from neither. Trigger data and input come from the pinned sample when Use the pinned sample for trigger data and input is ticked. Approval, Info request, Loop, Sub-workflow and Wait steps over 30 seconds cannot be tested. A test is stored as a test run, hidden from run lists.
  • Re-run and Re-run from here. In the run viewer, Re-run starts a finished run again; Re-run from here in the Step run panel starts it from the selected step. Unchanged steps that succeeded before that step are carried over with their outputs instead of running again. The dialog shows what is kept, what runs again and which changed steps it found before you confirm. A re-run uses the current definition and the original run's input and trigger data. Legacy, test and sub-workflow runs, active runs and runs of a workflow that changed owner cannot be re-run.
  • Sample input. Each workflow can pin one sample of trigger data and input: typed in the trigger panel's Sample input section, or taken from a run with Pin as sample input in the viewer. Run with sample starts a run with it, step tests use it, and the reference picker offers its top-level keys. A sample is at most 64 KB, is stored in plaintext in the workflow file, and is cleared when ownership is transferred.

Steps that ask before running

Every step has an effect class: readOnly (logic and data steps, GET / HEAD / OPTIONS API calls, read-only skills), idempotent (LLM prompt), effectful (Send message, Create / update file, Execute code, Sub-workflow, other API calls, other or unknown skills) or interactive (Approval, Info request). Testing an effectful step, or a re-run that would repeat one that already started, asks first: Test step turns into Run it for real, and the re-run dialog needs a second click. The class is judged from the step's type and method, so a GET that changes something on the server still counts as read-only.

Permissions

  • Personal. One user owns everything; nothing changes.
  • Pro and Enterprise. Creating, editing, running and deleting workflows needs the ManageWorkflows permission (Operator and Admin). Since v2.2.0 Viewers lose these and see every workflow read-only. New users get Viewer by default; grant Operator, or set SOPHON__Tenant__DefaultRole=Operator.
  • Owner-only. A workflow belongs to its owner. Other users who are not Admins of the tenant get 403 not_workflow_owner when they edit, run or delete it, and the Dashboard opens it read-only. Every run executes as the owner, whoever starts it.
  • Transfer. POST /api/workflows/{id}/owner with { "userId": "…" } moves ownership, by the owner or an Admin. A transfer by the owner switches the workflow off until the new owner turns it on. The Dashboard and CLI have no transfer control.
  • Run visibility. A run can be read by the user it ran as, the user who started it, and Admins of the same tenant. Only the run's user and Admins see its definition and inputs. Live run updates reach the run's user and the user who started it; Admins read other users' runs over REST.
  • Tenants. Every workflow route is tenant-scoped: another tenant's workflow answers 404.

Credentials are referenced by connection, not embedded, so changing a credential does not require editing the workflow. Keep secrets in the credential vault: run records redact values by setting name and pattern, so a secret placed into a plainly named setting is stored readable.

Versioning

Every save creates a new version, numbered by the Gateway, and the 20 newest are kept. List them with GET /api/workflows/{id}/versions or sophon workflows versions <id>, and roll back with POST /api/workflows/{id}/rollback/{version} or sophon workflows rollback. A rollback saves the old definition as a new version. Deleting a workflow deletes its versions and its run records.

AI-authored workflows

Ask the agent to build one:

"Create a workflow that checks my inbox every morning at 8, summarizes any emails from my manager, and sends the summary to Telegram."

The agent uses the workflow.* tools. workflow.create, workflow.edit and workflow.delete are high-risk tools, so they go through the approval gate before anything is saved or deleted. The agent cannot quietly create running automations.

ToolWhat it does
workflow.listLists the workflows of the conversation's tenant
workflow.describePrints each step as id "label": type and the newest run you may read
workflow.createCreates a workflow owned by you; steps without an id get one from their label
workflow.editReplaces the steps or connections it sends; resent steps keep settings it omits
workflow.triggerStarts a run as the owner, waits for it and names the run id
workflow.pause, workflow.resumeSwitches the workflow off or on
workflow.cloneSaves a paused copy owned by you
workflow.deleteDeletes the workflow and its run records

The tools follow the same rules as the routes: the conversation's tenant only, ManageWorkflows, and the owner or an Admin. A save with problems answers with an Issues: list; a save with warnings adds a Warnings list. Steps sent without positions are laid out.

From the CLI

sophon workflows list
sophon workflows get <id>
sophon workflows validate digest.json          # the issues a save would report; nothing is saved
sophon workflows create --file digest.json
sophon workflows execute <id>                  # start a run and follow it; exit 1 if it fails
sophon workflows execute <id> --async          # print the run id and return
sophon workflows runs <id> --status failed     # runs, newest first
sophon workflows run wfr_… --details           # one run, with each step's inputs and output
sophon workflows run wfr_… --follow            # follow a run until it ends
sophon workflows cancel-run wfr_…
sophon workflows history <id> --limit 5
sophon workflows versions <id>
sophon workflows rollback <id> <version>
sophon workflows draw <id>                     # draw the graph in the terminal

New in 2.2: validate, runs, run and cancel-run, and an execute that follows the run. execute exits 0 when the run succeeded, 1 when it failed, was cancelled or was interrupted, and 130 on Ctrl+C (which stops following, not the run). The CLI follows a run by polling every 2 seconds and has no re-run or sample-input command. See the CLI reference.

Templates

Browse templates creates a switched-off copy of a shipped template; later template fixes do not reach the copy.

  • Web Digest (new in 2.2) — fetches a web page every morning at 09:00 UTC with an API call, summarizes it in at most five bullet points, and posts the digest to your WebChat. Replace the URL with the page you follow.
  • Email Summary — searches your inbox for "action required" in the subject and sends a summary on a match, or a notice when nothing matched. Repaired in v2.2.0. An IMAP error (wrong credentials or host) reads as "no email"; the error shows in the search step's output.
  • Approval Flow — routes a request through an approval step with a message per decision.
  • Data Pipeline — fetches data from an API, transforms and filters it, and writes the result to a file.
  • Morning Briefing — calls a calendar.today tool that no built-in tool or bundled skill provides, so its runs fail at the calendar step until you replace that step.

Since v2.2.0 every template step has a label and an id made from it (fetch_page, summarize, …); scripts or prompts that named template steps n1, n2 need updating.

Configuration

Environment variableDefaultMeaning
SOPHON__Workflows__MaxRunDuration24:00:00Longest a run may take (at most 30 days)
SOPHON__Workflows__MaxConcurrentNodesPerRun4Most steps an opted-in run executes at once (1-8)
SOPHON__Workflows__MaxLoopIterations1000Cap on every loop's maxIterations (1-1000)
SOPHON__Workflows__Runs__MaxStoredOutputBytes65536Bytes of a step's output or error kept in a run record
SOPHON__Workflows__Runs__MaxStoredInputBytes65536Bytes of inputs kept in a run record
SOPHON__Workflows__Runs__MaxRunningRunsPerUser8Runs of one owner that execute at once
SOPHON__Workflows__Runs__MaxRunningRunsPerTenant32Runs of one tenant that execute at once
SOPHON__Workflows__Runs__MaxActiveRunsPerUser64Running, queued or waiting runs of one owner before 429
SOPHON__Workflows__Runs__MaxActiveRunsPerTenant256Running, queued or waiting runs of one tenant before 429
SOPHON__Sandbox__ToolPolicies__WorkflowPresethardenedCapability preset for Run skill steps; also set in Settings → Security → Sandbox

The retention keys are under Retention. Every key is read while the Gateway runs; a value outside its range uses the default.

Upgrading from v2.1

Breaking in v2.2.0

Back up the database and the data directory first. The AddWorkflowRuns migration adds two tables at startup and has no down-migration. Runs in progress during the upgrade are marked Interrupted.

  • Discussion steps. Replace every action.discussion step (Replace with LLM Prompt in the builder); workflows that contain one cannot save or run.
  • Branches that meet. A step fed by both branches of an If / Else now runs once; Merge outputs only the inputs that ran; continue follows only error and unconditioned connections; switch values compare trimmed.
  • Condition spelling. Any save normalizes If / Else and Approval conditions (True becomes true, Approved becomes approved), so a branch that never ran because of its spelling starts running after the next save, including the on/off switch. Check such branches first.
  • Loops. Reconnect every Loop: steps to repeat on body, the next step on done. A list longer than maxIterations now fails the loop.
  • Parallel. Workflows with a Parallel step now run branches at the same time. Connect order-sensitive steps, or set settings.maxConcurrency to 1.
  • References. New workflows are strict; new steps must reference steps that exist; step ids must follow the accepted grammar.
  • Triggers. Change file_change, calendar_event and agent_request triggers: they never fire.
  • API calls. A response body over 1 MB fails the step. Raise the step's maxResponseBytes (at most 10 MB) in the workflow JSON; the Dashboard has no field for it.
  • Files and channels. File steps write only under the owner's workflow files folder, and create no longer overwrites. Send message uses only the owner's or a same-tenant Admin's channels. A sub-workflow must have the same owner.
  • Permissions (Pro and Enterprise). Viewers lose workflow create, edit and run; workflows are owner-only for non-Admins; every run executes as the owner. Transfer ownerless workflows; the Gateway logs a warning for each.
  • Builder. Save keeps a workflow switched off, so check workflows you had switched off with an older builder.
  • Custom clients. Listen to WorkflowRunUpdated; WorkflowProgress is deprecated and removed in v2.3.0. See SignalR and the REST API.
  • Scripts. sophon workflows execute now exits 1 when the run fails, and history --format json prints the Gateway's array.

Limits

  • Connections must not form a cycle; the builder and the Gateway refuse cycles.
  • Loops run one iteration at a time and cannot be nested. Sub-workflows nest at most 5 levels.
  • A run is never resumed after a restart; cron fires missed while the Gateway is down are not replayed.
  • The Mobile app has no run viewer or debug tools; its Run waits for the run and gives up after 15 seconds, while the run continues.
  • The Dashboard has no fields for settings.maxConcurrency, a Loop's continueOnIterationError, settings.maxNodeExecutions or an API call's maxResponseBytes; set them in the JSON.
  • Only Run skill steps are checked against the workflow sandbox preset. API call, Execute code and Create / update file steps are not.
  • Re-run always uses the current definition and re-runs a loop whole.

Where to go next