Create multilingual localized speech audio with GPT-4 and ElevenLabs
Ready for 3.0What this workflow does
This AI workflow has 15 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenAI Chat Model.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Workflow Configuration (Edit Fields (Set)): sets 4 fields: chineseText, targetLanguages, elevenLabsApiKey…
- Localization Agent (AI Agent): runs an AI agent, with model: OpenAI Model - Localization; 2 tools (Voice Parameter Agent Tool, Speech Optimization Agent Tool); output parser: Structured Output - Translations
- Prepare Languages Array (Edit Fields (Set)): sets 1 field: languages
- Loop Over Languages (Loop Over Items (Split in Batches)): loops over the items in batches
- Generate Audio with ElevenLabs (HTTP Request): calls an HTTP API (POST)
- Process Audio Response (Code): runs custom JavaScript code
- Aggregate Results (Edit Fields (Set)): sets 4 fields: audioFile, language, languageCode…
Services it uses
Other OpenAI + ElevenLabs templates (55)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (9)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - AI Agent Tool
@n8n/n8n-nodes-langchain.agentTool - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code
From the author
How It Works This workflow delivers intelligent multilingual audio content creation for global marketing teams, e-learning providers, and content production studios. It solves the complex challenge of generating culturally adapted, professionally voiced…