This workflow corresponds to n8n.io template #6225 — we link there as the canonical source.
This workflow follows the Chainsummarization → OpenAI Chat recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"id": "88OE2dFM5fYLAbvn",
"meta": {
"templateCredsSetupCompleted": true
},
"name": "Workflowforn8n_Template",
"tags": [],
"nodes": [
{
"id": "e28c7bca-4a0c-4a4e-ae7a-2512d79a5a58",
"name": "On form submission",
"type": "n8n-nodes-base.formTrigger",
"position": [
0,
-20
],
"parameters": {
"options": {},
"formTitle": "Youtube Summary",
"formFields": {
"values": [
{
"fieldLabel": "Youtube URL",
"placeholder": "Enter youtube url",
"requiredField": true
}
]
},
"formDescription": "Give youtube url and get summary"
},
"typeVersion": 2.2
},
{
"id": "74693568-c18d-4abc-8e8d-6a588b2dc362",
"name": "Apify",
"type": "@apify/n8n-nodes-apify.apify",
"position": [
400,
-20
],
"parameters": {
"memory": {},
"actorId": {
"__rl": true,
"mode": "list",
"value": "",
"cachedResultUrl": "",
"cachedResultName": "Youtube Transcripts"
},
"timeout": {},
"operation": "Run actor",
"customBody": "={{ $json.youtube.toJsonString() }}",
"waitForFinish": {}
},
"credentials": {
"apifyApi": {
"name": "<your credential>"
}
},
"typeVersion": 1
},
{
"id": "74f34bf5-5871-41d8-aa78-3fcb138e13c7",
"name": "Summarization Chain",
"type": "@n8n/n8n-nodes-langchain.chainSummarization",
"position": [
840,
-20
],
"parameters": {
"options": {}
},
"typeVersion": 2.1
},
{
"id": "cf0c986b-e08c-4d24-ac33-4f7c79aa8376",
"name": "OpenAI Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
940,
200
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4o-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"name": "<your credential>"
}
},
"typeVersion": 1.2
},
{
"id": "234223e9-3e32-4ba4-8b14-482c031328f2",
"name": "Payload",
"type": "n8n-nodes-base.set",
"position": [
180,
-20
],
"parameters": {
"mode": "raw",
"options": {},
"jsonOutput": "={\"youtube\":{\n \"urls\": [\n \"{{ $json['Youtube URL'] }}\"\n ],\n \"maxRetries\": 8,\n \"proxyOptions\": {\n \"useApifyProxy\": true,\n \"apifyProxyGroups\": [\n \"BUYPROXIES94952\"\n ]\n },\n \"outputFormat\": \"captions\",\n \"channelNameBoolean\": true,\n \"channelIDBoolean\": true,\n \"dateTextBoolean\": false,\n \"relativeDateTextBoolean\": false,\n \"datePublishedBoolean\": true,\n \"viewCountBoolean\": false,\n \"likesBoolean\": false,\n \"commentsBoolean\": false,\n \"keywordsBoolean\": false,\n \"thumbnailBoolean\": false,\n \"descriptionBoolean\": false\n}\n}\n "
},
"typeVersion": 3.4
},
{
"id": "d0b521f0-bf9f-4258-8711-56c346210151",
"name": "Caption",
"type": "n8n-nodes-base.set",
"position": [
620,
-20
],
"parameters": {
"mode": "raw",
"options": {},
"jsonOutput": "={\n\"captions\": {{ $json.captions }}\n}\n"
},
"typeVersion": 3.4
},
{
"id": "0ea73055-e1db-4eb3-9f42-7388c9f7ec37",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-100,
-120
],
"parameters": {
"width": 1360,
"height": 440,
"content": "## Summarize Youtube Video using OpenAI and APify"
},
"typeVersion": 1
},
{
"id": "b0d4c309-dd74-404b-b54a-39c89937a6dc",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-100,
360
],
"parameters": {
"color": 7,
"width": 1360,
"content": "## Summary\nUser submits a YouTube URL via a form \u2192 the URL is formatted into a payload \u2192 Apify actor fetches the video transcript \u2192 captions are extracted \u2192 OpenAI GPT-4o-mini generates the summary."
},
"typeVersion": 1
}
],
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "c8d39824-58e0-4f78-8583-d572936b9a04",
"connections": {
"Apify": {
"main": [
[
{
"node": "Caption",
"type": "main",
"index": 0
}
]
]
},
"Caption": {
"main": [
[
{
"node": "Summarization Chain",
"type": "main",
"index": 0
}
]
]
},
"Payload": {
"main": [
[
{
"node": "Apify",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "Summarization Chain",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"On form submission": {
"main": [
[
{
"node": "Payload",
"type": "main",
"index": 0
}
]
]
},
"Summarization Chain": {
"main": [
[]
]
}
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
apifyApiopenAiApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
This workflow contains community nodes that are only compatible with the self-hosted version of n8n.
Source: https://n8n.io/workflows/6225/ — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Summarize Youtube Videos From Transcript. Uses stickyNote, httpRequest, noOp, chainSummarization. Event-driven trigger; 10 nodes.
Who is this template for? This workflow template is designed for content creators, researchers, educators, and professionals who need quick, accurate summaries of YouTube videos. It’s ideal for those
2736. Uses httpRequest, chainSummarization, formTrigger, lmChatOpenAi. Event-driven trigger; 10 nodes.
Influencer 2.0. Uses formTrigger, form, informationExtractor, lmChatOpenAi. Event-driven trigger; 93 nodes.
Episode 18 Scary Stories TikTok final. Uses httpRequest, lmChatOpenAi, lmChatOllama, lmChatDeepSeek. Event-driven trigger; 83 nodes.