In this quickstart you’ll build a small Sales Triage flow with three AI agents: a Triage agent that figures out what the user wants, then hands off to a Product Specialist or a Pricing Specialist. The exact flow used as the running example in the rest of these docs.Documentation Index
Fetch the complete documentation index at: https://docs.cogniagent.ai/llms.txt
Use this file to discover all available pages before exploring further.
Before you start
- A CogniAgent workspace. If you don’t have one, sign up.
- About 10 minutes.
1. Create the flow
Click New Flow
A blank flow opens straight away — no modal, no questions. You start on a canvas with a single Start node and an “Add Actor” button.

2. Set the global context
Global context is shared knowledge every agent inherits — your company name, product names, tone of voice. Setting it once means you don’t have to repeat it on every agent.3. Add the Triage agent
Click Add Actor
In the bottom toolbar, click Add Actor. Type 
The Triage agent appears on the canvas, automatically connected from the Start node.
Triage as the name and click Create.
Fill in Context, Instructions, and Definition of Done
| Field | What to write |
|---|---|
| Context | Leave empty — the agent inherits the global context. |
| Instructions | Greet the user and ask one short qualifying question to figure out whether they want to talk about product features or pricing. As soon as you know which one, hand off — don't try to answer specifics yourself. |
| Definition of Done | The user's intent is clear (product vs pricing) and the conversation has been handed off to the right specialist. |

4. Add two specialist agents
Repeat the Add Actor flow twice — once for each specialist.- Product Specialist
- Pricing Specialist
| Field | What to write |
|---|---|
| Name | Product Specialist |
| Instructions | Answer product questions in clear, plain language. If the user asks about pricing or plans, hand off — don't quote prices. |
5. Wire the routing edges
You want this topology: Start → Triage → (Product Specialist or Pricing Specialist), with Triage deciding which specialist takes over.Delete the wrong edges
Click the line connecting Start to Product Specialist. Press Delete (or use the delete affordance). Do the same for Start → Pricing Specialist.
Draw Triage → Product Specialist
Hover over the Triage node’s bottom edge. A handle appears. Drag from the handle onto the Product Specialist node. An edge appears.
Add the activation prompt
Click the new edge. The Activation Condition panel opens. Paste:
Click Save. A short label appears on the edge — generated by AI from your prompt.
When the user asks about product features, integrations, capabilities, security, the roadmap, or how something works in the product.


6. Test it
Click Test in the bottom toolbar. A drawer opens with a chat input.Send a pricing question
Type 
how much does Acme Pro cost? and press Enter.Within a couple of seconds, the Pricing Specialist replies with the pricing details from your global context. Below the reply, a debug panel shows the routing trace:[global] routeToActor → Triage(the global router picked Triage)[branch] routeToChild → Pricing Specialist(Triage handed off to Pricing because the activation prompt matched)

What’s next
You have a working multi-agent flow. From here you can:Connect a channel
Wire the flow to a Widget, Gmail, Slack, Teams, or Phone — so real users can talk to it.
Add capabilities
Give your agents access to knowledge bases, integration actions, and custom tools.
Deploy it
Take it live so it can handle real inbound messages or outbound campaigns.
Learn the concepts
Understand actors, edges, context inheritance, and focus modes in depth.



