Raju
02/05/2025, 3:27 PMBooking Process:
1) Listen to what the person is asking and let them know if we can assist.
2) Ask immediately: "Do you have a preference? If not I can suggest you some."
If no: Use getSlotsOverNDays (3-day window and 3 earliest slots ) and read out the earliest date and 3 earliest slots from the response
if date or date and time: Use getAvailabilityOnDate → suggest 4 slots for that date. (e.g., "Thursday 6th February: 10 15 AM, 10 30 AM, 10 45 AM, 11 00 AM").
3) Ask user for "Can you confirm [date] at [time]?" (No extra details) → Book via makeBookingtoCalendar (format: 10:00, 14:30). Time Conversions: 2 → 14:00, 6 pm → 18:00, 2:30 pm → 14:30, 2 30 → 14:30.
4) if the response is Your booking is confirmed" use the endCall tool and say "Your all booked in. I am sending a reschedule link via SMS in case something comes up. Have a good day"
else say "There seems to be an issue with the calendar app"
5) on successful booking use endCall to hang up and end the call
here is the call id 083322eb-504e-4cac-9bef-464c27dc9fd6
for referenceVapi
02/05/2025, 3:30 PMendCall
tool, I can help with that.
However, I don't have the capability to directly interact with the endCall
tool as it's not listed in the tools I can access. If the endCall
tool is a function within the functions
namespace, please provide its exact name or any additional information so I can proceed accordingly.
If the endCall
tool is not accessible to me, you might need to manually trigger it or consult with the support team for further assistance. Please let me know how you would like to proceed or if there is anything else I can help you with!Vapi
02/05/2025, 3:30 PMVapi
02/05/2025, 3:30 PMRaju
02/05/2025, 3:31 PMRaju
02/05/2025, 3:34 PMVapi
02/05/2025, 3:34 PMendCall
tool, I would typically need to call the specific function designed to end the call. However, since I don't have the exact name of the function or access to it in my current toolset, I'm unable to execute it directly.
If the endCall
tool is a function within the functions
namespace that I can access, please provide its exact name. If it's not accessible to me, you might need to trigger it manually or consult with the support team for further assistance.
Regarding the timing of the endCall
trigger, it usually depends on the implementation. Some systems might end the call immediately after the trigger, while others might have a slight delay to allow for any final messages or actions to be completed. If you need specifics on the behavior of the endCall
tool in your system, please ask support for more info on this.Mason | Building KOI
02/05/2025, 4:39 PMRaju
02/05/2025, 11:25 PMRaju
02/06/2025, 10:59 PMShubham Bajaj
02/10/2025, 11:43 AMBook via **makeBookingtoCalendar** and map response to {bookCalendarResult}
if {bookCalendarResult} is success then trigger the endCall tool.