Before exposing a flow to real users, test it. The Test drawer gives you a live sandbox chat — the same routing, the same actor turns, the same tool calls as production, but no real channel delivery happens. Outbound emails aren’t actually sent; outbound Slack messages don’t actually post.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.

Opening the Test drawer
In the bottom toolbar of the flow editor, click Test. A drawer opens on the right.
Sending a message
Type a message and press Enter. The platform:- Creates a test session.
- Routes your message into the first actor.
- The actor decides what to do — reply, hand off, ask to clarify, call a tool.
- The reply appears in the drawer within a few seconds.
The routing trace
Below each actor reply is a debug panel showing exactly what happened:What to test
The happy path
The happy path
Walk through the canonical case the flow is built for. Does the right actor handle the right question? Does the conversation end cleanly?
Topic switches
Topic switches
Start with one topic, then pivot mid-conversation. Does the right actor pick up the new topic? Does the previous actor’s data persist (via slots)?
Edge cases
Edge cases
Ambiguous messages, off-topic questions, things the actors aren’t supposed to handle. Does the router escalate cleanly? Does it ask to clarify rather than guessing?
Tools and integrations
Tools and integrations
Trigger paths that should invoke an integration action. Does the actor pick the right tool with the right arguments?
In Test mode, integration actions do execute for read-only operations. Be careful with write actions on production connections — those will land in real systems. Configure dedicated sandbox connections if you can.
Multi-turn memory
Multi-turn memory
Provide information in one message, then ask a follow-up that depends on it. Does the actor remember? Do other actors see the same context after a handoff?
Iterating on prompts
Test sessions are the fastest feedback loop for prompt iteration:- Open the Test drawer.
- Send a message that exposes the problem.
- Read the routing trace and the actor’s reply.
- Open the actor’s config in another panel — edit the Instructions.
- Save.
- Send the next message. The new prompt is picked up immediately.
Ending a session
Click the close button on the drawer (X). Any open session is marked ended. The session and its full transcript stay in the Conversations history, tagged with a TEST badge. You can re-open it later to review the trace.Test vs real sessions
| Test session | Real session | |
|---|---|---|
| Routing logic | Same | Same |
| Actor turns | Same | Same |
| Tool calls (read) | Execute against real connections | Execute against real connections |
| Tool calls (write) | Execute — be careful | Execute |
| Channel delivery (email, Slack, etc.) | No — short-circuited | Yes |
| Visible in Conversations history | Yes, with TEST badge | Yes |
| Triggers channel listeners | No | Yes |
Next
Deploy a flow
Take the flow live.
Conversations history
Review past conversations, including test sessions.
