Skip to main content

Extract YouTube auto-generated transcripts for AI analysis and storage

Workflow preview

Workflow preview
100%
Extract YouTube auto-generated transcripts for AI analysis and storage preview
Open on n8n.io

1. Workflow Overview

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. ...

Best for

  • Document Extraction automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.executeworkflowtrigger, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.xml, n8n-nodes-base.stickynote, n8n-nodes-base.stopanderror

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Joel Cantero.

Original n8n.io source

1.1 Workflow description

Title
Extract YouTube auto-generated transcripts for AI analysis and storage
Workflow name
Extract YouTube auto-generated transcripts for AI analysis and storage

🎬 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...]
}

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Trigger: Execute Workflow

Type / Role
n8n-nodes-base.executeWorkflowTrigger - executeWorkflowTrigger
Config choices
Version 1.1

Block 2 - Fetch: YouTube Page HTML

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 3 - Extract: API Key & Video ID

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 4 - API: Get Video Metadata

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 5 - Extract: Auto-Generated Transcript URL

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 6 - Fetch: Transcript XML

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 7 - Parse: XML to JSON

Type / Role
n8n-nodes-base.xml - xml
Config choices
Version 1

Block 8 - Transform: Process Transcript

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 9 - πŸ“‹ Sticky: Overview

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Stop and Error

Type / Role
n8n-nodes-base.stopAndError - stopAndError
Config choices
Version 1

Block 11 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Extract YouTube auto-generated transcripts for AI analysis and storage
Complexity intermediate
Nodes 12
Categories Document Extraction
Author Joel Cantero
Published 02 Jan 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/12407/12407.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Extract YouTube auto-generated transcripts for AI analysis and storage do?

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. ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction use case.