Share feedback, ideas and get community help

Updated 3 weeks ago

Typebot Handling Voice Message From Whatsapp

hello!
i am building an AI agent in typebot. if i just wanted it to handle text messages, it would be very simple (just a collect text input from user, send it to an openai assistant and then send the response). but i need to build a whole other system behind the scenes to enable it to handle voice messages from the user and even images.
i would do this through n8n sending the info from typebot and then if its an audio i would send it to chatgpt whisper to transcribe it and send it over to the original openai assistant and if it is an image i would send it to a chatgpt to analyze the image and also send it over to the original openai assistant. (the simple logic is this)
but the problem is, the voice messages and images, when coming from a text user input, typebot saves it as urls. these urls are files with the format .enc (i had never even seen this before.) apparently it is also hard to convert it to other file formats (i would need to convert it to mp3 and jpeg, for example).

has anyone done something similar to allow an AI agent integrated to typebot/whatsapp to handle/answer voice messages and images coming from the user?

i know someone who has done it but they did it with a php script running in the backend. and this is way more advanced than i am currently capable of!
2
y
g
M
7 comments
Hello, are you using the oficial whatsapp API?
Hello, I use the official API and I have the same problem. Please help me solve it. When the user sends me an audio message he receives the following message: Invalid message. Please, try again
on typebot it will depends on input block you provide and if you are using text input block with attachment it will not solve your problem because all files need to send with the text. On this case i still using another platform like make or n8n so you can make another apps on meta and create another webhook to handle the other message type for Whatsapp that cant be handle on typebot.
Attachment
image.png
Thanks friend for the explanation
I'm studying N8N to solve this πŸ€—
@Baptiste I'm a fan of yours (I watched several of your videos on YouTube) and I'm loving working with Typebot. But being able to work with audio input is a very important need to be implemented in Typebot, please put this in your priorities ❀️ 🌟
You can do it easy with n8n, if need I can provide an full functional example.
Add a reply
Sign up and join the conversation on Discord