← All N8N workflows
AI & researchChain LLMHTTP RequestOpenAI Chat ModelManual TriggerEdit Fields

🎙️ 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.

Workflow preview
TriggerWhen clicking ‘Testworkflow’Manual TriggerIntegrationRetrieve WordPressArticleWordpressAI & modelsGenerate Summary orTranscriptionChain LLMWeb / APIGenerate SpeechHTTP RequestWeb / APIUpload MP3HTTP RequestIntegrationUpdate WordPress PostWordpressAI & modelsOpenAI Chat ModelOpenAI Chat ModelTransformsettingsEdit Fields

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.

Workflow node names, types, and operations
NodeCategoryTypeOperation
When clicking ‘Test workflow’TriggerManual TriggerSee node parameters
Retrieve WordPress ArticleIntegrationWordpressget
Generate Summary or TranscriptionAI & modelsChain LLMSee node parameters
Generate SpeechWeb / APIHTTP RequestPOST
Upload MP3Web / APIHTTP RequestPOST
Update WordPress PostIntegrationWordpressupdate
OpenAI Chat ModelAI & modelsOpenAI Chat ModelSee node parameters
settingsTransformEdit FieldsSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. 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

  • httpCustomAuth
  • openAiApi
  • wordpressApi

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:

  1. Get an API Key: Visit Eleven Labs to obtain your API key.
  2. Choose a Suitable Voice: Test different voices on this demo page to find the best fit for your use case.
  3. Select the Right Model: For multilingual usage, use:
    "model_id": "eleven_multilingual_v2"
    
  4. 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.

More in AI & research