Translate Telegram audio messages with AI (55 supported languages)
Created by
Last edited 10 days ago
Use case
This workflow enables a Telegram bot that can:
- Accept speech input in one of 55 supported languages
- Automatically detect the language spoken and translate the speech to another language
- Responds back with the translated speech output.
This allows users to communicate across language barriers by simply speaking to the bot, which will handle the translation seamlessly.
How does it work?
Translation
In the translation step the workflow converts the user's speech input to text and detects the language of the input text.
If it's English, it will translate to French. If it's French, it will translate to English.
To change the default translation languages, you can update the prompt in the AI node.
Output
In the output step, we provide the translated text output back to the user and speech output is generated in the translated language.
Setup steps
- Obtain Telegram API Token
- Start a chat with the BotFather.
- Enter /newbot and reply with your new bot's display name and username.
- Copy the bot token and use it in the Telegram node credentials in n8n.
-
Update the Settings node to customize the desired languages
-
Activate the flow
Full list of supported languages
All supported languages:
You may also like
New to n8n?
Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!