Quick overview
This workflow listens for new Telegram bot messages, transcribes incoming voice notes using Palatine Speech, and replies with the transcript, while echoing back any text messages unchanged.
How it works
- Triggers when a new message is received by your Telegram bot.
- Checks whether the incoming message contains a voice note or a text message.
- Downloads the voice file from Telegram when a voice note is received.
- Sends the audio to Palatine Speech to generate a transcription.
- Replies in the same Telegram chat with the transcription text.
- If the message is text, replies by echoing the same text back to the chat.
Setup
- Install the Palatine Speech community node: on the canvas press the + button, search for
Palatine, open the node from the results and click Install node.
- Create and add Telegram Bot API credentials in n8n and connect them to the Telegram Trigger and Telegram reply/download steps.
- Create and add Palatine Speech API credentials in n8n and connect them to the Palatine Speech transcription step.
Requirements
- Telegram Bot API credentials (bot token from BotFather)
- Palatine Speech API credentials (API key from the Palatine Speech dashboard)
- Palatine Speech community node installed (works on n8n Cloud and self-hosted)
Customization
- Reply with an AI summary instead of the raw transcript
- Log every transcript to Google Sheets or a database
- Restrict the bot to specific chat IDs
- Add sentiment analysis to flag the tone of incoming messages