Triggers
A trigger is the entry node that starts a Run. Test stays disabled until the workflow has one. A workflow can have several triggers, and each starts runs on its own.
| Trigger | Starts a run when |
|---|---|
| Manual start | Someone runs the workflow, or a Task route, Run workflow step, MCP client or App starts it |
| Schedule | A cron time comes due |
| Workflow finished | A run of another workflow ends |
| Incoming webhook | An HTTP request reaches its URL |
| Record created, Record updated | A Task, Project or Record is created or changes |
| Run from a record | Someone clicks Run now on a record |
| Chat message received | A bound Agent is mentioned in a chat, shared chat or DM |
| Incoming call | A call begins where an Agent is bound |
| Camera on a device | Someone starts a session from the editor or MCP |
| New email | A Gmail message matches its filters |
Live and Paused
Production has 2 separate controls:
- Publish freezes the Draft as a Release and makes it the Current release. Production never falls back to a Draft.
- The status beside the workflow's name starts and pauses it. Paused refuses new production entries and leaves the Current release as it is. The first Publish stays Paused until you start the workflow.
While a workflow is Paused, schedules don't fire, webhook requests get a 403, and record events pass it by. Test still runs the Draft. Runs already admitted continue with the Release and settings they started with.
Publishing, or making another Release current, updates the production triggers. With no Current release, every production entry is refused. Archiving a workflow stops new production entries and keeps its Draft, Releases and run history, and restoring it returns it to Live or Paused as it was.
Disabling a trigger node stops it from registering or starting production runs. It stays in the Draft and in Release history.
Manual start
Starts the workflow on demand. Test runs the Draft. In production, publish, make the workflow Live, and click Run in the workflow's header, or the Run workflow now play icon in the Workflows list.
Outputs include the input the run started with (output), the trigger time, who started it, and a context object with timestamp, user, workspace and workflow details. triggered_by.tenant_id and context.user.tenant_id name the workspace the run executes in. These fields describe the run and grant nothing.
Workflow inputs
Under Workflow inputs in the node's settings, declare the values a run starts with. Each input has a name, a type (string, number, integer, boolean, object, a list or a saved shape) and optionally a label, a description, a default, a list of allowed values and Required. Each input becomes its own port, so the next step can wire to customer_id directly. A name can't be one Manual start already uses for a port (output, triggered_at, triggered_by, tenant, workflow, context, agent, run) or config.
Whoever starts the run sends the inputs as one object, such as {"customer_id": "acme", "dry_run": true}: the Test input in the editor, input_data for MCP workflow_run start, the input a Run workflow step passes, or the input of an App's run tool. The input is checked before the run exists:
- A missing input takes its default. A required input with no default must be sent.
- Each value must match its type and, if set, one of its allowed values.
- A key no input declares is refused when the person or step starting the run chooses the keys: Run workflow now, Test, MCP, Run workflow and App tools. Inputs Rollout builds itself keep their extra keys: a Repeat workflow step's
stateanditeration, a stream dispatch event, a retry or a re-run.
A refused start names every field that failed, such as 'customer_id' is required; 'region' is not a declared input, and no run is created. A Run workflow or Repeat workflow step fails with those fields in its error. The input shown on the run is the checked input with defaults filled in.
Run workflow now asks for the declared inputs in a form, and Test with inputs… shows the same form in the editor. See Start a run with inputs. A Manual start with no declared inputs starts on the click and accepts any object.
Dragging a field from one of Manual start's ports onto another step's input, such as tenant.id, adds an extracted value. Extracted values sit collapsed under Extracted values and are read from that port. They aren't inputs, so a Manual start with only extracted values still accepts any object.
A Task assigned to an Agent starts the workflow with the Task's own details instead of these inputs. A Task route can only use a Manual start whose required inputs all have defaults. Binding one with a required input and no default is refused and names the input. See Task workflows.
Schedule
Starts the workflow on a recurring cron schedule.
- Cron: 5 fields for minute, hour, day of month, month and day of week.
0 9 * * 1-5runs at 9:00 on weekdays,0 0 1 * *at midnight on the 1st of each month,*/30 * * * *every 30 minutes. - Timezone: the IANA timezone the schedule runs in. UTC when blank.
- Description: an optional note, echoed on the node's
scheduleoutput.
Schedules are checked once per minute, and a trigger never fires twice in the same minute. An invalid cron expression can stay in your autosaved Draft, but Publish rejects it.
When a run is still going
When a schedule fires during a run in Settings › Advanced decides what a due tick does while a production run of this workflow is unfinished. Test runs never count.
| Option | What a due tick does |
|---|---|
| Start another run (default) | Starts a run, even while earlier runs are going |
| Skip the tick | Drops the tick |
| Queue one run | Waits and starts once the workflow is idle. Later ticks merge into it, so at most one run waits per schedule |
At Max active runs, Start another run queues the tick like any other start, Skip the tick drops it, and Queue one run holds it.
Workflow finished
Starts a workflow when a selected upstream workflow's run ends. Use it to model a dependency directly instead of spacing workflows out with cron minutes.
- Workflows: one or more upstream workflows to watch.
- Statuses:
completed,failedorcancelled. Defaults tocompleted. - Outcomes: an optional finer filter:
ok,with_warnings,with_errors,no_op,failedorcancelled. Empty accepts any. - Debounce (ms): ignores further finishes for this long after one starts a run. The default of 0 starts one run per upstream run.
- Loop limit: how many times this workflow may run in one chain of runs that start each other, counting the first. Defaults to 3, from 1 to 50. Raise it for a loop you build on purpose, such as a fix-and-review cycle.
The node emits the upstream run and its final results, plus the usual tenant, workflow and agent entry metadata. An upstream run starts at most one run of this trigger, however often its delivery is retried.
Only production runs emit finish events, so a Test run never cascades. The workflow's Runs as identity must be able to read the upstream run, or no run starts. Publish rejects a workflow that points at itself.
Longer cycles stop at the loop limit. When this workflow already appears that many times in the chain, the finish doesn't start it, and the finished run shows a notice naming the workflow, its trigger, how many times it ran and the limit. A limit you change applies after you Publish, and raising it doesn't restart finishes it already stopped.
Incoming webhook
Starts the workflow when an HTTP request reaches the trigger's URL, which contains an unguessable token:
POST https://<your-workspace-host>/webhook/<token>
Requests to /api/hooks/<token> reach the same endpoint. Copy the URL from Settings › Triggers. Rotate there issues a new one, and the old URL stops working at once. Only people who can edit the workflow see it.
| Status | Meaning |
|---|---|
200 |
Accepted. The JSON body carries run_id, entry_dedup_key and a status of enqueued, or deduped when the delivery is a repeat |
403 |
The workflow is Paused or unpublished, the trigger is disabled, or the signature or timestamp failed |
404 |
Unknown token |
413 |
The body is over 256 KB |
422 |
The run couldn't be scheduled |
429 |
Over 100 requests per minute for this webhook, or 300 for all the workspace's webhooks together. The Retry-After header says how many seconds to wait |
GET and HEAD requests to a known URL return 200, so providers that validate a URL before delivering events can finish their handshake.
Request data
The node passes on the method, path, query parameters and parsed body. Headers and Raw body are off by default. Turn them on only when a later node needs them. Sensitive headers (authorization, cookies, API keys, signatures) are always redacted.
Signature verification
Pick a workspace secret in Signing secret to refuse requests without a valid signature. The workflow stores only the reference, and plaintext values are rejected.
- Signature header: where the signature arrives. Defaults to
X-Signature, and prefixes likesha256=are accepted. - Algorithm:
sha1,sha256(default) orsha512, computed over the raw body. - Timestamp header: optional. When set, the header must carry an ISO 8601 timestamp within Tolerance (seconds) (default 300, at most 86,400), and the signature must cover
timestamp + "." + raw body. Leave it blank for providers that don't send one.
See Security for how stored secrets are protected.
Deduplication and event identity
Redelivered events don't start duplicate runs. A signed request deduplicates on exactly what was signed, so changing an unsigned header can't replay the same event. For an unsigned request the delivery key comes from, in order: the Delivery key header you set, a known provider delivery header (GitHub, GitLab, Atlassian and similar), or a hash of the body.
Provider and Event type header shape the event and event_type outputs, with a source event type such as webhook.github.push. That helps when one endpoint receives several event types.
Record created and Record updated
Start the workflow when a record changes. Type picks Task, Project or Custom Record, and the rest narrows it. See Objects and records.
- Object: for Custom Record, which Object fires the trigger.
- Project and Task type: for Task, blank for any.
- New status: Record updated, Task only. Fires when the Task's status matches a slug such as
in-progress. - Any update: Record updated only. Turn it off alongside New status to ignore other edits. The trigger then fires only when
task_status_idis among the changed fields and the new status matches.
Condition takes a brace-free expression that's checked before a run starts. Its scope holds record, changed_fields, previous_data and event_type:
record.data.importance >= 5 && contains(changed_fields, "importance")
Task and Project events carry Shared fields in record.shared_fields, on creates and on updates. For a Shared field on a Task, leave Any update on and New status blank. This starts a run only when the phase changes to deploy:
contains(changed_fields, "shared_fields.delivery__phase") && record.shared_fields.delivery__phase == "deploy"
Task updates carry current values in record.shared_fields and prior values in record.previous_shared_fields, so you can also check where the phase came from:
record.previous_shared_fields.delivery__phase == "build" && record.shared_fields.delivery__phase == "deploy"
Use the composed field key (<group>__<field>). A write to Shared fields alone that repeats the same value emits no update, so a workflow's own repeated write doesn't start another run. Updates to other fields still emit events, and the contains check excludes them.
Both maps hold only known, enabled fields bound to the Task's Project or workspace, and a Project event's map holds only fields enabled for Projects. Sensitive fields are left out entirely, including their changed-field names. On a Project move, a prior value must also have a known, non-sensitive source definition or that key is left out of both maps. A binding change alone doesn't count as a value change.
An empty condition always passes. An invalid expression is rejected on save. A condition that fails during evaluation skips the event instead of starting an unguarded run. Conditions run only after the workflow's Runs as identity is allowed to read the record.
Record created emits the created record. Record updated emits the updated record and an event with its id, title, project, current and previous status, previous_data and changed_fields. Both also expose run, tenant, workflow and agent.
Run from a record
Runs the workflow on demand from a record's page. Type picks Task, Project, Team, Objective or Custom Record, and optional Object, Project, Task type or Team settings control where it's offered.
Matching workflows appear under Available Workflows in the record's sidebar. Run now starts the Current release with that record and the person who clicked. Only Live workflows whose Current release has a matching trigger are offered.
Chat message received and Incoming call
Entry nodes for conversational Agents. Neither has node settings. Both use bindings, which connect an Agent to a source: a chat, a shared chat or a DM, or for chat messages a Telegram Connection. The inspector shows a count and links to the place you edit them.
Bindings attach to the Current release, so publish first. Then open Settings › Triggers, click Add binding, and pick the Agent and the source. Enabled switches one binding on or off. A binding admits work only when it's enabled, its trigger is in the Current release and not disabled, and the workflow is Live. Add binding offers shared chats (listed as Channels), DMs and Telegram Connections. To bind a chat, or to set a shared chat or DM to Feed (every message), use Connect an agent in the conversation. Manage Agents under Automation › Agents. See Agents.
Chat message received starts a run when a person mentions the bound Agent in its chat, shared chat or DM. A shared chat or DM binding set to Feed (every message) starts one on every message a person sends instead. Mention token (optional) overrides the @handle people mention, which defaults to the Agent's handle. Message conditions narrow it further, and all of the ones you set must match:
- Body contains: text, case-insensitive.
- Message type and Source kind.
- Require at least one attachment, Attachment kind and Attachment MIME type, such as
audio/*. - Advanced expression: a condition over
message, which holdsbody_text,message_type,source_kind,has_attachments,attachmentsandmetadata.metadatacarries onlyevent_type,external_message_type,origin,providerandsubtype.
The node emits body, the full message, author, attachments, a session_id that names the chat, shared chat or DM the message came from, and a dispatch envelope to wire into Reply in chat.
A Telegram binding doesn't start this trigger. Telegram updates arrive on an Incoming webhook, so wire its request into Read incoming message. That node checks the webhook secret, reads the message and fills its agent output from the binding, in the same workflow. agent stays empty when no Agent, or more than one, is bound to the Connection. The binding sits on a Chat message received node, so the workflow needs one in its Current release. To answer, wire chat_id into Telegram's Send message.
Incoming call starts a run when a call begins in the bound chat, shared chat or DM. The node streams the participant's live audio into the flow (wire audio into Speech to text) and emits the call's details. The run is a live session. See Session runs.
Camera on a device
Streams a Device's camera into a live session as JPEG frames. Start it with Test in the editor, or with MCP workflow_run start and its entry_node_id once the workflow is Live. Run doesn't offer it. Settings › Triggers lists it as Device camera.
The session runs until someone stops it, the person at the Device stops it, it reaches Stop after (minutes), the Device disconnects, or, in production, a new Current release stops it. A slow step sees the newest frames instead of falling behind. A capture that can't start (no Device online, approval declined, no camera) fails with the reason and doesn't restart.
| Setting | Default | Range or values |
|---|---|---|
| Camera device | Default | Default, any available Device that reaches the workflow, or a specific one |
| Camera | System default | The Device's own id for one of its cameras |
| Frames per second | 2 | 1 to 10 |
| Largest width (pixels) | 1280 | 160 to 1920 |
| JPEG quality | 70 | 30 to 95 |
| Stop after (minutes) | 240 | 1 to 720 |
| Keep snapshots | On events | Off, On events, At an interval |
| Snapshot interval (seconds) | 10 | 1 to 3,600, for At an interval |
| Snapshot retention (days) | 7 | 1 to 30 |
| Approval | Ask on the device every time | Ask on the device every time, or Never ask (dangerous) |
The Device must allow the camera capability. Snapshots can contain people and private information. See Rollout Desktop.
New email
Checks a Gmail inbox on an interval and starts a run for each new message that passes its filters. It's Gmail only and needs a Google Connection.
- Check every (ms): defaults to 60,000.
- From, Read, Received after, Received before, Gmail query and With labels filter the messages.
- Include the HTML body, Include the text body and Include attachments are on by default. Attachments arrive as references, not bytes.
Run once polls right away, and Refresh status re-checks the Connection.