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 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 Trigger: You send a YouTube URL to your Telegram Bot. Validate: The workflow checks the URL pattern using Regex. Extract: Decodo scrapes the video page to retrieve the full transcript JSON. Process: A Code node flattens the complex JSON into a readable text format. Summarize: OpenAI (gpt-4o-mini) analyzes the text and writes a script optimized for listening. Speak: OpenAI converts the script into a high-definition MP3 file. Deliver: The bot replies with the Audio File and a formatted text summary including the genre tags and original link.
š„ Decodo Node Installation
The Decodo node is used in this workflow for fetching the YouTube Transcript.
Find the Node: Click the + button in your n8n canvas. Search: Search for the Decodo node and select it. Credentials: When configuring the first Decodo node, use your API key (obtained with the 80% discount coupon). Setup: Open the Decodo (Fetch YouTube Transcript) node to ensure it is correctly targeting the YouTube service.
š Exclusive Deal for n8n Users
To run this workflow, you require a robust scraping provider. We have secured a massive discount for Decodo users:
Get 80% OFF the 23k Advanced Scraping API plan. Coupon Code: ATTAN8N Sign Up Here: Claim 80% Discount on Decodo ā How to Adapt the Template
This workflow is highly flexible and can be modified for various content tasks:
Change AI Model:* Easily swap the OpenAI Chat Model node with an OpenAI or Anthropic (Claude)* node without altering the core logic. Create Long-Form Drafts:** Modify the AI System Prompt to generate a full 1,000-word blog post draft or a set of social media updates instead of a short audio script. Change Destination:* Replace the Telegram nodes with *Slack, Microsoft Teams, Email (Gmail/SMTP), or Discord to deliver the audio and summary to your preferred channel. Create an Archive: Connect the successful output to a Google Sheets or Airtable node to keep a searchable archive of every video summary created.
Related Templates
Automatic News Summarization & Email Digest with GPT-4, NewsAPI and Gmail
š° AI News Digest Agent: Auto News Summarizer & Email Newsletter Create an intelligent news curation system that automat...
Generate Food Recipes from Gmail & Form Requests with Ollama & Llama 3.2
This n8n template demonstrates how to create an intelligent food recipe assistant that accepts requests via Gmail and we...
Auto-classify Gmail emails with AI and apply labels for inbox organization
Who is this for? Professionals and individuals who receive high volumes of emails, those who want to automatically organ...
š Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments