vapi blocks
# support
g
I am facing some issues with blocks: 1. In call id a77053df-f9c9-4206-af0b-17fd6b860edd there were two voices speaking. Notice second voice at minute 00.25 2. At 00.25 the text was supposed to be read directly from the block called unknown. It only read part of the text 3. How to configure something like : Block 1: ask if it is a good time to talk ? if yes, go to block A , in not, go to block b. I tried this inside block called Workflow , does not seem to work @User
v
You can continue this conversation by mentioning me in the message.
@Gabriela Macovei I'm here to help you with these issues: 1. For the first issue regarding the two voices speaking during the call, it seems like there might have been an overlap or interruption. To resolve this, we need to check the call configuration and ensure that there are no simultaneous voice prompts or unexpected behaviors in the call flow. If you have access to the call logs or settings, please review them for any anomalies around the 00:25 timestamp. 2. Regarding the text not being fully read from the block called "unknown," this could be due to a misconfiguration in the text-to-speech settings or an error in the script block. Please verify that the entire text is correctly entered in the block and that there are no limitations set on the length of the speech output. 3. To configure a conditional workflow like the one you described, you would typically use decision logic within your voice application. Here's a simplified example of how you might set it up: - Block 1: Use a prompt to ask if it's a good time to talk. - Decision Block: Based on the user's response (yes or no), you can route the call to different blocks. - If the response is "yes," route to Block A. - If the response is "no," route to Block B. Make sure that the decision logic is correctly implemented and that the blocks are properly linked to handle the user's response. If you're using a visual call flow editor, look for decision or branching elements to implement this logic. If you need further assistance with these issues or if you'd like me to perform specific actions, please provide more details or access to the necessary tools and configurations.
g
response for each point: 1. I do have access to check, I see no anolmalies at 00:25. Can you check also ? 2. The entire text is inserted in the block. 3. I did. When I say no, it is not a good time to talk, the transfer to a certain block does not happen. I get attached error call id bd312426-602d-44e7-8026-fc771ae63100 @User https://cdn.discordapp.com/attachments/1328763235859566744/1328765809652400178/image.png?ex=6787e518&is=67869398&hm=55e16669236ddc1303050243a263292f543453cb656a445cdf26902bb8fb6a1c&
s
@Gabriela Macovei As of now, blocks are not recommended for development and production use cases as they are still in beta. You can expect a few hiccups. Instead, you can try using Assistant with prompting. Blocks will be ready to use by the end of this quarter.