Back to Templates

Convert RSS Feeds into a Podcast with Google Gemini, Kokoro TTS, and FFmpeg

Created by

Created by: Jonas || jony-cornelio

Jonas

Last update

Last update 2 days ago

Share


🎧 Daily RSS Digest & Podcast Generation

This workflow automates the creation of a daily sports podcast from your favorite news sources. It fetches articles, uses AI to write a digest and a two-person dialogue, and produces a single, merged audio file with KOKORO TTS ready for listening.

✨ How it works:

📰 Fetch & Filter Daily News: The workflow triggers daily, fetches articles from your chosen RSS feeds, and filters them to keep only the most recent content.

✍️ Generate AI Digest & Script:

Using Google Gemini, it first creates a written summary of the day's news. A second AI agent then transforms this news into an engaging, conversational podcast script between two distinct AI speakers.

🗣️ Generate Voices in Chunks:

The script is split into individual lines of dialogue. The workflow then loops through each line, calling a Text-to-Speech (TTS) API to generate a separate audio file (an MP3 chunk) for each part of the conversation.

🎛️ Merge Audio with FFmpeg:

After all the audio chunks are created and saved locally, a command-line script generates a list of all the files and uses FFmpeg to losslessly merge them into a single, seamless MP3 file. All temporary files are then deleted.

📤 Send the Final Podcast:

The final, merged MP3 is read from the server and delivered directly to your Telegram chat with a dynamic, dated filename.

You can modify:

  • 📰 The RSS Feeds to any news source you want.
  • 🤖 The AI Prompts to change the tone, language, or style of the digest and podcast.
  • 🎙️ The TTS Voices used for the two speakers.
  • 📫 The Final Delivery Method (e.g., send to Discord, save to Google Drive, etc.).

Perfect for creating a personalized, hands-free news briefing to listen to on your commute.

Inspired by: https://n8n.io/workflows/6523-convert-newsletters-into-ai-podcasts-with-gpt-4o-mini-and-elevenlabs/