Templates / Extract transcripts from external YouTube videos using YouTube Transcript API

Extract transcripts from external YouTube videos using YouTube Transcript API

Ready for 3.0

by Joel Cantero ✓ · 3,471 views · created 2025-12-16 · Document Extraction

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 11 nodes and runs when another workflow calls it. It uses only n8n's built-in nodes. It also calls youtube-transcript.io over HTTP.

How it runs

Trigger: When another workflow calls it.

  1. Set Variables (Edit Fields (Set)): sets 2 fields: youtubeVideoId, apiToken
  2. Get Transcript (YouTube Transcript API) (HTTP Request): calls youtube-transcript.io (POST)
  3. Switch: routes items into 3 branches
  4. Parse API Response (Code): runs custom JavaScript code
  5. Not Enough Credits (Stop and Error): stops the run with an error
  6. Generic Error (Stop and Error): stops the run with an error
  7. If: checks a condition and branches into true / false
  8. Clean Transcript (Code): runs custom JavaScript code
  9. No Transcript Fallback (Code): runs custom JavaScript code
  10. No Transcript (Stop and Error): stops the run with an error

HTTP calls to: youtube-transcript.io

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (7)

From the author

🚀 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…

Excerpt from Joel Cantero's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.