Translate Telegram Audio Messages with AI in 55 Languages

This workflow enables a Telegram bot to convert voice messages into text, auto-detect the original language, translate it into a target language, and reply back with text and audio in 55 supported languages. It solves the challenge of multilingual communication and language learning in Telegram chats.
telegramTrigger
openAi
chainLlm
+2
Workflow Identifier: 1340
NODES in Use: Telegram Trigger, Telegram, Set, OpenAI, Chain LLM

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What this workflow does

This workflow listens for voice messages sent to a Telegram bot and turns them into written text. It then checks the language of the text and translates it into another chosen language. It sends back the translation both as a text message and as a voice message in Telegram. This helps users understand voice messages in many languages without typing or copying manually.

The main problem solved is the difficulty of quickly understanding foreign voice messages. The workflow saves time and avoids errors by automating transcription and translation.


Who should use this workflow

People who get voice messages in different languages on Telegram and want quick translations.

Language learners and non-native speakers can respond faster without switching apps.

Anyone who wants an easy way to convert voice chats into readable and listenable translations.


Tools and services used


How this workflow works: Input, Process, Output

Input

The input is any incoming voice message sent to the Telegram bot.

Process

First, the workflow catches the new voice message using the Telegram Trigger node.

Next, it downloads the voice file using the Telegram node configured to fetch the voice audio.

Then, the OpenAI node transcribes the voice audio into text.

The Chain LLM node reads the text and automatically detects its language. It then translates the text into the set target language or back to the original language depending on what was spoken.

Output

The workflow sends back two replies to the user in the Telegram chat: one is the translated text message, the other an audio voice message made from the translated text.


Beginner step-by-step: How to use this workflow in n8n

Download and import the workflow

  1. Download the workflow file using the Download button on this page.
  2. Inside your n8n editor, click on “Import from File” and select the downloaded workflow file.

Configure credentials and settings

  1. Add your Telegram Bot API credentials to the Telegram nodes.
  2. Add your OpenAI API Key to the OpenAI nodes.
  3. In the Settings node, update language_native and language_translate fields to your desired source and target languages, like “english” and “french”.

Test and activate

  1. Send a voice message to your Telegram bot to test if transcription and translation work.
  2. If everything works, activate the workflow in n8n by toggling the active switch.

Once activated, the workflow will run automatically and translate voice notes for you.

For users self hosting n8n, refer to self-host n8n for setup help.


Inputs and outputs detail

  • Input: Telegram voice message file (voice.note.file_id)
  • Intermediate data: Text transcription of voice audio
  • Output 1: Translated text message sent back to Telegram chat
  • Output 2: Translated text converted to voice audio and sent as Telegram audio message

Possible edge cases and failures

  • Failure to download voice file if JSON path for file ID is wrong.
  • Transcription might fail if the audio file format is unsupported or missing.
  • Translation errors if language names in settings are misspelled or prompt is misconfigured.
  • Reply may fail if dynamic chatId is not set correctly in Telegram response nodes.

Customization ideas

  • Change the language_native and language_translate values in Settings to support any languages OpenAI Whisper recognizes.
  • Add features to handle text-only messages aside from voice notes.
  • Modify reply message formats to include extra info like user name or time.
  • Add logging integrations like Google Sheets or databases for history tracking.

Summary of results

✓ Save hours by automating voice message transcription and translation.

✓ Avoid manual errors when understanding foreign languages.

✓ Get replies in both text and voice for natural conversation flow.

→ Faster communication when dealing with messages in over 55 languages.

→ Easy integration in Telegram group chats or personal chats.


Frequently Asked Questions

The workflow is designed for OpenAI Whisper and LangChain nodes. Using other APIs needs changing nodes and prompt templates.
Yes, speech transcription and translation use OpenAI API credits. Monitor usage and costs accordingly.
Data stays on your servers or n8n cloud. API calls to OpenAI and Telegram have encryption for security.
Yes, it replies dynamically using chat IDs from incoming messages, so multiple users and groups are supported.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free