workflows.fit
Back to n8n workflows
n8n templateFreeBy Atta

Convert YouTube videos to audio summaries with Decodo, OpenAI & Telegram

Stop watching long videos, start listening to concise summaries. This workflow transforms any YouTube video URL sent via Telegram into a high-quality, spoken audio summary (MP3) and a structured text overview. It acts...

CommunicationHITLDevelopmentCore NodesAILangchainTelegramOutput Parser Structured
Loading interactive preview...

Template notes

Stop watching long videos, start listening to concise summaries.

This workflow transforms any YouTube video URL sent via Telegram into a high-quality, spoken audio summary (MP3) and a structured text overview. It acts as your personal AI research assistant, turning lengthy content into bite-sized audio files that you can consume on the go.

It leverages Decodo for robust transcript extraction, OpenAI for intelligent summarization, and for realistic text-to-speech generation.

---

✨ Features Telegram-First Interface: Send links and receive audio directly in your chat app. Smart Validation: Automatically checks if the link is a valid YouTube URL before processing to save API credits. Multi-Language Support: Easily configure the output language (English, Spanish, German, etc.) via a simple Config node. The AI will translate and speak in this language. Robust Error Handling: Gracefully handles videos with no captions/transcripts by notifying the user instead of breaking the workflow. Structured Data Extraction: Uses AI to extract the Genre, Title, and Summary alongside the audio file.

āš™ļø How it Works 1. Trigger: You send a YouTube URL to your Telegram Bot. 2. Validate: The workflow checks the URL pattern using Regex. 3. Extract: Decodo scrapes the video page to retrieve the full transcript JSON. 4. Process: A Code node flattens the complex JSON into a readable text format. 5. Summarize: OpenAI (gpt-4o-mini) analyzes the text and writes a script optimized for listening. 6. Speak: OpenAI converts the script into a high-definition MP3 file. 7. Deliver: The bot replies with the Audio File and a formatted text summary including the genre tags and original link.

---

šŸ“„ Decodo Node Installation