Skip to main content
J

Joel Cantero

2
Workflows

Workflows by Joel Cantero

Workflow preview: Extract transcripts from external YouTube videos using YouTube Transcript API
Free advanced

Extract transcripts from external YouTube videos using YouTube Transcript API

## 🚀 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)

J
Joel Cantero
Document Extraction
16 Dec 2025
528
0
Workflow preview: Extract clean transcripts from your YouTube channel videos using Data API
Free advanced

Extract clean transcripts from your YouTube channel videos using Data API

**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)* 1. **📥 Input**: Receives `videoId` + `preferredLanguage` 2. **🔍 API**: Lists captions from **your channel** 3. **🆔 Selector**: Picks preferred language (fallback to first) 4. **📥 Download**: Gets VTT subtitle file 5. **🧹 Cleaning**: Removes timestamps, [Music], duplicates 6. **✅ 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?** - [n8n Forum](https://community.n8n.io/) **Happy Automating! 🎉**

J
Joel Cantero
Document Extraction
15 Dec 2025
61
0