9_youtube_summarizer
9. YouTube Video Summarizer
Description
This workflow automatically generates a summary of new videos from your favorite YouTube channels. It triggers when a new video is posted, fetches the video's details and transcript, uses a Large Language Model (LLM) to create a summary, and then saves it to a Notion database.
Architecture
graph TD
A[YouTube RSS Trigger] --> B{Get Video Transcript};
B --> C{AI Agent LLM Summarizer};
C --> D[Save to Notion];
Setup
- Import Workflow: Import the
workflow.jsonfile into your n8n instance. - Configure YouTube Trigger:
- In the "New Video in Channel" node, you need to find the RSS feed for the YouTube channel. You can usually get this by going to the channel's page, viewing the source, and searching for
rssor by using an online tool to find the feed URL. - Paste the RSS feed URL into the
URLfield.
- In the "New Video in Channel" node, you need to find the RSS feed for the YouTube channel. You can usually get this by going to the channel's page, viewing the source, and searching for
- Get Transcript:
- The "Get Transcript" node uses a community node (
n8n-nodes-youtube-transcript). You may need to install this first by going to Settings > Community Nodes. - The video URL is passed from the RSS feed trigger.
- The "Get Transcript" node uses a community node (
- Configure LLM:
- In the "Summarize Video" node, configure the URL and authentication for your LLM API.
- The prompt is configured to take the video transcript and create a concise summary.
- Configure Notion:
- In the "Save to Notion" node, create or select your Notion credentials.
- Select the "Database/Page" where you want to save the summaries.
- Map the fields from your Notion database to the data from the previous steps (e.g., Video Title, Summary, URL).
Execution
- The workflow is triggered by a schedule (it polls the RSS feed). You can configure the polling interval in the trigger node's settings.
- Once a new video is detected, the workflow will run automatically, and the summary will appear in your Notion database.