Automate BBC News to Podcast Script Using n8n & Gemini LLM

Save hours by automating BBC news scraping, filtering, and podcast script creation with n8n. This workflow uses Gemini LLM to classify news and generate conversational podcast scripts, then converts the script into speech with Hugging Face Text-to-Speech.
httpRequest
lmChatGoogleGemini
html
+9
Workflow Identifier: 2303
NODES in Use: Manual Trigger, HTTP Request, HTML, Split Out, Limit, LangChain Text Classifier, LangChain Chain LLM, Filter, If, LangChain LM Chat Google Gemini, LangChain Output Parser Structured, Sticky Note
Automate BBC news with n8n and Gemini

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

Learn how to Build this Workflow with AI:

What This Workflow Does

This workflow fetches top news stories from BBC News, chooses good ones for a podcast, writes a friendly script, and makes an audio file from it.

It stops you wasting many hours every day writing news scripts and recording manually.

By running it, you get a ready-to-use podcast episode containing well-written news and natural sounding voice audio.


Workflow Inputs, Processing, and Output

Inputs

  • BBC News homepage URL
  • Google Gemini Language Model for news classification and script writing
  • Hugging Face API for text-to-speech conversion

Processing Steps

  1. Get BBC News homepage HTML
  2. Extract news title blocks using CSS selectors
  3. Split news into individual items for processing
  4. Parse titles, links, and descriptions from each news block
  5. Limit the number of stories to 10
  6. Classify stories with Google Gemini LLM to select suitable podcast content
  7. Fetch full news article HTML for chosen stories
  8. Extract detailed article text from each
  9. Remove articles with empty details
  10. Combine all article texts into one input dataset
  11. Use Google Gemini to generate a warm and conversational podcast script
  12. Check if the podcast script exists and is not empty
  13. Send script text to Hugging Face text-to-speech API
  14. Produce an audio file of the podcast episode

Output

A podcast script in text form and an audio file ready to publish.


Who Should Use This Workflow

Anyone who records daily news podcasts and wants to save time scripting.

This helps content creators who need consistent, engaging news narration without manual hassle.

Also useful for people wanting easy automation of news-to-audio pipelines.


Tools and Services Used

  • n8n: Runs the automation workflow.
  • Google Gemini LLM: Classifies news and writes podcast scripts.
  • Hugging Face Text-to-Speech API: Converts text scripts into audio.
  • BBC News website: Source for news content.

How to Use This Workflow in n8n for Beginners

Step 1: Import the Workflow

  1. Download the workflow file by clicking the Download button on this page.
  2. In the n8n editor, open the menu and select Import from File.
  3. Choose the downloaded workflow file and import it.

Step 2: Configure Credentials

  1. Add your Google Gemini API key in the credentials section.
  2. Add your Hugging Face API key similarly.
  3. If asked, update URLs, email addresses, or channel names to fit your setup.

Step 3: Check Workflow Settings

  1. Look at each HTTP Request node to make sure URLs are correct.
  2. Check CSS selectors in HTML extraction nodes and update if BBC site changes.
  3. Review prompt texts in Gemini nodes to match the tone you want.

Step 4: Test and Activate

  1. Use the Manual Trigger node to run the workflow once and watch output.
  2. If output is okay, activate the workflow by toggling it to Active in n8n.
  3. Optionally, schedule the workflow using a cron trigger if you want automatic runs.

For users running self-host n8n, remember to safely store API keys and secure your instance.


Common Problems and How This Workflow Handles Them

  • Empty or blocked HTTP requests resolved by verifying URLs and headers.
  • Wrong news classification fixed by checking input expressions to Gemini nodes.
  • No scripts generated prevented by tuning the filtering criteria and prompt clarity.
  • Filtering out articles with no main content to avoid empty podcast sections.

Customization Ideas

  • Change news source by updating the BBC URL to another news site in the fetch node.
  • Change number of news items by adjusting the limit node’s max count.
  • Modify Gemini classification categories or criteria to fit different editorial guidelines.
  • Tweak the chatbot prompt to alter podcast script tone (more formal or casual).
  • Replace Hugging Face with another text-to-speech API by updating endpoints and credentials.

Summary of Results

✓ Saves many hours daily by removing manual news script writing.

✓ Delivers consistent, well-structured podcast scripts and audio.

→ Lets users focus on creative tasks, not repetitive work.

→ Provides a clear, easy path for beginners to use automation in podcast production.

Automate BBC news with n8n and Gemini

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

Yes, update the Fetch BBC News Page HTTP Request node URL and adjust CSS selectors to match the new site.
Yes, both APIs may use credits based on usage and subscription plans.
Data flows only between the n8n instance and third-party APIs using standard security. Users should protect API keys and instance access.
It processes 10 articles per run by default for stable performance. This can be changed but may affect API limits and processing time.

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.