national-gold
national-gold2y ago

looking for expert advice with whatsapp and audio messages

hello community ! We are having a hard time configuring some features from our Whatsapp bot inside voiceflow like: -adding conversational voice in spanish so the bot can listen to audio message in whatsapp and then reply. -sumbit an excel file or , csv in order to make the bot to learn a couple of variables. -setting up a context ONLY in the data we provide can anyone give us some guidance expertise? thanks!!
3 Replies
Tico | Voiceflow Assistant
To integrate your Voiceflow agent with WhatsApp and use advanced functions like voice, you can follow the steps outlined in our Advanced WhatsApp Guide. This guide will help you run your Voiceflow agent directly with the WhatsApp business API, interact with Voiceflow's Dialog API, render buttons in WhatsApp, and receive voice messages. For voice messages, you can use PicoVoice Speech to Text. However, please note that the language support depends on the capabilities of the Speech to Text service you are using. As for submitting an Excel or CSV file to make the bot learn variables, Voiceflow doesn't directly support this feature. However, you can use the API step to send a request to an external service that can process your Excel or CSV file and return the variables you need. Setting up a context only in the data you provide can be achieved by using the Dialog State feature. This allows you to manage the state of the conversation and control the flow based on the data you provide. Remember, the key to a successful integration is to thoroughly test your agent. You can use our Intent and Entity Testing resources to ensure your agent is working as expected.
rival-black
rival-black2y ago
@ramiro.inflexium DM'd you
other-emerald
other-emerald2y ago
^ there should be an example in that repo on recieving an audio file. But you will need to do this in code. 1. To send it you'd use something like elevenLabs to convert text to an MP3 then you can use the custom action step to send it to whatsapp. You would just need to add the ability into your adapter to send a audio message in Whatsapp Could you explain more about 2 and 3?

Did you find this page helpful?