Translate audio using AI
Ready for 3.0What this workflow does
This AI workflow has 8 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenAI Chat Model. It also calls api.openai.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Set ElevenLabs voice ID and text (Edit Fields (Set)): sets 2 fields: voice_id, text
- Generate French Audio (HTTP Request): calls an HTTP API (POST)
- Add Filename (Code): runs custom JavaScript code
- Transcribe audio (HTTP Request): calls api.openai.com (POST)
- Translate Text to English (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model
- Translate English text to speech (HTTP Request): calls an HTTP API (POST)
Services it uses
HTTP calls to: api.openai.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (6)
- Manual Trigger
n8n-nodes-base.manualTrigger - HTTP Request
n8n-nodes-base.httpRequest - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Edit Fields (Set)
n8n-nodes-base.set - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Code
n8n-nodes-base.code
From the author
Overview This workflow takes some French text, and translates it into spoken audio. It then transcribes that audio back into text, translates it into English and generates an audio file of the English text. To do so, it uses ElevenLabs (which has a free tier)…