miketyler.
04/07/2025, 4:37 PMAI Evy
04/07/2025, 4:37 PMAI Evy
04/07/2025, 4:38 PMAI Evy
04/07/2025, 4:38 PMmiketyler.
04/07/2025, 5:22 PMAI Evy
04/07/2025, 5:22 PMAI Evy
04/07/2025, 5:22 PMAI Evy
04/07/2025, 5:22 PMAI Evy
04/07/2025, 5:22 PMmiketyler.
04/07/2025, 5:23 PMAI Evy
04/07/2025, 5:23 PMAI Evy
04/07/2025, 5:23 PMAI Evy
04/07/2025, 5:24 PMAI Evy
04/07/2025, 5:24 PMmiketyler.
04/07/2025, 5:30 PMAI Evy
04/07/2025, 5:30 PMAI Evy
04/07/2025, 5:31 PMAI Evy
04/07/2025, 5:31 PMWhen collecting information for the booking, make sure to:
1. Ask the user about their reason for booking/what they want to discuss
2. Summarize their response
3. When user selected a slot, please book the appointment by calling the `book_appointment` function
The custom fields you've added in Cal.com will automatically display the collected data in the booking event [(3)]() .
Based on the documentation available, I cannot provide the exact syntax for how the notes field should be formatted in the function call, as this specific detail is not shown in the sources. However, you can verify the setup is working by checking if the information appears correctly in your Cal.com booking as demonstrated in the tutorial video [(1)]() .AI Evy
04/07/2025, 5:31 PMmiketyler.
04/07/2025, 6:05 PMAI Evy
04/07/2025, 6:05 PMAI Evy
04/07/2025, 6:05 PMAI Evy
04/07/2025, 6:06 PMAI Evy
04/07/2025, 6:06 PMmiketyler.
04/07/2025, 7:02 PMAI Evy
04/07/2025, 7:02 PMAI Evy
04/07/2025, 7:02 PMAI Evy
04/07/2025, 7:02 PMjavascript
{
"type": "object",
"properties": {
"requested_timeslot": {
"type": "string",
"description": "The requested timeslot for the reschedule in ISO 8601 format."
},
"email": {
"type": "string",
"description": "The customer's email address."
},
"phone": {
"type": "string",
"description": "Incoming phone number"
},
"notes": {
"type": "string",
"description": "Reason for the call."
}
},
"required": [
"email",
"phone",
"requested_timeslot"
]
}
The key fixes are:
1. Added comma after the email property
2. Added comma after the phone property
3. Fixed indentation for consistency
4. Added comma between required fields
This follows the JSON schema format required for custom functions in Retell AI [(1)]() [(2)]() .AI Evy
04/07/2025, 7:02 PMmiketyler.
04/07/2025, 7:04 PMAI Evy
04/07/2025, 7:04 PMAI Evy
04/07/2025, 7:04 PMAI Evy
04/07/2025, 7:04 PMAI Evy
04/07/2025, 7:04 PMmiketyler.
04/07/2025, 10:03 PMAI Evy
04/07/2025, 10:03 PMAI Evy
04/07/2025, 10:03 PMcall.from_number [(1)]() . The request body structure looks like this:
javascript
{
"call": {
"call_type": "phone_call",
"from_number": "+12137771234",
"to_number": "+12137771235",
"direction": "inbound",
"call_id": "Jabr9TXYYJHfvl6Syypi88rdAHYHmcq6",
"agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
"call_status": "registered",
"metadata": {},
"retell_llm_dynamic_variables": {
"customer_name": "John Doe"
},
"opt_out_sensitive_data_storage": true
}
}
[(2)]()
So instead of having the agent ask for the phone number, you should modify your endpoint to extract the phone number from call.from_number in the request body [(1)]() . This way, you'll automatically get the caller's phone number without needing to ask for it.
Based on a Discord discussion, there isn't currently a built-in variable within the prompt that allows direct access to the incoming caller's phone number without using custom functions or webhooks [(3)]() .AI Evy
04/07/2025, 10:03 PMmiketyler.
04/07/2025, 10:06 PMAI Evy
04/07/2025, 10:06 PMAI Evy
04/07/2025, 10:06 PMAI Evy
04/07/2025, 10:06 PMX-Retell-Signature for verification
- A body containing name, call, and args objects [(1)]() [(2)]()
For Make.com specifically, some users have reported issues with function parameters not showing up correctly [(3)]() . A suggested workaround is to use Make.com's phone number module which helps separate country code from the number [(4)]() .
Your JSON schema looks correct for defining the parameters you want to collect. However, the actual caller information should come automatically in the call object of the request, separate from your defined parameters. If you're not seeing this data in Make.com, this might be a technical issue that needs to be reported.
Would you like me to provide information about alternative approaches or how to report this issue?AI Evy
04/07/2025, 10:06 PMmiketyler.
04/07/2025, 10:18 PMAI Evy
04/07/2025, 10:18 PMAI Evy
04/07/2025, 10:18 PMAI Evy
04/07/2025, 10:18 PM{{user_number}} as a dynamic variable in your prompt. This is a default system variable that represents the user's phone number (from_number for inbound calls, to_number for outbound calls) [(1)]() .
For example, you could add this to your prompt:
json
"I see you're calling from {{user_number}}. Is this the number you'd like to use for the booking?"
This variable is automatically provided by Retell - no configuration required .
Note: The phone number will be in E.164 format (e.g., "+12137771234") .AI Evy
04/07/2025, 10:18 PMmiketyler.
04/09/2025, 11:22 AMAI Evy
04/09/2025, 11:22 AMAI Evy
04/09/2025, 11:22 AMAI Evy
04/09/2025, 11:22 AM") not curly quotes (")
3. Double-check that all commas are in place between properties
4. Ensure the JSON is properly formatted with correct indentation
If the issue persists, try copying and modifying this basic working example from the documentation:
javascript
{
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "The city of the weather"
}
},
"required": [
"city"
]
}
Based on community discussions, sometimes the schema validator can be sensitive to additional fields or formatting [(2)]() . Try updating the schema incrementally, adding one field at a time to identify where the issue might be occurring.AI Evy
04/09/2025, 11:22 AM