π¬ Extract clean transcripts from your YouTube channel videos using Data API
β‘ 131 views Β· π¬ Document Extraction & Analysis
π‘ 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
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.readscope) - β Update credentials in List Captions + Download VTT nodes
- β n8n HTTP Request + Code nodes
π¬ Need Help?
Happy Automating! π
π Nodes Used
HTTP Request, Stop and Error, Execute Workflow Trigger, Extract from File
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File