.manthu
12/14/2025, 9:44 AMAI Evy
12/14/2025, 9:45 AMAI Evy
12/14/2025, 9:45 AMjson
{
"id": "edge_1",
"transition_condition": {
"type": "prompt",
"prompt": "Customer wants to book appointment"
},
"destination_node_id": "book_appointment"
}
You would add a JSON schema when you need to capture structured data during the transition (like extracting an appointment ID or customer details) . [(2) ]()
If you do use JSON schema in edges, ensure:
- Include "type": "object" at the top level
- The "required" keys match the property names exactly (e.g., if the property is "appointment_id", use "appointment_id" in required, not "appointmentId")AI Evy
12/14/2025, 9:45 AMAI Evy
12/14/2025, 9:45 AM