This workflow is designed to analyze YouTube videos by extracting their transcripts, summarizing the content using AI models, and sending the analysis via email.
This workflow is ideal for content creators, marketers, or anyone who needs to quickly analyze and summarize YouTube videos for research, content planning, or educational purposes.
How It Works:
-
Trigger: The workflow starts with a manual trigger, allowing you to test it by clicking "Test workflow." You can also set a YouTube video URL manually or dynamically.
-
YouTube Video ID Extraction:
- The workflow extracts the YouTube video ID from the provided URL using a custom JavaScript function. This ID is necessary for fetching the transcript.
-
Transcript Generation:
- The video ID is sent via an HTTP request to generate the transcript. You need to replace
APIKEY
with a free API key from the service.
-
Transcript Validation:
- The workflow checks if a transcript exists for the video. If a transcript is available, it proceeds; otherwise, it stops.
-
Full Text Extraction:
- If a transcript exists, the workflow combines all transcript segments into a single text variable for further analysis.
-
AI-Powered Analysis:
- The full transcript is passed to an AI model (DeepSeek, OpenAI, or OpenRouter) for analysis. The AI generates a structured summary, including a title and key points, formatted in markdown.
-
Email Notification:
- The analysis results (title and summary) are sent via email using SMTP credentials. The email contains the structured summary of the video.
Set Up Steps:
-
YouTube Transcript API:
- Obtain a free API key from youtube-transcript.io and replace
APIKEY
in the "Generate transcript" node with your key.
-
AI Model Configuration:
- Configure the AI model nodes (DeepSeek, OpenAI, or OpenRouter) with the appropriate API credentials. You can choose one or multiple models depending on your preference.
-
Email Setup:
- Configure the "Send Email" node with your SMTP credentials (e.g., Gmail, Outlook, or any SMTP service). Ensure the email settings are correct to send the analysis results.
Key Features:
- Free Tools: Uses youtube-transcript.io for free transcript generation.
- AI Models: Supports multiple AI models (DeepSeek, OpenAI, OpenRouter) for flexible analysis.
- Email Notifications: Sends the analysis results directly to your inbox.
- Customizable: Easily adapt the workflow to analyze different videos or use different AI models.