🎙️ Generate Text-to-Speech Using Eleven Labs via API
Configured with Chain LLM, HTTP Request, OpenAI Chat Model, Wordpress. Review the connections and setup before adapting this template.
Node categories in this workflow
- Trigger
- Integration
- AI & models
- Web / API
- Transform
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| When clicking ‘Test workflow’ | Trigger | Manual Trigger | See node parameters |
| Retrieve WordPress Article | Integration | Wordpress | get |
| Generate Summary or Transcription | AI & models | Chain LLM | See node parameters |
| Generate Speech | Web / API | HTTP Request | POST |
| Upload MP3 | Web / API | HTTP Request | POST |
| Update WordPress Post | Integration | Wordpress | update |
| OpenAI Chat Model | AI & models | OpenAI Chat Model | See node parameters |
| settings | Transform | Edit Fields | See node parameters |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
httpCustomAuthopenAiApiwordpressApi
Workflow notes
🎙️ Generate Text-to-Speech Using Eleven Labs via API
🎙️ Generate Text-to-Speech Using Eleven Labs via API
Since there is no predefined node for Eleven Labs in n8n, we will use the HTTP Request module.
🛠️ Prerequisites:
- Get an API Key: Visit Eleven Labs to obtain your API key.
- Choose a Suitable Voice: Test different voices on this demo page to find the best fit for your use case.
- Select the Right Model: For multilingual usage, use:
"model_id": "eleven_multilingual_v2" - Set Output Format: You can adjust the quality by modifying
output_format, for example:"output_format": "mp3_44100_128"
📖 Refer to the full API documentation: API Reference - Eleven Labs
🚀 Step 1: Configure API Credentials in n8n
Add a custom authentication entry in n8n with the following structure:
(Replace "your-elevenlabs-api-key" with your actual API key)
{
"headers": {
"xi-api-key": "your-elevenlabs-api-key"
}
}
📩 Step 2: Send a POST Request to the API
Make an HTTP POST request to the webhook of your workflow with the following parameters:
voice_id: The ID of the selected voice.text: The text to convert into speech.
Modify This Prompt
Modify This Prompt
Here you can modify this prompt. It is interesting because the neutral node might return HTML, and using a ChatGPT node allows you to clean or customize the output before sending it to text-to-speech.
In the example provided, I requested a summary. However, you could ask for the benefits or product advantages when using it for e-commerce or affiliate marketing. You could also request the full transcription of the article.
🎙️ Generate Text-to-Speech Using Eleven Labs via API
🎙️ Generate Text-to-Speech Using Eleven Labs via API
Purpose and structure
This folder contains the 🎙️ Generate Text-to-Speech Using Eleven Labs via API workflow. Its executable nodes use chainLlm, httpRequest, lmChatOpenAi, manualTrigger, set, wordpress. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
When clicking ‘Test workflow’
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Manual/0757_Manual_Wordpress_Create_Webhook.json MIT; preserve source notices.