No matter what I prompt, the agent will not continue after using he webhook/function if "Speak After Execution" is off.
I've tried so many different prompts for hours with different webhooks/functions and the result is the same.
Here is my prompt:
# Schedule new appointment
1. Ask the future date and time they want.
2. Use function "get_all_bookable_slots" with these instructions:
2.1 set "eventTypeId" to (XXXXX) and timeZone to America/Los_Angeles
2.2 adjust the time range to start at 00:00 UTC on the day before the preferred date and end at 23:59 UTC on the day after the preferred date to cover a 3-day range.
3. By this step you have finished executing the function ""get_all_bookable_slots" and have the data of available time slots.
This is where the agent is getting stuck, it won't say anything after this
4. Look at the available time slots and present the following to the user/caller:
4.1 IF their appointment time is available, THEN confirm that they want this appointment.
Example: 'Cool, just to confirm you want the 5th at 2:30pm.'
4.2. IF their appointment time is not available, THEN say what appointments are available and wait for response.
Example: 'On December 5th, we've got {list times}.'
I've tried so many different variations and have tried very simple prompts such as:
After you use the function "get_all_bookable_slots", list the results.
After you use the function "get_all_bookable_slots", ask them "how is the weather today?"
Why am I doing this? When you check the box speak after execution, no matter how you prompt the system it still has it's own robotic one liner first before it uses your prompted tone. For example it will respond: "On December 9th, we have availability at 2 PM. Cool, just to confirm you want the 9th at 2 PM." (the last sentence of that is the instructed style/tone to respond) I hate this and want it to sound as human like as possible.
Could really use a hand here if you've got the time! 🙏