variable-lime•8mo ago
Send message in portuguese after 8 seconds of customer not speaking
How can I send a message after the customer hears the initial message but doesn´t say anything in about 8 seconds?
5 Replies
HeyΩ Thank you for creating the ticket! A member of our team will reach out to you shortly.
@Ω ΣκοτάδιΣεληνόφωτο Ω
To implement a feature where a message is sent after the customer hears the initial message but doesn't respond within 8 seconds, you would typically set up a timer or delay function in your voice application's code. After the initial message is played, start the timer. If there is no response detected within the 8-second window, the application would then trigger the follow-up message.
Here's a general outline of how you might set this up:
1. Play the initial message to the customer.
2. Start an 8-second timer.
3. Listen for a response from the customer.
4. If a response is detected, proceed with the interaction.
5. If no response is detected within 8 seconds, send the follow-up message.
If you need assistance with the specific code or implementation details, please provide the programming language or platform you're using, and I can give you more tailored advice. If you're looking for a built-in feature of VAPI to handle this, please ask support for more info on this.
You can continue this conversation by mentioning me in the message.
stormy-gold•8mo ago
@Ω ΣκοτάδιΣεληνόφωτο Ω You need to update your assistant messagePlan.idleMessages for sending the message in non-english language, it's only doable for now using API.
variable-limeOP•8mo ago
Worked, thanks!
rare-sapphire•14h ago
Thank you so much bro
You saved me a lot of time