🔬 Generate downloadable YouTube transcripts with Supadata
⚡ 0 views · 🔬 Document Extraction & Analysis
💡 Pro Tip — YouTube’s API quotas can be a bottleneck when you’re pulling data at scale. ScraperNode is a community node with dedicated scrapers for channels, videos, and comments — no quota limits, just structured data.
Description
Quick overview
This workflow collects a YouTube video URL via an n8n form, fetches the transcript from Supadata’s YouTube Transcript API, formats it into plain text, and returns it as a downloadable .txt file.
How it works
- Presents an n8n form where the user submits a YouTube video URL.
- Calls the Supadata YouTube Transcript API with the submitted URL to retrieve the transcript text.
- Extracts the video ID from the URL, validates that transcript content exists, and formats a transcript header plus the full text.
- Converts the formatted transcript into a .txt file with a filename based on the video ID.
- Responds with the generated text file so the user can download the transcript.
Setup
- Create a Supadata account, generate an API key, and replace the hardcoded
x-api-keyheader value in the Supadata request. - Ensure the n8n Form Trigger is reachable (configure your public n8n URL if needed) and use the form URL to access the workflow.
- Confirm the submitted link is a valid YouTube URL (including Shorts) that has transcripts available, otherwise the workflow returns an error.
🔗 Nodes Used
HTTP Request, n8n Form Trigger, Convert to File, n8n Form
📥 Import
Download workflow.json and import into n8n:
Workflow menu → Import from File