Extract Clean Transcripts from Your YouTube Channel Videos using Data API

Go to Workflow
0 views
Built by Joel Cantero Joel Cantero
Created on June 12, 2026

Description

YouTube Caption Extractor (Your Channel Only)
Extracts clean transcripts from YOUR CHANNEL YouTube video captions using YouTube Data API v3.

⚠️ API Limitation: Only works with videos from YOUR OWN CHANNEL. Cannot access external/public videos.

🎯 Use Cases
AI summarization & sentiment analysis
Keyword extraction from your content
Content generation from your videos
Batch transcript processing

🔄 How It Works (6 Steps)

📥 Input: Receives videoId + preferredLanguage
🔍 API: Lists captions from your channel
🆔 Selector: Picks preferred language (fallback to first)
📥 Download: Gets VTT subtitle file
🧹 Cleaning: Removes timestamps, [Music], duplicates
✅ Output: Clean transcript + metadata

🚀 How to Use
Trigger with JSON payload: {"youtubeVideoId": "YOUR_VIDEO_ID", "preferredLanguage": "es"}
Video ID must belong to your authenticated YouTube channel**
Works as sub-workflow (Execute Workflow Trigger) or replace with Webhook/Form trigger
Handles videos with no captions gracefully with structured error response
Output ready for downstream AI processing or storage

⚠️ Setup Required:
Change YouTube credentials* in *"List Captions"* and *"Download VTT"** nodes
Video ID from your authenticated channel
Sub-workflow or Webhook trigger
Graceful no-captions handling

🔧 Requirements
✅ YouTube OAuth2 (youtube.captions.read scope)
✅ Update credentials in List Captions + Download VTT nodes
✅ n8n HTTP Request + Code nodes

💬 Need Help?
n8n Forum

Happy Automating! 🎉

Nodes Used (2)

Code
n8n-nodes-base.code
HTTP Request
n8n-nodes-base.httpRequest