Intro · 1:57
Overview and Telegram voice agent
Two ways to add voice.
- Telegram agent with voice output.
- ElevenLabs conversational agent.
- Better user experience.
| Approach | Channel |
|---|---|
| Telegram + TTS | Messages |
| ElevenLabs agent | Live voice |
Do this in your own tools, step by step. Ticks are saved on this device.
Approaches?
Telegram voice, ElevenLabs agent.
Why?
Better UX.
0:00 So let's get started. Okay, the first scenario that we're going to walk through is one where we can send an AI agent a voice file and then it will process information and then send us back another voice file. So, it's not going to be a conversation, but it is going to deal with audio and audio. So, the way I'm going to do this today is going to be through Telegram. So, the first thing I'm going to do is add a Telegram node, which is going to be our trigger, which is going to be on message received.
0:22 And so, what I'm going to do real quick is execute this step. So, it's going to be listening in our Telegram channel. I'm going to open up Telegram and I'm going to send off a voice message. Testing, testing. Can you hear me? So, we'll shoot that off. It should capture it right there. What we see on this output of the Telegram trigger is that we got this voice file right here. And we can tell it's a voice file because right here it says audio/ogg.
0:44 So, now what we need to do is actually download this voice file and transcribe it so that we can send it to an AI agent. So, what I'm going to do is add another step right here. That's going to be a telegram node and we're going to download a file. Okay. So, it's actually get a file. It's right here. We're going to click on that. And what we're going to do is basically it's looking for a file ID to download.
1:06 So all I have to do is scroll down on this lefth hand side, drag in this file ID right here. And if I hit execute step, it should basically pull over the voice file that we just dropped into it. And here's that voice file. Let me just play it for you guys real quick. Testing, testing. Can you hear me? Okay, so now we have that file. Now the next step is we need to transcribe it. Now in the past, what I've showed you guys with something like this personal assistant is we used OpenAI's transcribe recording node to transcribe it.
1:29 And also what you're seeing here is the method where the personal assistant can get either text
Get the other 7 chapters, the exam and your certificate for LinkedIn, plus all 700+ AI courses.