Flow.Documentation
Professional

An AI Colleague that uses workflows

6 steps± 4 minVideoVerified 22 Oct 2026
  1. Step 1 · Open your development environment
  2. Step 2 · Create an agent
  3. Step 3 · Give the agent a brain
  4. Step 4 · Give the agent a workflow as a tool
  5. Step 5 · Try the agent
  6. Step 6 · Publish the agent

An AI Colleague can start a workflow itself when it needs one, for example to look up the stock. You choose which workflows it may use, whether they only read or change something, and how often per run. You try it out and see exactly which tool it called, before you publish it.

Watch the whole guide as a video6 steps in one film
Step 1 / 6

Open your development environment

In the portal, under Environments, click Development, and there Open. Flow opens in a new tab and you are signed in straight away.

  1. Click Development
Open your development environment · Click Development
  1. Click Open ↗
Open your development environment · Click Open ↗
Step 2 / 6

Create an agent

Click + next to General and choose New agent. You see the agent as a box: input, guard, brain, check and outcome. Everything it does happens within the budget and guard rails you set here.

  1. Click Add to General
Create an agent · Click Add to General
  1. Click New agent
Create an agent · Click New agent
  1. Click Settings
Create an agent · Click Settings
  1. In Name, type Stock helper
Create an agent · In Name, type Stock helper
Step 3 / 6

Give the agent a brain

Under Execution choose an AI model and write in the instructions what the agent must do, and what never. Without a model an agent works with fixed rules and cannot use tools.

  1. In Execution Rules (no AI model) · region LOCAL Echo (test, no model) · region LOCA, choose Scripted AI (test street) · region UNKNOWN
  2. In Instructions, type Answer questions about the stock. Always look up the number with the workflow Look up stock; never guess.
Give the agent a brain · In Execution Rules (no AI model) · region LOCAL Echo (test, no model) · region LOCA, choose Scripted AI (test street) · region UNKNOWN; In Instructions, type Answer questions about the stock. Always look up the number with the workflow Look up stock; never guess.
Step 4 / 6

Give the agent a workflow as a tool

Under Workflows you tick which workflows the agent may start itself, and say when it uses them. Flow sees for itself that this workflow only looks things up and sets it to Reads; if that is wrong, click it to switch. As long as the agent may not change data, it is only offered tools that read.

  1. Click Look up stock
Give the agent a workflow as a tool · Click Look up stock
  1. In When to use it?, type Looks up how many of a product are in stock.
Give the agent a workflow as a tool · In When to use it?, type Looks up how many of a product are in stock.
  1. Click Save
Give the agent a workflow as a tool · Click Save
Give the agent a workflow as a tool · The workflow is on, as a reading tool.
Step 5 / 6

Try the agent

Under Try you give sample input and click Try. Under What happened you see every step in the box: the guard rails, every model call and every tool the agent used, with what it got back.

  1. Click Try
Try the agent · Click Try
  1. In Input, type {"question": "How many racing bikes do we have?"}
Try the agent · In Input, type {"question": "How many racing bikes do we have?"}
  1. Click ▶ Try
Try the agent · Click ▶ Try
Try the agent · The agent started the workflow Look up stock as a tool.
Step 6 / 6

Publish the agent

After a passing test you can publish. Workflows and the chat use the published version; what you change after that stays a draft until you publish again.

  1. Click Publish
Publish the agent · Click Publish
Publish the agent · Version 1 is available.

This guide was carried out step by step on 22 Oct 2026 by an automated test on Flow (version 3e563176).