Turn BBC News articles into podcasts using Hugging Face and Goog
Turn BBC News Articles into Podcasts using Hugging Face and Google Gemini Effortlessly transform BBC news articles into engaging podcasts with this automated...
🔌 Nodes & Integrations Used (7)
📖 Implementation & Setup Guide
Turn BBC News Articles into Podcasts using Hugging Face and Google Gemini
Effortlessly transform BBC news articles into engaging podcasts with this automated n8n workflow.
Who is this for?
This template is perfect for:
* **Content creators** who want to quickly produce podcasts from current events. * **Students** looking for an efficient way to create audio content for projects or assignments. * **Individuals** interested in generating their own podcasts without technical expertise.
Setup Information
- **Install n8n:** If you haven't already, download and install n8n from [n8n.io](https://n8n.io/).
- **Import the Workflow:** Copy the JSON code for this workflow and import it into your n8n instance.
- **Configure Credentials:**
- * **Gemini API:** Set up your Gemini API credentials in the workflow's LLM nodes.
- * **Hugging Face Token:** Obtain an access token from Hugging Face and add it to the HTTP Request node for the text-to-speech model.
- **Customize (Optional):**
- * **Filtering Criteria:** Adjust the News Classifier node to fine-tune the selection of news articles based on your preferences.
- * **Output Options:** Modify the workflow to save the generated audio file to a cloud storage service or publish it to a podcast hosting platform.
Prerequisites
* An active n8n instance. * Basic understanding of n8n workflows (no coding required). * API credentials for Gemini and a Hugging Face account with an access token.
What problem does it solve?
This workflow eliminates the manual effort involved in creating podcasts from news articles. It automates the entire process, from fetching and filtering news to generating the final audio file.
What are the benefits?
* **Time-saving:** Create podcasts in minutes, not hours. * **Easy to use:** No coding or technical skills required. * **Customizable:** Adapt the workflow to your specific needs and preferences. * **Cost-effective:** Leverage free or low-cost services like Gemini and Hugging Face.
How does it work?
- The workflow fetches news articles from the BBC website.
- It filters articles based on their suitability for a podcast.
- It extracts the full content of the selected articles.
- It uses Gemini LLM to create a podcast script.
- It converts the script to speech using Hugging Face's text-to-speech model.
- The final podcast audio is ready for use.
Nodes in the Workflow
- **Fetch BBC News Page:** Retrieves the main BBC News page.
- **News Classifier:** Categorizes news articles using Gemini LLM.
- **Fetch BBC News Detail:** Extracts detailed content from suitable articles.
- **Basic Podcast LLM Chain:** Generates a podcast script using Gemini LLM.
- **HTTP Request:** Converts the script to speech using Hugging Face.
Add Story
I'm excited to share this workflow with the n8n community and help content creators and students easily produce engaging podcasts!
Additional Tips
* Explore the n8n documentation and community resources for more advanced customization options. * Experiment with different filtering criteria and LLM prompts to achieve your desired podcast style.
⚡ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
Turn_BBC_News_articles_into_podcasts_using_Hugging_Face_and_Goog.json. - Log in to your n8n Cloud or self-hosted n8n instance.
- In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
- Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
- Click Execute Workflow to test and switch to Active!
Related General Automation Workflows
View All in General Automation →Generate Application Copy
Production-ready n8n automation template for Generate Application Copy built by AhiXLight. Seamlessly connects Execute Workflow Trigger, OpenAI with 4 configured nodes.
2-way sync Google Contacts and Notion
Sync your Google Contacts with your Notion database. You can filter contacts by label or sync all contacts. All contact information is kept in sync between G...
2D Image to 3D Model Automation
Production-ready n8n automation template for 2D Image to 3D Model Automation built by AhiXLight. Seamlessly connects HTTP Request, Google Sheets, Google Drive with 17 configured nodes.
2 way sync assignments completion between Canvas LMS and Notion
Syncs assignments and completion states to and fro between Canvas LMS and a Notion database. Automatically triggers every 2 hours during the schoolday by def...