ManualTrigger Automate

For the ManualTrigger Automate on n8n, this workflow fetches the latest news from BBC, extracts relevant content, and transforms it into engaging podcast scripts. It filters out unsuitable articles, ensuring only high-quality stories are selected. The result is a dynamic, conversational podcast format ready for voice synthesis, enhancing audience engagement and accessibility to news.

7/8/2025
22 nodes
Complex
manualcomplexsplitoutaggregatefilterlangchainsticky noteadvancedapiintegrationlogicconditional
Categories:
Complex WorkflowManual Triggered
Integrations:
SplitOutAggregateFilterLangChainSticky Note

Target Audience

This workflow is designed for:
- Content Creators: Those looking to convert news articles into engaging podcast scripts.
- Journalists: Professionals seeking to automate the extraction and summarization of news content.
- Podcasters: Individuals who want to streamline the process of generating scripts for their audio content.
- Developers: Tech-savvy users interested in integrating news data into applications or services.
- Educators: Teachers who wish to use current events for instructional purposes in a dynamic format.

Problem Solved

This workflow addresses the challenge of efficiently transforming news articles into compelling podcast scripts. It automates the process of:
- Extracting relevant news content from web pages.
- Filtering out unsuitable or irrelevant articles.
- Converting the extracted content into a narrative format suitable for audio presentation, ensuring an engaging listener experience.

Workflow Steps

  • Manual Trigger: The workflow starts when the user clicks 'Test workflow'.
    2. Fetch BBC News Page: It retrieves the main BBC News page to access current articles.
    3. Extract News Block: The workflow extracts news titles using HTML selectors.
    4. Split Out: It separates the extracted news titles for further processing.
    5. Extract News Content: Detailed content is fetched for each title, including links and descriptions.
    6. Limit to 10 Items: The workflow restricts the number of articles processed to a maximum of 10.
    7. News Classifier: Each article is classified based on its suitability for podcasting.
    8. Fetch BBC News Detail: For suitable articles, detailed content is fetched.
    9. Filter Empty Detail: It filters out any articles without sufficient content.
    10. Aggregate: All suitable articles are aggregated into a single data structure.
    11. Basic Podcast LLM Chain: The content is transformed into a podcast script using a language model.
    12. If Script Exists: Checks if a script was generated before proceeding.
    13. Hugging Face Text-to-Speech: The final script is converted into audio using a text-to-speech model.
  • Customization Guide

    To customize this workflow:
    - Change the News Source: Modify the URL in the 'Fetch BBC News Page' node to pull articles from a different news website.
    - Adjust Extraction Criteria: Update the CSS selectors in the 'Extract News Block' and 'Extract News Content' nodes to match the structure of the new source.
    - Modify Classification Logic: Edit the conditions in the 'News Classifier' node to tailor the suitability criteria for your specific audience or content type.
    - Enhance the Podcast Script: Customize the messaging in the 'Basic Podcast LLM Chain' node to adjust the tone or style of the podcast script.
    - Change Output Format: If you prefer a different audio format, modify the parameters in the 'Hugging Face Text-to-Speech' node accordingly.