Automate WordPress Article Audio Creation with Eleven Labs & n8n

This workflow automates converting WordPress articles into audio summaries using Eleven Labs’ text-to-speech and OpenAI’s summarization. Save hours by generating engaging audio content for your site effortlessly.
wordpress
chainLlm
httpRequest
+3
Workflow Identifier: 1562
NODES in Use: Manual Trigger, WordPress, LangChain LLM, HTTP Request, Set, Sticky Note
Automate WordPress audio with n8n and Eleven Labs

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What This Automation Does

This workflow gets one WordPress article by ID.

It then makes a short summary of the article using AI.

Next, it changes this summary into a spoken audio file with Eleven Labs API.

After that, it uploads the audio file back to the WordPress media library.

Finally, it adds an audio player into the post so visitors can listen to the summary.

This saves time by automating a long manual process.


Who Should Use This Workflow

Anyone managing a WordPress blog who wants to add audio summaries.

No need for deep tech skills, just basic n8n knowledge and API keys.

This helps content creators who want to reach listeners and save hours every week.


Tools and Services Used

  • WordPress REST API: To get and update posts.
  • OpenAI GPT (via LangChain): To summarize article text.
  • Eleven Labs Text-to-Speech API: To convert summary text into audio.
  • n8n workflow automation: To connect all steps seamlessly.

Inputs, Processing, and Outputs

Inputs

  • WordPress post ID to identify the article.
  • API credentials for WordPress, OpenAI, and Eleven Labs.

Processing Steps

  • Pull article content by post ID from WordPress.
  • Send article content to LangChain node to create a short summary.
  • Post the summary text to Eleven Labs API to get spoken audio in mp3 format.
  • Upload the mp3 audio back to WordPress media library.
  • Update the original post to add an audio player with the new audio file.

Outputs

  • WordPress article now includes an audio player with the summary.
  • New audio file saved in WordPress media library.

Beginner Step-by-Step: How to Use This Workflow in n8n

Step 1: Import the Workflow

  1. Download the workflow file using the Download button on this page.
  2. Open the n8n editor.
  3. Use the menu to select “Import from File” and upload the downloaded workflow.

Step 2: Configure Credentials and IDs

  1. Add your WordPress API credentials in the credentials manager.
  2. Add your OpenAI API key for GPT-4o-mini via the LangChain node credentials.
  3. Add your Eleven Labs API key in the HTTP Request node headers.
  4. Update the workflow’s WordPress post ID to the article you want to convert.
  5. Check the Eleven Labs voice_id in the HTTP Request node URL and update if needed.

Step 3: Test the Workflow

  1. Run the workflow manually using the Manual Trigger node.
  2. Check outputs of each node in n8n to confirm no errors.

Step 4: Activate for Production

  1. Switch the trigger if needed, e.g. use a time-based trigger for regular runs.
  2. Activate the workflow.
  3. Monitor runs and logs from the n8n dashboard.
  4. For stable hosting, consider self-host n8n on a reliable server.

Customization Ideas

  • Change the LangChain prompt to get a formal transcription or a more casual summary.
  • Pick different voices or languages in the Eleven Labs API by updating the voice_id.
  • Adjust audio quality by changing the output_format parameter in the Eleven Labs HTTP Request.
  • Add chunking logic for very long articles before summarizing.
  • Embed extra info in posts, like captions or custom messages with the audio player.

Edge Cases and Common Issues

  • Eleven Labs “401 Unauthorized” error: Check the API key in HTTP headers is correct and active.
  • WordPress update fails: Verify post IDs and ensure the API user has proper write permissions.
  • LangChain gives bad summaries: Make sure the full article text is passed correctly to the prompt.
  • MP3 upload errors: Confirm you send the audio as binary data with correct content-disposition headers.

Pre-Production Checklist

  • Verify all API keys and credentials work with test calls.
  • Check WordPress REST API permissions for uploading media and editing posts.
  • Test the manual trigger workflow fully before automating.
  • Backup WordPress content before large-scale updates.

Summary

✓ Fetches WordPress article content by ID.

✓ Summarizes text using OpenAI GPT via LangChain.

✓ Converts summary to audio using Eleven Labs API.

✓ Uploads MP3 to WordPress media library.

✓ Inserts audio player in original post to listen on site.

→ Saves many hours of manual work.

→ Increases accessibility for visitors who prefer listening.


Automate WordPress audio with n8n and Eleven Labs

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

Yes, but the HTTP Request node must be changed to match the new service’s API and authentication.
Yes, both OpenAI and Eleven Labs charge based on usage. Monitor API calls to control costs.
Store API credentials safely in n8n and always use HTTPS endpoints to protect data.
For bulk processing, add logic for pagination and batching inside the workflow.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.