When I use the call function to create an appointment, it's created successfully. However, when I try to cancel it, the appointment ID is missing. It appears the AI agent is passing a random ID instead.
How can I retrieve the appointment ID generated by the create
call function and then use that same ID in the cancel appointment
call function?
When I use the call
function for creation, it works as expected. However, when I try to cancel, the appointment ID is missing. The AI agent seems to be passing a random ID.
How can I retrieve the appointment ID generated by the create
call function and then use that same ID in the cancel appointment
call function?
Could someone please guide me on how to achieve this?
I'm also encountering this error, how can it be resolved?