Flow.Documentation
Professional

An AI Colleague with knowledge and tools

19 steps± 13 minVideoVerified 22 Oct 2026
  1. Step 1 · Open your development environment
  2. Step 2 · Switch the chat on
  3. Step 3 · Create a knowledge base
  4. Step 4 · Add the course material
  5. Step 5 · Create the table of students
  6. Step 6 · Name the table and import
  7. Step 7 · Workflow 1: look up a student
  8. Step 8 · Look up the row in the table
  9. Step 9 · Workflow 2: add a student
  10. Step 10 · Create the AI Colleague
  11. Step 11 · Give it a brain and instructions
  12. Step 12 · Give it knowledge and tools
  13. Step 13 · Try it with a course question
  14. Step 14 · Try a change: it is simulated
  15. Step 15 · Publish
  16. Step 16 · Ask a question about the course
  17. Step 17 · Have it look up a student
  18. Step 18 · Have it enrol a student
  19. Step 19 · Look in the table

An AI Colleague is only really a colleague when it knows what you know and can do things for you. Knowing comes from a knowledge base: Flow cuts your documents into pieces and, for every question, looks up the pieces that are about it. It hands those to the AI model, so the answer comes from your own text, with the source alongside. That is called RAG: look it up first, then answer. Doing comes from workflows the AI Colleague may start as tools. You build a course guide for a Flow course: it answers questions from the course material, looks up a student and enrols a new one. You try it, publish it and talk to it in the chat.

Watch the whole guide as a video19 steps in one film
Step 1 / 19

Open your development environment

In the portal, under Environments, click Development, and there Open. Flow opens in a new tab. You build everything here first, in development; colleagues only notice once you publish.

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

Switch the chat on

The chat is where colleagues talk to your AI Colleagues. It is off in every environment until an administrator switches it on: open Administration in the bar on the left, choose Chat with AI Colleagues and switch it on. Below it you decide which data the chat may reach.

  1. Click Administration
Switch the chat on · Click Administration
  1. Click Chat with AI Colleagues
Switch the chat on · Click Chat with AI Colleagues
  1. Click the switch
Switch the chat on · Click the switch
Switch the chat on · The chat is on.
  1. Click Explorer
Switch the chat on · Click Explorer
Step 3 / 19

Create a knowledge base

A knowledge base is what the AI Colleague knows. Click + next to General and choose New knowledge base. Under Settings you give it a name and a description; the AI Colleague reads that description to decide when to search it. Under Embedder you choose what Flow turns text into vectors with: an embedding model searches by meaning, Built in works without internet and finds shared words and parts of words; Flow already picks the best one your environment has. Under Cutting into chunks you choose By heading: every chapter of the course material becomes one piece, so a search finds exactly the right chapter.

  1. Click Add to General
Create a knowledge base · Click Add to General
  1. Click New knowledge base
Create a knowledge base · Click New knowledge base
  1. Click Settings
Create a knowledge base · Click Settings
  1. In Name, type Flow course
  2. In Description, type The material of the Flow course: the modules, the assignments and the certificate.
Create a knowledge base · In Name, type Flow course; In Description, type The material of the Flow course: the modules, the assignments and the certificate.
  1. Click By heading
Create a knowledge base · Click By heading
  1. Click Save
Create a knowledge base · Click Save
Create a knowledge base · The notice Knowledge base saved.
Step 4 / 19

Add the course material

Under Documents, click Add document, choose File and the course material (Markdown; Word, PDF and Excel work too). Flow cuts it into pieces, by heading, and turns every piece into a vector: a series of numbers that captures its meaning. That way a question finds the right piece even when it uses other words than the text. Next to the document you see how many pieces it became.

  1. Click Documents
Add the course material · Click Documents
  1. Click Add document
Add the course material · Click Add document
  1. Click File
Add the course material · Click File
  1. Click the box for your file
Add the course material · Click the box for your file
  1. Click Add
Add the course material · Click Add
Add the course material · Status Ready: every piece has a vector.
Step 5 / 19

Create the table of students

What an AI Colleague looks up or changes lives in an ordinary Flow table. You already have the students in a list: click + next to General, choose Table from a file and choose the file. Flow recognises the columns name, module and status.

  1. Click Add to General
Create the table of students · Click Add to General
  1. Click Table from a file (CSV/Excel)
Create the table of students · Click Table from a file (CSV/Excel)
  1. Click the box for your file
Create the table of students · Click the box for your file
Create the table of students · 6 students and 3 columns found.
Step 6 / 19

Name the table and import

Call the table Students. Module and status have only a few different values; Flow turns them into a fixed list, so no typos get in later, not even when the AI Colleague adds a student. Click through to Import.

  1. Click Next
Name the table and import · Click Next
  1. In Table name, type Students
Name the table and import · In Table name, type Students
Name the table and import · Status gets the fixed values from your file.
  1. Click Next
Name the table and import · Click Next
  1. Click Next
Name the table and import · Click Next
  1. Click Import
Name the table and import · Click Import
Name the table and import · ✓ 6 rows imported.
  1. Click Open table
Name the table and import · Click Open table
Step 7 / 19

Workflow 1: look up a student

An AI Colleague never just touches your data: it may only start the workflows you give it, and those do exactly what you built. Create a new workflow Look up student. In the trigger's sample data you put what it receives: a name. Those fields become the input the AI Colleague fills in later.

  1. Click Add to General
Workflow 1: look up a student · Click Add to General
  1. Click New workflow
Workflow 1: look up a student · Click New workflow
  1. In Workflow name, type Look up student
Workflow 1: look up a student · In Workflow name, type Look up student
  1. Click the trigger
Workflow 1: look up a student · Click the trigger
  1. Click Code
Workflow 1: look up a student · Click Code
  1. In Sample data, type `{
Workflow 1: look up a student · In Sample data, type `{; ;
Step 8 / 19

Look up the row in the table

Add the Table step and choose Students; What does this step do is already set to Look up rows. With + Condition you say which rows: where the name equals {{name}}, the name from the trigger. Connect the trigger to the step, save and run: at the bottom you find the student from the example.

  1. Click Add node
Look up the row in the table · Click Add node
  1. Click Table
Look up the row in the table · Click Table
  1. In Table, choose Students · 6
Look up the row in the table · In Table, choose Students · 6
  1. Click + Condition
Look up the row in the table · Click + Condition
  1. In value, type {{name}}
Look up the row in the table · In value, type {{name}}
  1. Click the dot of ‘Event trigger’
Look up the row in the table · Click the dot of ‘Event trigger’
  1. Click the dot of ‘Students’
Look up the row in the table · Click the dot of ‘Students’
  1. Click Save
Look up the row in the table · Click Save
  1. Click Run
Look up the row in the table · Click Run
Look up the row in the table · 1 row found: only the student with that name.
Step 9 / 19

Workflow 2: add a student

The second workflow, Add student, also receives a name. Its Table step does Add one row: the name from the trigger, Module 1 and the status enrolled. That way you decide how a new student gets in, not the AI. Save it; there is no need to run it, the AI Colleague will do that.

  1. Click Add to General
Workflow 2: add a student · Click Add to General
  1. Click New workflow
Workflow 2: add a student · Click New workflow
  1. In Workflow name, type Add student
Workflow 2: add a student · In Workflow name, type Add student
  1. Click the trigger
Workflow 2: add a student · Click the trigger
  1. Click Code
Workflow 2: add a student · Click Code
  1. In Sample data, type `{
Workflow 2: add a student · In Sample data, type `{; ;
  1. Click Add node
Workflow 2: add a student · Click Add node
  1. Click Table
Workflow 2: add a student · Click Table
  1. In Table, choose Students · 6
  2. In What does this step do? Look up rows Get one row (by id) Add one row Add rows fr, choose Add one row
  3. In name * text, type {{name}}
  4. In module * text, type Module 1
  5. In status * text, type enrolled
Workflow 2: add a student · In Table, choose Students · 6; In What does this step do? Look up rows Get one row (by id) Add one row Add rows fr, choose Add one row; In name * text, type {{name}}; In module * text, type Module 1; In status * text, type enrolled
  1. Click the dot of ‘Event trigger’
Workflow 2: add a student · Click the dot of ‘Event trigger’
  1. Click the dot of ‘Students’
Workflow 2: add a student · Click the dot of ‘Students’
  1. Click Save
Workflow 2: add a student · Click Save
Workflow 2: add a student · Both workflows are in the explorer.
Step 10 / 19

Create the AI Colleague

Click + next to General and choose New agent. Under Settings you give it a name, switch on Available in the chat and write a greeting: that is the first thing a student sees.

  1. Click Add to General
Create the AI Colleague · Click Add to General
  1. Click New agent
Create the AI Colleague · Click New agent
  1. Click Settings
Create the AI Colleague · Click Settings
  1. In Name, type Course guide
Create the AI Colleague · In Name, type Course guide
  1. Click Available in the chat
Create the AI Colleague · Click Available in the chat
  1. In Greeting, type Hi! I guide you through the Flow course. Ask me about the course, or have me look up or enrol a student.
Create the AI Colleague · In Greeting, type Hi! I guide you through the Flow course. Ask me about the course, or have me look up or enrol a student.
Step 11 / 19

Give it a brain and instructions

Under Brain you choose the AI model. A model that is not set up is greyed out; ask your administrator. The goal and the instructions say what it does, and what never: that keeps it on the course and stops it making things up.

  1. In Execution Rules (no AI model) · region LOCAL Echo (test, no model) · region LOCA, choose Scripted AI (test street) · region UNKNOWN
  2. In Goal, type Guide students through the Flow course
  3. In Instructions, type You guide students through the Flow course. Answer questions about the course only with what is in the knowledge base Flow course and always name the source. Look up a student with the workflow Look up student and enrol a new student with Add student. Never make up details of students.
Give it a brain and instructions · In Execution Rules (no AI model) · region LOCAL Echo (test, no model) · region LOCA, choose Scripted AI (test street) · region UNKNOWN; In Goal, type Guide students through the Flow course; In Instructions, type You guide students through the Flow course. Answer questions about the course only with what is in the knowledge base Flow course and always name the source. Look up a student with the workflow Look up student and enrol a new student with Add student. Never make up details of students.
Step 12 / 19

Give it knowledge and tools

Click the knowledge base: that is where it searches, and it names the source with every answer. Tick both workflows and say under When to use it? what they are for. Flow sees for itself that Look up student only reads and Add student changes something. An AI Colleague may only change things once you switch on May change data under Guard; until then it is not even offered that workflow.

  1. Click the knowledge base
Give it knowledge and tools · Click the knowledge base
  1. Click Look up student
Give it knowledge and tools · Click Look up student
  1. In When to use it?, type Finds a student by name: their module and progress.
Give it knowledge and tools · In When to use it?, type Finds a student by name: their module and progress.
  1. Click Add student
Give it knowledge and tools · Click Add student
  1. In When to use it?, type Enrols a new student on the course.
Give it knowledge and tools · In When to use it?, type Enrols a new student on the course.
  1. Click May change data
Give it knowledge and tools · Click May change data
  1. Click Save
Give it knowledge and tools · Click Save
Give it knowledge and tools · Look up student: Reads.
Give it knowledge and tools · Add student: Changes.
Give it knowledge and tools · At the top, in plain language: it searches 1 knowledge base and cites the sources.
Step 13 / 19

Try it with a course question

Under Try you give a question and click ▶ Try. Under What happened you see that it searched the knowledge base first and only then answered: that is RAG in a nutshell.

  1. Click Try
Try it with a course question · Click Try
  1. In the question, type {"question": "When do I get the certificate?"}
Try it with a course question · In the question, type {"question": "When do I get the certificate?"}
  1. Click ▶ Try
Try it with a course question · Click ▶ Try
Try it with a course question · In the timeline: the search in Flow course.
Try it with a course question · The answer comes from the chapter Certificate.
Step 14 / 19

Try a change: it is simulated

Ask it to add a student. It picks the workflow Add student itself and fills in the name. In a test, Flow does not really carry out a change but simulates it: you see what it would do, without a row being added to your table.

  1. In the question, type {"question": "Add Test Student"}
Try a change: it is simulated · In the question, type {"question": "Add Test Student"}
  1. Click ▶ Try
Try a change: it is simulated · Click ▶ Try
Try a change: it is simulated · Add student · Changes · simulated.
Step 15 / 19

Publish

After a passing test you publish. Colleagues in the chat always talk to the published version; what you change after that stays a draft until you test and publish again.

  1. Click Publish
Publish · Click Publish
Publish · v1 available.
Step 16 / 19

Ask a question about the course

Open the chat with the chat icon on the left and pick your AI Colleague. Ask a question about the course. While it works you see it searching the knowledge base; below the answer it says which document it came from. Click Sources for the piece of text itself: that way anyone can check it is right.

  1. Click Chat
Ask a question about the course · Click Chat
  1. Click Course guide
Ask a question about the course · Click Course guide
  1. In Ask Course guide something…, type When do I get the certificate?
Ask a question about the course · In Ask Course guide something…, type When do I get the certificate?
  1. Click Send
Ask a question about the course · Click Send
Ask a question about the course · ‘Searched Flow course’.
Ask a question about the course · The answer: the Flow builder certificate, by e-mail within five working days.
  1. Click Sources
Ask a question about the course · Click Sources
Ask a question about the course · Source: flow-course.md, from Flow course.
Step 17 / 19

Have it look up a student

Start a conversation about something else with New conversation and ask it to look up a student. Now it does not search the knowledge base but starts the workflow Look up student with the name as input, and answers with what is in the table.

  1. Click New conversation
Have it look up a student · Click New conversation
  1. Click Course guide
Have it look up a student · Click Course guide
  1. In Ask Course guide something…, type Look up Bram de Wit
Have it look up a student · In Ask Course guide something…, type Look up Bram de Wit
  1. Click Send
Have it look up a student · Click Send
Have it look up a student · ‘Started Look up student’.
Have it look up a student · Bram de Wit is in module 2.
Step 18 / 19

Have it enrol a student

In a new conversation you ask it to add a student. It starts Add student; because it may change data and this is not a test, it really happens. Every answer is recorded as a run, with every step, so you can always see what it did.

  1. Click New conversation
Have it enrol a student · Click New conversation
  1. Click Course guide
Have it enrol a student · Click Course guide
  1. In Ask Course guide something…, type Add Fenna Smit
Have it enrol a student · In Ask Course guide something…, type Add Fenna Smit
  1. Click Send
Have it enrol a student · Click Send
Have it enrol a student · ‘Started Add student’.
Have it enrol a student · It confirms Fenna Smit was added.
Step 19 / 19

Look in the table

Open the table Students in the explorer: the new student is there, in module 1, enrolled — exactly as your workflow decides.

  1. Click Students
Look in the table · Click Students
Look in the table · Fenna Smit is in the table.

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