ManualTrigger Automate

For WordPress, this manual-triggered workflow automates the retrieval of articles, generates summaries or transcriptions, converts them to speech, and uploads the audio back to the site. It enhances content accessibility and engagement by providing audio summaries, making information easier to consume.

7/8/2025
10 nodes
Medium
manualmediumwordpresslangchainsticky noteapiintegration
Categories:
Manual TriggeredMedium WorkflowCreative Content & Video Automation
Integrations:
WordpressLangChainSticky Note

Target Audience

This workflow is ideal for:
- Content Creators: Writers and bloggers who want to enhance their articles with audio summaries or transcriptions.
- Marketers: Professionals looking to repurpose written content into audio format for broader reach and engagement.
- Educators: Teachers and trainers who wish to provide audio resources to their students, making learning more accessible.
- Developers: Technical users interested in integrating text-to-speech capabilities into their applications using n8n and APIs.

Problem Solved

This workflow addresses the challenge of transforming written WordPress articles into engaging audio content. It automates the process of summarizing or transcribing articles and converting the text into speech, which can be uploaded back to WordPress, enhancing accessibility and user engagement.

Workflow Steps

  • Trigger the Workflow: The process starts when the user clicks the 'Test workflow' button, initiating the workflow.
    2. Retrieve WordPress Article: The workflow fetches the specified article (ID: 1032) from the WordPress site.
    3. Generate Summary or Transcription: The content of the article is processed to either summarize or transcribe it using LangChain's language model.
    4. Generate Speech: The generated text is sent to the Eleven Labs API to convert it into audio format (MP3) using the eleven_multilingual_v2 model.
    5. Upload MP3: The audio file is uploaded to the WordPress media library, ensuring it is associated with the correct article.
    6. Update WordPress Post: The original article is updated to include an audio player, allowing users to listen to the summary or transcription directly on the post.
  • Customization Guide

    Users can customize this workflow by:
    - Modifying the Article ID: Change the postId in the 'Retrieve WordPress Article' node to target different articles.
    - Adjusting the Summary/Transcription: Alter the messages sent to the language model in the 'Generate Summary or Transcription' node to request different types of outputs, such as benefits or product advantages.
    - Changing Voice and Model Settings: Update the voice_id and model_id parameters in the 'Generate Speech' node to use different voices or models based on the Eleven Labs API capabilities.
    - Editing the Audio Player HTML: Customize the HTML in the 'Update WordPress Post' node to change how the audio player appears on the site.