n8n YouTube Transcript & Summary Workflow (Free JSON)
Import this 5-node n8n JSON workflow in 30 seconds: receive any YouTube watch or Shorts URL via Webhook or RSS, fetch clean plain-text + timed transcripts from api.videodataapi.com, summarize with an LLM, and push structured notes to Slack or Notion.
$1.00 / 1K PAYG (~$0.60 / 1K on Pro · ~$0.40 / 1K on Business)
Ready-to-Import Code & Configuration
{
"name": "VideoData API — YouTube Transcript & LLM Summary to Slack/Notion",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "youtube-transcript-ingest",
"responseMode": "onReceived",
"options": {}
},
"id": "a1b2c3d4-0001-4000-8000-000000000001",
"name": "Webhook or RSS Trigger",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [
240,
300
]
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "extract-vid",
"name": "videoId",
"value": "={{ ($json.body?.video_url || $json.video_url || $json.link || 'https://www.youtube.com/watch?v=dQw4w9WgXcQ').match(/(?:v=|youtu\\.be\\/|shorts\\/)([A-Za-z0-9_-]{11})/)?.[1] || $json.body?.video_id || 'dQw4w9WgXcQ' }}",
"type": "string"
},
{
"id": "extract-lang",
"name": "lang",
"value": "={{ $json.body?.lang || $json.lang || 'en' }}",
"type": "string"
}
]
},
"options": {}
},
"id": "a1b2c3d4-0002-4000-8000-000000000002",
"name": "Normalize YouTube Video ID",
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
480,
300
]
},
{
"parameters": {
"method": "GET",
"url": "https://api.videodataapi.com/v1/youtube/transcript",
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "video_id",
"value": "={{ $json.videoId }}"
},
{
"name": "lang",
"value": "={{ $json.lang }}"
}
]
},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "x-api-key",
"value": "={{ $env.VIDEODATAAPI_KEY || 'yt_live_replace_with_your_key' }}"
},
{
"name": "Accept",
"value": "application/json"
}
]
},
"options": {
"timeout": 20000
}
},
"id": "a1b2c3d4-0003-4000-8000-000000000003",
"name": "GET VideoData API Transcript",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
740,
300
]
},
{
"parameters": {
"method": "POST",
"url": "https://api.openai.com/v1/chat/completions",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "={{ 'Bearer ' + ($env.OPENAI_API_KEY || 'sk-replace-me') }}"
},
{
"name": "Content-Type",
"value": "application/json"
}
]
},
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={{ JSON.stringify({ model: 'gpt-4o-mini', temperature: 0.2, messages: [ { role: 'system', content: 'Summarize YouTube transcripts into 5 executive takeaways, key timestamps, and action items.' }, { role: 'user', content: 'Video ID: ' + $json.data.video_id + '\\nLanguage: ' + ($json.data.language || 'en') + '\\n\\nTranscript:\\n' + ($json.data.full_text || '').slice(0, 48000) } ] }) }}",
"options": {}
},
"id": "a1b2c3d4-0004-4000-8000-000000000004",
"name": "LLM Executive Summary",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
1000,
300
]
},
{
"parameters": {
"method": "POST",
"url": "={{ $env.SLACK_OR_NOTION_WEBHOOK_URL || 'https://hooks.slack.com/services/T000/B000/XXXX' }}",
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={{ JSON.stringify({ text: '*New YouTube Summary* (https://youtu.be/' + $('Normalize YouTube Video ID').item.json.videoId + ')\\n\\n' + ($json.choices?.[0]?.message?.content || 'No summary generated.') }) }}",
"options": {}
},
"id": "a1b2c3d4-0005-4000-8000-000000000005",
"name": "Deliver to Notion or Slack",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
1260,
300
]
}
],
"connections": {
"Webhook or RSS Trigger": {
"main": [
[
{
"node": "Normalize YouTube Video ID",
"type": "main",
"index": 0
}
]
]
},
"Normalize YouTube Video ID": {
"main": [
[
{
"node": "GET VideoData API Transcript",
"type": "main",
"index": 0
}
]
]
},
"GET VideoData API Transcript": {
"main": [
[
{
"node": "LLM Executive Summary",
"type": "main",
"index": 0
}
]
]
},
"LLM Executive Summary": {
"main": [
[
{
"node": "Deliver to Notion or Slack",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
},
"meta": {
"templateId": "videodataapi-n8n-youtube-transcript-summary-v1"
}
}How This Pipeline Works
- 01
Webhook or YouTube Channel RSS Trigger
Receives a payload containing video_url or video_id (or swap in n8n's native RSS Read node polling https://www.youtube.com/feeds/videos.xml?channel_id=UC...).
- 02
Normalize 11-Character Video ID
Parses watch?v=, youtu.be/, and /shorts/ URLs into a clean 11-char videoId and ISO language code (default en).
- 03
HTTP Request -> GET /v1/youtube/transcript
Calls https://api.videodataapi.com/v1/youtube/transcript with x-api-key header. Works on n8n Cloud, Hetzner, AWS, and Railway with zero YouTube datacenter IP blocks.
- 04
LLM Summary -> Notion / Slack Delivery
Feeds data.full_text into GPT-4o-mini (or Claude / Ollama) and posts timestamped executive takeaways straight to Slack or Notion.
Quick Setup Checklist
- 01Copy or download the workflow .json above, open your n8n canvas, and press Cmd/Ctrl+V (or Menu -> Import from File).
- 02Sign up at videodataapi.com/signup for 3,000 Free Credits ($0.30 on sign-up — no card required, enough for 300 full video transcripts).
- 03Set VIDEODATAAPI_KEY in your n8n environment variables (or paste your yt_live_... key into the HTTP Request header).
- 04Send a test POST request with {"video_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"} and inspect data.full_text.
Transparent Credit Pricing
- • Transcripts / Video Metadata / Channels:
10 Credits= $1.00 / 1,000 PAYG (~$0.60/1K Pro · ~$0.40/1K Business) - • Search / Channel Videos / Shorts / Comments:
1 Credit / item(min 10) = $0.10 / 1,000 PAYG ($0.04–$0.06/1K Pro & Business) - • Zero-Risk Guarantee: 0 Credits charged on failed calls or empty results. Full rate card →
Frequently Asked Questions
Why do Python youtube-transcript-api or yt-dlp Execute Command nodes fail on n8n Cloud and VPS servers?
YouTube actively blocks datacenter ASNs used by n8n Cloud, Hetzner, DigitalOcean, AWS, and Railway with Sign in to confirm you're not a bot / IpBlocked errors. Calling GET https://api.videodataapi.com/v1/youtube/transcript uses a standard n8n HTTP Request node with zero headless browsers or proxy rotation to maintain.
How much does running 1,000 YouTube transcripts in n8n cost?
Each successful /v1/youtube/transcript request consumes 10 Credits ($0.001 base PAYG = $1.00 per 1,000 transcripts, or ~$0.40–$0.58 per 1,000 with Pro and Business bonus tiers). Failed lookups or videos without captions cost 0 Credits.
Can I add keyword search or video comments to the same n8n workflow?
Yes. Duplicate the HTTP Request node and point it to GET https://api.videodataapi.com/v1/youtube/search or /v1/youtube/comments. Search items and comments cost 1 Credit per item (minimum 10 Credits per call = $0.10 per 1,000 items).
More Workflow Integrations
← View All IntegrationsExtract YouTube Transcripts & Stats in Google Sheets
Enrich hundreds of YouTube URLs with titles, channel handles, view counts, likes, and full plain-text transcripts directly inside Google Sheets — driven by an explicit custom menu button so sheet reloads never re-trigger API charges.
Python @tool + MCPLangChain YouTube Transcript & Search Tool (Python/MCP)
Equip LangChain, LangGraph, and ReAct agents with typed Python @tool functions for real-time YouTube search and verbatim transcript extraction — or attach all 8 endpoints in 5 lines via our Model Context Protocol server.