zubairashfaque
07/31/2025, 5:51 PMAI Evy
07/31/2025, 5:51 PMAI Evy
07/31/2025, 5:52 PMjson
"edges": [
{
"id": "edge_1",
"transition_condition": {
"type": "prompt",
"prompt": "Customer's name matches the expected/required name"
},
"destination_node_id": "next_step_node"
},
{
"id": "edge_2",
"transition_condition": {
"type": "prompt",
"prompt": "Customer's name does not match the expected name"
},
"destination_node_id": "end_node"
},
{
"id": "edge_3",
"transition_condition": {
"type": "prompt",
"prompt": "Customer's response is unclear or there is uncertainty about the name"
},
"destination_node_id": "clarification_node"
}
]AI Evy
07/31/2025, 5:52 PMAI Evy
07/31/2025, 5:52 PMAI Evy
07/31/2025, 5:52 PMzubairashfaque
07/31/2025, 6:18 PMzubairashfaque
07/31/2025, 6:27 PMAI Evy
07/31/2025, 6:27 PMAI Evy
07/31/2025, 6:27 PMjson
"default_dynamic_variables": {
"expected_customer_name": "Ali Mustafa",
"company_name": "Retell Inc"
}
Then reference this variable in your node instructions and transition conditions using {{expected_customer_name}} . You can use conditional logic in plain English within your prompts [(2) ]() :
If the customer's name matches {{expected_customer_name}}, transition to the next step.
If the customer's name does not match {{expected_customer_name}}, transition to end_call.AI Evy
07/31/2025, 6:27 PMAI Evy
07/31/2025, 6:27 PMAI Evy
07/31/2025, 6:27 PM