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?
Happy Automating! ๐