đ YouTube channel monitor with Video Stats, AI transcription & Summarization
⥠262 views · đ Market Research & Insights
đĄ Pro Tip â YouTubeâs API quotas can be a bottleneck when youâre pulling data at scale. ScraperNode is a community node with dedicated scrapers for channels, videos, and comments â no quota limits, just structured data.
Description
This n8n workflow monitors YouTube channels 24/7, transcribes new videos with AI, and scores them by relevanceâall automatically saved to Google Sheets.
About
This n8n workflow automatically monitors YouTube channels, transcribes new videos, and generates AI-powered summaries with relevance scoring. It pulls channel URLs from a Google Sheet, fetches recent videos (last 30 days) using the YouTube Data API v3, grabs each videoâs views and likes, transcribes them using Google Gemini, and saves detailed summaries back to your spreadsheet with relevance scores based on your custom criteria.
How It Works
- Schedule Trigger: Runs weekly (every 7 days at 7:05 AM)
- Fetch Channels: Reads channel URLs and filter criteria from Google Sheets
- Get Channel ID: Uses the YouTube API to look up each channelâs ID from its handle
- Fetch Recent Videos: Pulls up to 20 latest videos per channel via the YouTube API
- Filter Videos: Only keeps videos from the last 30 days
- Get Video Stats: Fetches each videoâs view count and like count from the YouTube API
- Check for Duplicates: Skips videos already saved in your spreadsheet
- Transcribe: Uses Google Gemini API to watch and transcribe the video content
- Summarize & Score: AI agent analyzes the transcript against your criteria and generates:
- Full 500-word summary in markdown
- Short bullet-point summary
- Topic classification
- Relevance score (1â10)
- Relevance reasoning
- Save Results: Appends or updates all video data (including views, likes, transcript, summary) in Google Sheets
Setup Instructions â Step by Step (Anyone Can Do This!)
What Youâll Need Before Starting
- An n8n account â cloud or self-hosted (n8n.io)
- A Google account (for Google Sheets and API access)
- A Gemini API key (free to get â instructions below)
- A YouTube Data API key (free to get â instructions below)
Donât worry if youâve never done this before â each step is explained simply!
Step 1: Make a Copy of the Google Sheet
This is where all your channels and video results will be stored.
- Open the template: Click here to open the Google Sheet
- Click File â Make a copy and save it to your own Google Drive
- Youâll see two tabs at the bottom: channels and videos
The âchannelsâ tab is where you tell the workflow which YouTube channels to watch:
- Column A â
category: A label for the channel group (e.g. âAI Newsâ, âMarketingâ) - Column B â
channels: Paste one or more YouTube channel URLs, separated by commas (e.g.https://youtube.com/@mkbhd, https://youtube.com/@fireship) - Column C â
video filter criteria: Describe what kind of videos matter to you (e.g. âvideos about AI tools for business ownersâ)
The âvideosâ tab is filled in automatically by the workflow â you donât need to do anything here.
Step 2: Get Your Gemini API Key (Free)
Gemini is Googleâs AI â it reads and summarizes the videos for you.
- Go to: https://makersuite.google.com/app/apikey
- Sign in with your Google account
- Click âCreate API Keyâ
- Copy the key and save it somewhere safe (like a notes app)
Step 3: Get Your YouTube API Key (Free)
This lets the workflow search YouTube channels and fetch video details like views and likes.
- Go to: https://console.cloud.google.com
- Sign in with your Google account
- Click âSelect a projectâ at the top, then âNew Projectâ â give it any name and click Create
- Once inside the project, click the hamburger menu (â°) â APIs & Services â Library
- Search for âYouTube Data API v3â and click on it
- Click Enable
- Now go to APIs & Services â Credentials
- Click â+ Create Credentialsâ â API Key
- Copy the key that appears and save it
Step 4: Import the Workflow into n8n
- Open your n8n dashboard
- Click âNew Workflowâ â then click the three dots (âź) menu â âImport from JSONâ
- Paste the workflow JSON and click Import
Step 5: Connect Your Google Account
The workflow needs permission to read and write to your Google Sheet.
- In the workflow, click on any node that says âGoogle Sheetsâ
- Under Credential, click âCreate new credentialâ
- Follow the pop-up to sign in with your Google account and grant access
- Once connected, all Google Sheets nodes will use this same account
Step 6: Add Your API Keys
- Find the node called âSet channel and APIâ (itâs an orange node near the start of the flow)
- Click on it to open it
- Replace
your_api_keyin the gemini_api_key field with your Gemini key from Step 2 - Replace
your_api_keyin the youtube_api field with your YouTube key from Step 3 - Click Save
Step 7: Update the Google Sheet ID
The workflow needs to know which spreadsheet to use â this is the long string of letters in your sheetâs URL.
- Open your copied Google Sheet
- Look at the URL â it looks like:
https://docs.google.com/spreadsheets/d/THIS_IS_YOUR_ID/edit - Copy that ID
- In n8n, click on any Google Sheets node and update the Document ID field with your ID
- Do this for all Google Sheets nodes (there are a few â look for the yellow spreadsheet icons)
Step 8: Test It!
- Add a YouTube channel URL to your channels sheet (Column B)
- Add a category in Column A and a description in Column C
- In n8n, click âTest Workflowâ (the play button)
- Watch it run â after a minute or two, check your videos tab in Google Sheets for results!
Step 9: Turn It On (Activate)
Once youâre happy it works:
- Click the toggle switch at the top of the n8n workflow to Activate it
- It will now run automatically every week at 7:05 AM â no action needed from you!
Optional Adjustments
- Change how far back it looks: The workflow currently checks videos from the last 30 days. To change this, find the âLast 30 daysâ filter node and edit the number.
- Change the schedule: Click the âSchedule Triggerâ node and set whatever day/time you prefer.
- Adjust wait times: The workflow has built-in pauses between videos to avoid hitting API limits. You can make them shorter if youâre processing fewer channels.
Good to Know
- Videos already in your sheet wonât be processed again â no duplicates
- If a video fails to transcribe, the workflow moves on to the next one automatically
- Each videoâs views and likes are saved alongside the summary
- The workflow supports multiple channels per row â just separate URLs with commas
đ Nodes Used
Google Sheets, HTTP Request, Schedule Trigger, Filter, Basic LLM Chain, Structured Output Parser
đ„ Import
Download workflow.json and import into n8n:
Workflow menu â Import from File