Workspaces, pipelines and triggers
Reusable pipelines of agents, actions and scripts, run by schedules, webhooks, watches, forms and record changes.
A workspace is standing work: a pipeline that runs again and again, with its own connections, safety policy, daily budget, knowledge and chat.
Pipeline stages
| Stage | Does | Model call? |
|---|---|---|
| Agent | A role with instructions and tools, autonomous within its step | yes |
| Action | One call (or one per item) of a connection's tool, with arguments built from the run's data ({{ input.email }}, {{ stages.lookup.rows }}, {{ vars.team }}) | no |
| Script | Python or JavaScript turning data into data, in a sandbox with no network | no |
Use an agent only where a step needs judgement or language: calculations are scripts and fixed calls are actions, which take milliseconds and cost nothing. Bulk work is load → compute → save.
- For each: an action can call its tool once per item of a list, up to 2,000, eight at a time when the tool is safe to repeat.
- Run only if: a stage can have a condition (
input.record.amount > 500); a branch not taken is skipped, not failed. - Rate limits: calls to a service are paced to its limit, and "too many requests" is waited out.
- Retry runs a failed run again from where it stopped; finished stages keep their outputs.
Edit the pipeline in plain language ("add a fact checker in parallel with Research") or on the canvas. Every change is a new version you can restore. On the canvas, give stages colors to group them (a swatch saves at once), and write scripts in a code editor with highlighting and auto-indent that expands to the whole window.
Triggers start runs:
- Schedule: every N minutes or a cron expression.
- Webhook: a secret URL; the payload is the run's input.
- Watch: a compiled check. The runtime calls a read-only tool on a schedule and evaluates a rule in code. The model runs only when something new matches, so routine checks cost zero tokens.
- Form: a page members fill in.
- Record: a record of a solution was created, updated or deleted (see Solutions).
Start from Templates (incident response, support triage, PR review, research reports and more), or save a workspace as your organization's own template.