reyrj8145
09/10/2025, 3:09 AMtime as a non-ISO string (e.g., "Tomorrow at 4:30 PM") and the email field is missing or blank during live/voice flows, resulting in 400 errors.
*
Steps to Reproduce:
1. Configure a Retell AI agent to book appointments via Cal.com using the recommended [Book Calendar] workflow.
2. Ensure the agent collects name, phone, email, and preferred_day_time (with ISO format extraction enabled).
3. Test the booking flow using chat within Retell – booking is successful, all data formatted correctly.
4. Call into the live voice agent and go through the same booking flow.
5. Observe booking failure, API request/response, and Retell logs.
*
Expected Behavior:
The live agent should pass time as a properly formatted ISO 8601 string and include a non-empty email (as in chat), resulting in a successful booking via Cal.com.
*
Actual Behavior:
- API call from voice/live flows sends the time as a plain string ("Tomorrow at 4:30 PM") instead of full ISO (e.g., "2025-09-10T16:30:00+07:00").
- The email field is missing or blank.
- Cal.com booking returns HTTP 400 and error regarding a required field:
response data: [{“message”:“1”,“data”:null},“custom in 'responses': {email}error_required_field”]
*
Relevant Log Snippet:
Arguments: {"time":"Tomorrow at 4:30 PM","name":"John","email":""}
Error calling Cal Booking API: Axios Error: error code: ERR_BAD_REQUEST, error message: Request failed with status code 400
response data: [{"message":"1","data":null},"custom in 'responses': {email}error_required_field"]
In chat, time is in full ISO format and email is present; booking succeeds.
*
Impact:
Unable to achieve reliable live call bookings via Retell→Cal.com, blocking use case for production deployment.Omar Ashraf | Community Lead
09/10/2025, 6:14 AMOmar Ashraf | Community Lead
09/10/2025, 6:18 AM