π¬ Generate & upload an audio summary of a WordPress (or Woocommerce) article
β‘ 3,119 views Β· π¬ Content Creation & Video
Description
This workflow automates the process of summarizing or transcribing a WordPress article, converting the text into speech using Eleven Labs API, and uploading the resulting MP3 file back to WordPress.
How It Works
- Trigger β The workflow starts manually when the user clicks βTest Workflowβ.
- Retrieve Article β It fetches a WordPress article based on a given post ID.
- Summarize or Transcribe β An LLM (GPT-4o-mini) generates either: β’ A summary of the article, or β’ A full transcription, depending on the chosen prompt.
- Generate Speech β The processed text (summary or transcription) is converted into an MP3 audio file using Eleven Labs API.
- Upload MP3 to WordPress β The generated MP3 file is uploaded to WordPress.
- Update WordPress Post β The article is updated with an embedded audio player, allowing users to listen to the summary or transcription.
Set Up Steps 1. WordPress API Credentials β’ Configure your WordPress API credentials in n8n. 2. Eleven Labs API Key β’ Obtain an API Key from Eleven Labs and configure it in n8n. 3. Choose Between Summary or Transcription β’ Modify the AI prompt to either generate a summary or keep the full transcription. 4. Test the Workflow β’ Run the workflow and ensure the MP3 file is correctly generated and uploaded.
π‘ Customization Options β’ Modify the AI prompt to switch between a summary and a transcription. β’ Change the voice model in Eleven Labs for different speech styles. β’ Adjust output format to higher/lower quality MP3.
π This automation improves content accessibility and engagement by allowing users to listen to a summarized or full version of the article.
.
π«π· Contactez nous pour automatiser vos processus
π Nodes Used
HTTP Request, Wordpress, Basic LLM Chain, OpenAI Chat Model
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File