Create and design a workflow
Create a workflow and use the designer: the palette, canvas, inspector and toolbar. Add and connect steps, and reuse details from earlier steps.
You need the Builder role or higher to build workflows.
How do I create a workflow for my agent?
Open Workflows, select Create workflow and enter a name. It starts as a draft with a Trigger step. Open the designer, add steps from the palette, connect them on the canvas and edit each one in the inspector. You need the Builder role or higher. Workflows are in beta.
Create a workflow
- Open Workflows and select Create workflow.
- Enter a Name (up to 120 characters, required: "Name is required"). Add an optional Description (up to 2,000), such as "OTP verify, confirm, then cancel in Shopify". "Starts as a draft with a Trigger node. Open the designer to add steps."
- Select Create ("Workflow created"). Open the new workflow from the list.
From a row's ... menu you can also Duplicate, Disable and Delete a workflow. Deleting "permanently removes the workflow and cannot be undone."
The designer

| Area | What it does |
|---|---|
| Header | Back to Workflows, the name (rename it) and a version bar: Draft — never published, Published — live or Draft ahead of live |
| Toolbar | Undo, Redo, Run history, Hide palette, Build with AI, Test, Publish, and a More actions menu with Settings, Duplicate, Disable and Delete |
| Nodes palette (left) | Search nodes ("Search nodes…") and add steps. Grouped as Recipes, Triggers, Conversation, Logic, Data, Trust, Records and End |
| Canvas (centre) | Your steps and their connections. Zoom, Fit View, and Tidy up to arrange steps top to bottom |
| Inspector (right) | Select a step to edit its name, Disabled switch and the fields for that step type |
Add steps
- Click a step in the palette to add it, or drag it onto the canvas. A step that needs something you have not set up shows "Requires …".
- Hover a step's connection point and select + to add the next step already connected. IF, Decide and Confirm have one point for Yes and one for No.
- If steps pile up the canvas says so; select Tidy up.
Connect steps
Drag from a step's bottom handle (its output) to the top handle of the next step. The rules:
- The first step is a Trigger. A workflow needs at least one. To switch one off use Disabled, not delete.
- A step can only link to a step that accepts input (a Trigger has none), and never to itself.
- You cannot add the same connection twice.
- IF condition, Decide and Confirm have two outputs, Yes and No. Complete and Escalate have none: they end the workflow.
Edit a step
Select a step. In the inspector change its Name and settings. Disabled skips a step without deleting it. Delete node removes it. Undo and Redo step through your changes.
Use details from earlier steps
Whatever you Collect can be used later. In message fields an Insert detail row offers chips such as Email and Last lookup. They insert tokens like {{collected.email}} that are replaced when the workflow runs. Use them in Reply, Complete and Escalate messages and in record fields. A token for a detail that was never collected stays empty or appears as written, so collect it first.
Recipe: Check if in Source
The palette's Check if in Source adds a Query Source step and an IF condition wired to Yes and No. On No, a Not found Reply says "We couldn't find that email on our list…". Pick the lookup capability (for example Find row in Google Sheets) and make sure it is approved in Integrations.
Capability health
A step that uses an integration capability shows a badge when something is wrong: Unavailable or Reconnect needed. Fix the connection in Integrations.
Save
The designer saves a draft as you work ("Draft saved"). Nothing reaches customers until you publish.
Settings for this workflow
More actions → Settings opens this workflow's settings:
- Description: "What does this workflow do?"
- AI agent can start this: "Let your AI agent start this workflow in chat when it decides a visitor needs it. Turn off to keep it for testing only."
Workspace workflow settings
The Settings button on the Workflows list opens limits and safety switches for every workflow in the workspace. Only Owners and Admins can view or change them.
| Setting | Meaning |
|---|---|
| Max concurrent runs | New runs are refused with a friendly message above this. Empty means no workspace cap |
| Max tool calls per minute | A workspace cap on capability calls |
| Max LLM tokens per day | A daily cap on model use by workflows |
| Allow real side effects in tests | Off (recommended): test runs are sandboxed and write actions are simulated. On: "Test runs can change real data"; writes execute against live systems. Confirmation is still required for risky actions |
| Primary model, Approved fallbacks | Which model workflows use; only these are ever used |
| Retention (days) | How long runs, run events, executions, facts, the audit log, traces, verification records and builder sessions are kept. The form shows each default. Runs under a legal hold are never deleted |
Workflows
Workflows run multi-step processes in chat in the order you design: collect details, verify the customer, look things up, update records and hand off.
Conversation and logic steps
Reference for the Trigger, Collect, Reply, Validate, IF condition and Decide steps: what each does, its settings and outputs.