Skip to main content
A Flow is the set of steps an agent works through when a task starts. You build it on the agent’s Flow page, and every change saves to a draft the agent runs only once you publish it.
An agent's Flow page with the version button reading Active and the Test mode switch in the header, Execute flow above the Trigger, a five-step Flow on the canvas, and the canvas toolbar at the bottom

Agent → Flow

What a Flow is

The Flow page

Steps and paths

Every Flow starts at the Trigger and runs down the arrows. Steps come in four categories: AI, Integration, Utilities, and Controls such as Condition, which shape the path a task takes.

What a step card shows

An amber border means a step is not finished. A warning triangle means an integration it needs is not connected.
Two step cards on the canvas, Find Emails with the Gmail icon and List Channels with the Slack icon, each with its name, note line and three-dot menu

Agent → Flow

Drafts and versions

A step saves the moment you add it, finished or not. Publish stays greyed out until every step and branch is finished, and each publish adds a version.

How to use Flows

Without the Create & edit capability the Flow opens read-only. See Roles and Permissions.

Add a step

1

Open Add step

Select the + at the end of a path, or on the line between two steps.
2

Pick the step

Choose a category, then a step. On AI, describe the step and select Create with AI.
Add step window on the AI tab, with the AI, Integration, Controls, and Utilities categories, the What should this step do field, prompt chips, and Add blank step

Agent → Flow → Add step

Branch the Flow with a Condition

1

Add the Condition

In Add step, select Controls, then Condition.
2

Choose how it decides

Set Condition Type to LLM-based or Rule-based.
3

Define each branch

Select each Add condition label and set when a task takes that branch.

Configure a step

1

Open the step

Select the step on the canvas to open its sidebar.
2

Fill in the tabs

Set the connection, variables and, on an AI step, Prompt on Parameters. Consent required is on Settings.
3

Test the step

Select Configure & test to run the step on sample input.
The sidebar of an AI step with the Parameters, Settings, and Evaluation tabs, the Model section open, and Configure and test at the bottom

Agent → Flow → Step → Parameters

Choose a step’s model

1

Open the model picker

On Parameters, open Model and select the LLM* field. Models are grouped by provider.
2

Pick a model and its effort

Hover a provider, pick a model from its submenu, and set Effort in the same submenu.
The LLM picker open on an AI step, with one submenu of models expanded and the Effort options below the models

Agent → Flow → step → Parameters → Model → LLM

3

Add fallbacks

Under Fallback models, a Pro feature, pick models to try if the first fails.

Change a step’s icon

1

Upload your own

Select the icon at the top of a step’s sidebar, then Upload, and choose an image up to 10 MB.
2

Go back to the default

Open the same menu and select Remove.

Write a note on a step

1

Select the note line

Select Add a note to identify this step… under the step’s name.
2

Type and save

Type the note and press Enter to save.

Reconnect a step

1

Grab the arrowhead

Hover the arrow and drag it by its arrowhead.
2

Drop it on the new step

Release it over the new step. A branch keeps its condition.

Replace or delete a step

1

Open the step menu

Open the three-dot menu on the step card or at the top of its sidebar.
2

Replace or delete

Select Replace or Delete.
Replacing a Condition removes its branches. Their steps stay on the canvas, unconnected.

Find a step

1

Search

Select the magnifier in the canvas toolbar and type part of a step’s name into Find a step….
2

Move through the results

Use the arrow keys. The canvas moves to each step and highlights it.
3

Go to a step

Press Enter to stay there, or Escape to go back.
The Find a step field open in the canvas toolbar with a list of matching steps above it, and the matching step highlighted on the canvas

Agent → Flow → Find a step…

Configure the trigger

1

Add a trigger

Select the Trigger step, then Add trigger, and pick one under Built-in or Integrations.
The Add trigger window with the Built-in triggers and the Integrations list

Agent → Flow → Trigger → Add trigger

2

Fill it in and turn it on

Complete its settings, check them with Configure & test, and turn on its switch.
Each trigger type is covered in Triggers.

Test and publish

1

Clear the warnings

Finish every step and branch with an amber border, including the Trigger.
2

Turn on Test mode

Turn on Test mode, set the test Trigger and Connections, and select Start testing.
The Set up test mode window with Max test runs, Trigger, Connections, and the Start testing button

Agent → Flow → Test mode

3

Check the runs

Select View test runs in the header to see the results.
4

Publish

Select Publish in the This flow has not yet been published banner.
The This flow has not yet been published banner with Publish greyed out, and below it a blank AI Step with its tooltip listing the missing input variable, prompt and output variable

Agent → Flow

Restore an earlier version

1

Open Version history

Select the version button in the header. Current draft appears above Previous versions only when you have unpublished changes.
The Version history menu open under the version button, listing the current version and the previous versions

Agent → Flow → Version history

2

Open the version

Select a version under Previous versions to view it read-only.
3

Restore it

Select Restore as draft.

Troubleshooting

Hover Publish to read why. Usually a step, a Condition branch or the Trigger is unfinished.
Test mode needs a trigger, so configure one first. A tooltip about credits means the workspace has none left.
The integration it needs has no connected account. On an Integration step, select the triangle to connect one.

Next steps

Variable Fill

Choose how each input variable gets its value.

Test Mode

Try a Flow against test connections before you publish.