Skip to content

Steps & Gates

Every workflow is built from two building blocks: steps (the work that gets done) and gates (the checkpoints that control flow). This guide covers all available step types, gate configurations, and how steps connect to each other through transitions.

Each step in a workflow has a type that determines its behaviour. Choose the type that matches what you need the step to do.

Action steps are the most common type. An assigned agent performs a task based on the instructions you provide.

When to use: Any time you need an agent to do something — send an email, look up data, draft a document, update a record.

Configuration:

  • Agent — Select which agent handles this step
  • Instructions — Tell the agent exactly what to do. Be specific and include any context the agent needs.
  • Gate — Choose what happens after the step completes (auto, review, or approval)

Example: “Using the Gmail integration, send a welcome email to the new employee. Include the start date and office address from the workflow input.”

Gates sit between steps and control the transition from one step to the next. Every step has a gate that determines what happens after it completes.

Auto gates let the workflow continue immediately. No human interaction is needed.

When to use: For steps where you trust the agent’s output and do not need anyone to check it before moving on. Most internal data-gathering and notification steps use auto gates.

Behaviour: As soon as the step completes successfully, the workflow automatically advances to the next step.

Transitions connect steps together and define the order of execution. By default, steps run in sequence from top to bottom. Each transition carries data from the previous step to the next, so agents downstream can reference earlier results.

When you create a workflow, transitions are added automatically as you add steps. You can rearrange steps by dragging them in the workflow editor, which updates the transitions accordingly.

For condition steps, you define two transitions — one for the “true” path and one for the “false” path. For fork steps, you define one transition per branch. Join steps automatically pull in all incoming transitions and wait for them to complete.

  • Keep steps focused — Each step should do one thing well. Instead of one giant step that does everything, break it into smaller, targeted steps. This makes workflows easier to debug and reuse.
  • Use gates strategically — Auto gates keep things fast. Add review and approval gates only where the cost of an error justifies the delay.
  • Name steps clearly — Use descriptive names like “Look up customer order” instead of “Step 1”. Clear names make the execution view much easier to follow.
  • Provide detailed instructions — The more specific your step instructions, the better your agent performs. Include what data to use, what format to output, and what to do if something goes wrong.