George ‼
01/20/2026, 7:31 PMAI Evy
01/20/2026, 7:31 PMAI Evy
01/20/2026, 7:31 PMWhen user selected a slot, please book the appointment by calling the `book_appointment` function.
2. Multi-step confirmation missing
For booking flows, you should define clear state transitions that confirm data before calling the function: [(3) ]()
3. Confirm the date, time, and timezone selected by user: "Just to confirm, you want to book the appointment at ...". Make sure this is a time from the available slots.
4. Once confirmed, call function book_appointment to book the appointment.AI Evy
01/20/2026, 7:32 PMemail being blank or time not being properly formatted. [(4) ]()
Recommendations:
- Review your prompt to ensure it explicitly states the conditions under which the booking function should be called
- Add a confirmation step before the function is invoked
- If using Conversation Flow, ensure "Wait for Result" is enabled on the function node so the agent waits for proper data collection before transitioning [(5) ]()
Would you be able to share your function parameters and the relevant prompt section? That would help narrow down the issue further.AI Evy
01/20/2026, 7:32 PMAI Evy
01/20/2026, 7:32 PMGeorge ‼
01/20/2026, 7:33 PMGeorge ‼
01/20/2026, 7:33 PMAI Evy
01/20/2026, 7:33 PMAI Evy
01/20/2026, 7:34 PMargs in the webhook request, here are a few things to check:
1. Verify your parameter schema format
For custom functions, parameters must be defined using valid JSON schema format. A common mistake is not adding "type": "object" to the top level of the JSON schema. [(1) ]() [(2) ]()
Example of correct parameter schema:
json
{
"type": "object",
"required": [
"order_id"
],
"properties": {
"name": {
"type": "object",
"description": "",
"properties": {
"first_name": {
"type": "string",
"description": "User first name"
},
"last_name": {
"type": "string",
"const": "{{last_name}}"
}
}
},
"order_id": {
"type": "number",
"const": 1234
}
}
}AI Evy
01/20/2026, 7:34 PMcall_c4816cdf1b96c0f417f65588a27) , I'd recommend checking the call detail logs in your dashboard to see exactly what Retell sent. This can help identify if the issue is on the Retell side or in how your endpoint is receiving/parsing the request.
If your schema is valid and you're using POST, this may be a platform-level issue worth escalating to Retell support with your call ID and function configuration.AI Evy
01/20/2026, 7:34 PMAI Evy
01/20/2026, 7:34 PM