See llms.txt for all machine-readable content.

Back to Templates

Extract YouTube auto-generated transcripts for AI analysis and storage

Created by

Created by: Joel Cantero || joelcantero
Joel Cantero

Last update

Last update 5 months ago

Categories

Share


๐ŸŽฌ Extract YouTube auto-generated transcripts and save them for AI processing

Direct YouTube API - Auto-Generated Only

Extracts the auto-generated transcript from any YouTube video automatically.


๐Ÿ”„ How It Works (5 Steps)

  1. ๐Ÿ“ฅ Input: youtubeVideoUrl only
  2. ๐ŸŒ Fetch: GET YouTube page HTML to extract INNERTUBE_API_KEY
  3. ๐Ÿ”‘ Extract: Parse API key and video ID
  4. ๐ŸŽฅ Metadata: GET caption metadata
  5. ๐Ÿค– Auto-Detect: Find auto-generated transcript (kind: asr)
  6. ๐Ÿ“ Fetch & Parse: Download and clean transcript

๐Ÿ”„ Setup steps

  1. Import the workflow to your n8n instance
  2. Activate the workflow
  3. Provide the YouTube video URL via webhook or manual trigger
  4. The workflow will automatically extract the auto-generated transcript
  5. Access the results in the specified output format

๐ŸŽฏ Use Cases

  • Extract auto-generated transcripts automatically
  • No language selection needed
  • Perfect for bulk transcript collection
  • AI processing, summarization, analysis
  • Content accessibility

โœ… Output Format

{
  "fullTranscript": "Auto-generated transcript text...",
  "wordCount": 1234,
  "transcript": [...timestamps...]
}