Sam W
01/15/2026, 11:34 AMAI Evy
01/15/2026, 11:35 AMAI Evy
01/15/2026, 11:35 AMAI Evy
01/15/2026, 11:35 AMAI Evy
01/15/2026, 11:35 AMSam W
01/15/2026, 11:39 AMAI Evy
01/15/2026, 11:39 AMAI Evy
01/15/2026, 11:39 AM- If [condition A]:
→ Call function `action_one`
- If [condition B]:
→ Call function `action_two`
[(2) ]()
If you find the agent behaves inconsistently with your if/else logic, that's when breaking into multi-prompt states or Conversation Flow becomes worthwhile. [(1) ]() , [(2) ]()AI Evy
01/15/2026, 11:39 AMAI Evy
01/15/2026, 11:39 AMSam W
01/15/2026, 11:42 AMAI Evy
01/15/2026, 11:42 AMAI Evy
01/15/2026, 11:43 AMAI Evy
01/15/2026, 11:43 AMAI Evy
01/15/2026, 11:43 AMSam W
01/15/2026, 11:44 AMAI Evy
01/15/2026, 11:44 AMAI Evy
01/15/2026, 11:44 AMAI Evy
01/15/2026, 11:44 AMAI Evy
01/15/2026, 11:44 AMSam W
01/15/2026, 12:09 PMAI Evy
01/15/2026, 12:09 PMAI Evy
01/15/2026, 12:10 PMAI Evy
01/15/2026, 12:10 PMAI Evy
01/15/2026, 12:10 PMSam W
01/15/2026, 1:52 PMAI Evy
01/15/2026, 1:52 PMAI Evy
01/15/2026, 1:53 PM## Related Knowledge Base Contexts.
If you want to force the agent to only use knowledge base content, you can add this to your prompt:
Only answer using the information in ## Related Knowledge Base Contexts.
If ## Related Knowledge Base Contexts is missing or does not contain relevant information, respond:
"There is no related information in knowledge base."
Configuration options:
- **Chunks to retrieve**: 1-10 (default: 3)
- **Similarity Threshold**: Controls matching strictness (default: 0.6)
For Conversation Flow agents, you can also configure node-level knowledge bases for specific topics.AI Evy
01/15/2026, 1:53 PMAI Evy
01/15/2026, 1:53 PMSam W
01/15/2026, 1:53 PMAI Evy
01/15/2026, 1:53 PMAI Evy
01/15/2026, 1:53 PMOnly answer using the information in ## Related Knowledge Base Contexts.
If ## Related Knowledge Base Contexts is missing or does not contain relevant information, respond:
"There is no related information in knowledge base."
This forces the agent to rely solely on what's retrieved from your knowledge base and prevents it from generating information outside of that context.AI Evy
01/15/2026, 1:53 PMAI Evy
01/15/2026, 1:53 PMSam W
01/15/2026, 1:53 PMAI Evy
01/15/2026, 1:53 PMAI Evy
01/15/2026, 1:54 PM## Related Knowledge Base Contexts, which means they're included in the token calculation. [(2) ]()
Knowledge base pricing:
- $0.005 per minute of calls that have knowledge base enabled
- This is a flat rate regardless of whether your agent uses 1 or many knowledge bases
So you'll see two cost impacts:
1. The per-minute knowledge base surcharge ($0.005/min)
2. The retrieved chunks adding to your prompt token count (which could trigger the token-based pricing scaling if total tokens exceed 3,500)AI Evy
01/15/2026, 1:54 PMAI Evy
01/15/2026, 1:54 PMSam W
01/15/2026, 11:27 PMSchedule_Appointment to schedule them. is this prompt ok to schedule appointment nodeAI Evy
01/15/2026, 11:27 PMAI Evy
01/15/2026, 11:27 PMYou must try to schedule an appointment time at our clinic. If the user expresses interest in scheduling an appointment, transition to the Schedule_Appointment node.
Key considerations:
- In Conversation Flow, transitions happen "when user is done speaking" from a Conversation Node
- For appointment booking, you'd typically use a Function Node to call the actual booking function (like "Check Availability" and "Book Appointments") , not just transition to another conversation node [(2) ]() , [(3) ]()
- The Function Node is "used to call a function, whether it's a pre-built function or a custom function" and "the function that associates with this node will be called when entering this node"
Recommended flow:
1. Conversation Node: Gauge interest in scheduling
2. Function Node: Check availability (using pre-built Cal.com integration or custom function)
3. Function Node: Book the appointment
4. Conversation Node: Confirm the booking to the user [(2) ]() , [(3) ]()
You may also want to define transition conditions more explicitly—for example, what happens if they say "no" or "maybe later." [(4) ]()AI Evy
01/15/2026, 11:27 PMAI Evy
01/15/2026, 11:27 PMSam W
01/15/2026, 11:27 PMAI Evy
01/15/2026, 11:27 PMAI Evy
01/15/2026, 11:28 PMAI Evy
01/15/2026, 11:28 PMAI Evy
01/15/2026, 11:28 PM