https://retellai.com/?utm_source=discord&utm_medium=seo logo
Issues with Appointment Booking Feature.
# ❓・bug-report
r
I am trying like crazy to get this feature to work but unfortunately I am not able to get the AI agent to book the call. It can check the calendar and suggest times but it does not schedule it. The API Key and the Event Type are correct, what are some possible issues?
c
Are you using cal ? Can you share the detail log of the call.
r
And yes, I am using Cal.com
It turns out that the booked appointment is not passing the details of the location. Could this be due to a malfunction with the book appointment tool?
tool_call_id: ce21d999234fa746 { "time": "Friday, March 21st 3:00 PM", "name": "Ryan", "email": "ryan@gmail.com", "execution_message": "Booking the walkthrough for Friday, March 21st at 3:00 PM.", "timezone": "America/New_York" } Missing LOCATION ---> How do we fix? 1:39 Tool Result tool_call_id: ce21d999234fa746 {"error":"Error calling Cal Event Type API: Axios Error: error code: ERR_BAD_REQUEST, error message: Request failed with status code 400\nresponse status: 400\nresponse data: [{\"message\":\"1\"},\"custom in 'responses': {location}error_required_field\"]"}
I've run this call about 20 times with different updated prompts and I can't get the book appointment feature to pass the Location information.
Any help would be...um helpful...
p
i have quite the same issue, but with the telefone number... do you need the location? I think in cal.com you can just remove the location, so it should work if you dont need it.
r
Yea, i tried removing it in Cal.com from the requirements and the same thing happened unfortunately.
Thanks for the suggestion @performance_marketing.
any ideas @User
@performance_marketing. You might try to prompt engineer it to where it gathers the phone number and runs the Book Appointment feature twice but the AI doesn't say anything while it tries to gather the information. At the end of the day the booking appointment feature seems pretty buggy and needs some updates.
@chiraggupta1910_87616 Any ideas on this one