Automate voice message translation from Telegram to Slack using OpenAI Whisper and GPT-4o-mini. This powerful n8n workflow provides seamless, instant multilingual communication.
Download this n8n workflow template and start using it instantly.
Teams using Telegram for quick communication who need to bridge language gaps in Slack.
Users managing international communities requiring automatic voice translation.
n8n developers looking for advanced examples of binary file processing and chained AI calls.
Anyone interested in leveraging the OpenAI Whisper model within an n8n workflow.
Managing communications across multiple language groups can be challenging, especially when using voice messages. This sophisticated n8n workflow solves this by creating a real-time, automated translation bridge. When a user sends a voice message in Telegram (such as Japanese or English), this n8n automation detects the source language, uses the OpenAI Whisper model to transcribe the audio, and then uses GPT-4o-mini for rapid translation. The final output—including the original transcript, the translation, and the sender's details—is formatted neatly and posted to a Slack channel. This integration demonstrates the power of the n8n node ecosystem for creating complex, multi-step AI pipelines, making it a valuable addition to your collection of n8n templates.
This n8n workflow begins with the specialized Telegram n8n trigger.
fileid and bot token, then makes an HTTP request to the Telegram API to retrieve the actual filepath. A Function n8n node then constructs the complete, downloadable file URL.Transcribe a recording OpenAI n8n node (using Whisper) converts the binary audio file into text.Detect Language) which determines if the input is Japanese or English based on character sets. This sets the source and target languages. The Translate (OpenAI) HTTP Request n8n node calls the GPT-4o-mini model, providing the transcribed text and language instructions to get the translated result.Build Slack Message Function n8n node formats the translation, adding user context (Telegram username) and language flags. Finally, the Post to Slack HTTP Request n8n node publishes the complete, translated message to the designated Slack channel using a Slack bot token. This entire process is a seamless n8n workflow execution.To deploy this powerful n8n workflow template, follow these steps:
Telegram Trigger n8n node. You will need a Telegram Bot token. Create a new credential (TELEGRAMBOTCRED) or update the existing placeholder.OPENAIAPIKEYHEADER (Used in 'Transcribe a recording' node).OPENAIHEADERAUTH (Used in 'Translate (OpenAI)' node).SLACKBOTTOKENHEADER) containing your Slack Bot Token (xoxb-...). This token must have permissions (chat:write, files:read, files:write, groups:read, channels:read).Add Bot Token n8n node, replace {{YOURTELEGRAMBOT_TOKEN}} with your actual Telegram bot token.Post to Slack n8n node, update the body parameter channel value to your target Slack channel ID (e.g., C09NT81DQU).This n8n workflow relies on a complex chain of highly configured n8n nodes:
Telegram Trigger: The starting n8n trigger. It listens specifically for 'message' updates from your Telegram bot.
Is Voice? (If): A core logic n8n node that acts as a filter, ensuring the n8n workflow only proceeds if the incoming message contains a voice element, optimizing resource usage.
Telegram getFile (HTTP Request): Performs the necessary API call to Telegram using the file ID to retrieve the filepath required for the actual audio download.
Download Voice File (HTTP Request): This n8n node is configured with Response Format: file to handle the incoming audio data as binary, making it available for Whisper.
Prepare Whisper Input1 (Code): A critical custom code n8n node that renames the downloaded binary key from data to audio to meet the input requirements of the OpenAI transcription node.
Transcribe a recording (OpenAI n8n node): This specialized n8n node uses the OpenAI Whisper model to convert the binary audio file into readable text.
Detect Language (Function): Uses JavaScript regex to quickly determine the source language (Japanese or English) of the transcription, setting the stage for accurate translation by the next n8n node.
Translate (OpenAI) (HTTP Request): Directly interacts with the GPT-4o-mini API via a custom n8n node configuration, instructing the model to perform translation based on the detected language pair (sourcelang and targetlang).
Build Slack Message (Function): A final Function n8n node that compiles all gathered data—username, original transcript, translation, and language flags—into the final, readable slacktext string.
Post to Slack (HTTP Request): The concluding n8n node, responsible for sending the formatted slack_text to the target Slack channel.
Leverage this advanced n8n workflow to integrate ElevenLabs Text-to-Speech (TTS), voice changing, transcription, and sound effect generation directly into your AI agents. Discover the power of this versatile n8n templates collection.

Automate voice appointment booking using a complex n8n workflow. Integrate Vapi, Google Calendar, and Google Gemini to check real-time availability and send confirmation emails using the Gmail n8n node.

Deploy a powerful AI customer service solution for WooCommerce using a sophisticated n8n workflow. Integrates VAPI, GPT-4o, Google Gemini, and Qdrant RAG for order tracking and knowledge retrieval.

Use this robust n8n workflow template to manage voice-based appointment booking systems, routing requests to check availability or book slots using the Cal.com API. Leverage n8n conditional logic.

Build a powerful voice assistant using VAPI and n8n. This advanced n8n workflow integrates GPT-4.1-mini, Langchain memory, and a custom n8n trigger for expert voice automation.

Use this powerful n8n workflow to create a voice-driven AI travel agent. It integrates ElevenLabs, GPT-4o, and Pinecone (RAG) to generate instant, context-aware itineraries from spoken requests. Download this complex n8n template today.

Creative Technologist blending design and automation to make work a little more fun. Exploring how AI and workflow tools like n8n can bring creativity into everyday work.







































