AI Translator for Telegram Audio Messages - n8n Workflow

Use this powerful n8n workflow to instantly transcribe and translate Telegram audio messages into 55 languages. This n8n templates guide covers setup with OpenAI Whisper and TTS.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?


  • Individuals who frequently communicate across different languages via Telegram.

  • Businesses providing multilingual customer support through Telegram channels.

  • Language students seeking real-time translation practice.

  • n8n users looking for advanced examples of combining AI services with communication platforms.

Overview

Language barriers can significantly slow down communication, especially when dealing with voice messages. This sophisticated n8n workflow solves this problem by creating an AI-powered universal translator accessible directly via Telegram. Utilizing a specialized n8n trigger, the system automatically detects a voice message, pulls the file using a Telegram n8n node, transcribes the speech using OpenAI’s Whisper, and then translates the text using a custom LLM chain. Finally, it uses OpenAI Text-to-Speech (TTS) to generate an audio reply, providing the user with both the translated text and the translated speech. This n8n templates solution is a prime example of leveraging multiple cloud APIs within a single, seamless automation flow.

How it Works

The entire process is initiated by an n8n trigger and executes through several specialized n8n nodes:


  1. Trigger: The n8n workflow starts when the Telegram Trigger n8n node detects a new message, specifically focusing on voice updates.

  2. Configuration: The Settings n8n node defines the core translation parameters, setting the languagenative (e.g., english) and languagetranslate (e.g., french) for the AI.

  3. Data Retrieval: The first Telegram n8n node retrieves the actual audio file content using the file ID provided by the n8n trigger data.

  4. Transcription: The OpenAI2 n8n node uses the Whisper model to convert the received audio into plain text (speech-to-text).

  5. Translation Logic: The Auto-detect and translate LangChain n8n node utilizes the defined settings and a customized prompt to determine the input language and perform the bidirectional translation, outputting only the clean translated text.

  6. Text Reply: A Text reply n8n node immediately sends the newly translated text back to the originating Telegram chat.

  7. Speech Synthesis: The final OpenAI n8n node takes the translated text and generates a new audio file using the Text-to-Speech model.

  8. Audio Reply: The Audio reply n8n node sends the newly generated translated speech audio back to the user, completing the fully automated translation cycle implemented in this robust n8n workflow.

Installation Guide

To deploy this n8n workflow, follow these steps:


  1. Import the n8n Workflow: Copy the provided JSON data and import it directly into your n8n instance using the 'New' -> 'Import from JSON' option.

  2. Set Up Telegram Credentials: The Telegram Trigger and all Telegram n8n node operations require credentials. Ensure you have created and selected a valid Telegram API account (Bot Token).

  3. Set Up OpenAI Credentials: This n8n template relies heavily on OpenAI for transcription, translation, and TTS. Configure and select your OpenAI API Key credentials for the three relevant OpenAI n8n node components.

  4. Configure Languages: Open the Settings n8n node and adjust the languagenative and languagetranslate values to match your preferred primary and target translation languages.

  5. Activate the n8n Trigger: Save and activate the n8n workflow. The Telegram Trigger n8n node will automatically register its webhook URL with your Telegram bot.

Node Details

Telegram Trigger (n8n trigger): Initiates the flow upon receiving any Telegram updates. Crucial for starting this n8n workflow.
Settings (n8n node): A Set n8n node used to centrally define custom variables: languagenative (default: english) and languagetranslate (default: french). These variables drive the translation logic.
Telegram1 (n8n node): Handles the retrieval operation, fetching the actual binary audio file based on the file_id extracted by the initial n8n trigger.
OpenAI2 (n8n node): Performs the initial operation, using the Whisper model to transcribe the binary audio file content into text. Resource: Audio, Operation: Transcribe.
Auto-detect and translate (LangChain n8n node): Acts as the translator. It uses the transcribed text and the variables from the Settings n8n node to instruct the connected LLM (via OpenAI Chat Model) to perform bidirectional translation.
Text reply (n8n node): Sends the final translated text output back to the user via the chat ID captured by the n8n trigger.
OpenAI (n8n node): Generates the translated voice reply using the Text-to-Speech (TTS) operation on the translated text string.
Audio reply (n8n node): Sends the binary audio file synthesized by the previous OpenAI n8n node back to the user.

Related n8n Workflows

Free

Nodes: 7 Nodes
Updated: December 26 2025
View all
Created by

Derek is an engineer, instructor, and investor based in Canada. He is publicly building AI applications to solve real-world problems, leveraging his technical expertise to develop practical solutions.

Featured*