Hi all, I have been working with Blocks and experiencing a technical issue that I need help with. I am creating an appointment setter assistant the Steps are as follows:
Step 1: Introduction
Step 2: Appointment Request (user provides date and time)
Step 3: Check Calendar (tool, webhook response required)
Step 4: Book Appointment
What I have experienced so far is that when I test my block, the steps will not move from 1 to 2. At least not visually (where the block glows in purple). And 4 out of 5 times it will fail to go from Step 2 to 3 which is a tool function. Step 3 requires date and time {{dateAndTime}} from Step 2.
Step 2 has a prompt to call the function in step 3 after user provides date and time.
Step 3 takes the input of Step 2 {{dateAndTime}} and outputs date and time in JSON format.
I am struggling to know why my steps wouldn't go from 2 to 3 almost 80% of the time. The one time it did send a response to webhook the output was literally the text format of the variable as follows: {{checkcalendar.output.dateAndTime}}
Is this an issue with Vapi or am I missing something?
Do I also need to create the function under Tools? Does it also need to be present in the Functions tab under the assistant?