https://discord.gg/botpress logo
Whatsapp Audio
# 🤝help
r
Hello, I want my bot to automatically transcribe audio messages from WhatsApp and then respond to them as text. It just needs to be able to understand them. How do I set that up? Is it enough to add the “Transcribe Audio” card to the AutonomousNode? https://cdn.discordapp.com/attachments/1397951028984418346/1397951029907034164/image.png?ex=688396da&is=6882455a&hm=71b4daa55306a1051087370f3ca454a7a9abe0dfa6409f2ede8a39c013efc323&
s
Hello @red-accountant-73427 Having a transcribe Audio card is part of the solution, setting up a fully automated WhatsApp bot that transcribes and intelligently responds also requires proper integration, API handling, and AI logic. WhatsApp’s restrictions mean you can’t just plug this in yourself, it needs backend setup, secure authentication, and seamless AI routing. However, I specialize in building these systems. Let’s design a flow where audio messages are auto-transcribed (using Whisper/Speech-to-Text), your bot analyzes the text & generates smart replies, and everything runs 24/7 without manual input Do you want the bot to reply only in text, or should it also send voice responses? Looking forward to your response.
r
It should only understand the audio message and reply as text. The bot is already working and you can write to it. Only the audio messages cannot be processed yet.
p
Do your instructions mention that before each reply the bot should use teh transcribe audio tool?
r
Yes, for example. So if there is an audio message in a conversation, he should transcribe it and reply to it as text
p
Ok so you need to add an execute code card/action before transcribing the audio since the card requires an audio url.
This is the code it should contain:This is the code it should contain:
This grabs the audio from the previous message and saves it in the variable workflow.uploadedURL = uploadedURL. Hope it helps!
r
So from the Autonoumos node into the code and then back into the Autonoumos node?
p
That is right.
a
You did not create a variable to hold the audio file, did you?
a
great, the generated speech works on whatsapp too ?
l
This is WhatsApp
2 Views