Skip to main content

Extract transcripts from external YouTube videos using YouTube Transcript API

Workflow preview

Extract transcripts from external YouTube videos using YouTube Transcript API preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

Overview

πŸš€ Try It Out!

YouTube Transcript API Extractor (Any Public Video)

Extracts a clean transcript from a videoId using youtube-transcript.io.


🎯 Use Cases

  • AI summaries, sentiment analysis, keyword extraction
  • Internal indexing/SEO
  • Content pipelines (blog/newsletter)
  • Batch transcript processing

πŸ”„ How It Works (5 Steps)

  1. πŸ“₯ Input: youtubeVideoId, apiToken
  2. 🌐 API: POST to youtube-transcript.io
  3. 🧩 Parse: Normalizes the response format
  4. 🧹 Clean: Normalizes text and whitespace
  5. βœ… Output: Transcript + metrics (wordCount/charCount)

πŸš€ How to Use

Payload:
{"youtubeVideoId":"xObjAdhDxBE", "apiToken": "xxxxxxxxxx"}

βš™οΈ Setup:

  • This sub-workflow is intended to be called from another workflow (Execute Workflow Trigger)