{
  "nodes": [
    {
      "parameters": {
        "content": "**Summarize YouTube videos**\n\nThis project automates the summarization of YouTube videos, transforming lengthy content into concise, actionable insights. By leveraging AI and workflow automation, it extracts video transcripts, analyzes key points, and generates summaries, saving time for content creators, researchers, and professionals. Perfect for staying informed, conducting research, or repurposing video content efficiently.",
        "height": 120,
        "width": 1160,
        "color": 7
      },
      "id": "436d70c5-9997-449e-9667-cd91007e6e0e",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        -100
      ],
      "typeVersion": 1
    },
    {
      "parameters": {
        "content": "Add the full YouTube URL. \u261d\ufe0f\nYou can change this input to a webhook or anything else.",
        "height": 80,
        "width": 230
      },
      "id": "adf713d9-74e8-4d6d-b026-7d529d43e840",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -100,
        320
      ],
      "typeVersion": 1
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.apify.com/v2/acts/topaz_sharingan~youtube-transcript-scraper-1/run-sync-get-dataset-items",
        "sendQuery": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "token",
              "value": "APIFY_TOKEN"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n    \"startUrls\": [\"{{ $json['Full URL'] }}\"]\n}",
        "options": {}
      },
      "id": "7d082d2a-3981-4742-aca8-c34e39010b5a",
      "name": "Request YouTube Transcript",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        240,
        180
      ],
      "typeVersion": 4.2
    },
    {
      "parameters": {
        "content": "Apify token- https://console.apify.com/settings/integrations\n",
        "height": 340,
        "width": 280,
        "color": 3
      },
      "id": "04da4529-3aae-421b-aea9-098d0c051b73",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        160,
        60
      ],
      "typeVersion": 1
    },
    {
      "parameters": {
        "options": {}
      },
      "id": "a063d83b-bcab-4e11-a260-58e1975423dd",
      "name": "Summarization of a YouTube script",
      "type": "@n8n/n8n-nodes-langchain.chainSummarization",
      "position": [
        480,
        180
      ],
      "typeVersion": 2
    },
    {
      "parameters": {
        "formTitle": "Summarize YouTube video's",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Full URL"
            }
          ]
        },
        "options": {
          "path": "ddd"
        }
      },
      "id": "e1187bbd-c7f0-41e3-8b46-22ea6da651c2",
      "name": "YouTube video URL",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        20,
        180
      ],
      "typeVersion": 2.2
    },
    {
      "parameters": {
        "model": "gpt-4.1",
        "options": {}
      },
      "id": "a34e1a7a-7d61-4b8b-950a-f621dc720383",
      "name": "Summarization Engine",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        500,
        400
      ],
      "typeVersion": 1.1,
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "content": "The summarization node works automatically and professionally, recognizing the input text and processing it directly without requiring any enhancements from your side\ud83d\udc47",
        "width": 280,
        "color": 5
      },
      "id": "ad8d77b8-6e43-4a18-bba0-63324efe607c",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        60
      ],
      "typeVersion": 1
    },
    {
      "parameters": {
        "operation": "append",
        "documentId": {
          "__rl": true,
          "value": "1OdnSIKimS3QMRMiZsAikudPjA8cdW3A-U4ICtZ81PuE",
          "mode": "list",
          "cachedResultName": "Best of All",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1OdnSIKimS3QMRMiZsAikudPjA8cdW3A-U4ICtZ81PuE/edit?usp=drivesdk"
        },
        "sheetName": {
          "__rl": true,
          "value": 1357025540,
          "mode": "list",
          "cachedResultName": "YouTube",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1OdnSIKimS3QMRMiZsAikudPjA8cdW3A-U4ICtZ81PuE/edit#gid=1357025540"
        },
        "columns": {
          "mappingMode": "defineBelow",
          "value": {
            "URL": "={{ $('Request YouTube Transcript').item.json.url }}",
            "Transcript": "={{ $('Request YouTube Transcript').item.json.transcript }}",
            "Concise Summary": "={{ $json.response.text }}"
          },
          "matchingColumns": [],
          "schema": [
            {
              "id": "URL",
              "displayName": "URL",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "Transcript",
              "displayName": "Transcript",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true,
              "removed": false
            },
            {
              "id": "Concise Summary",
              "displayName": "Concise Summary",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true,
              "removed": false
            }
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {}
      },
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4.5,
      "position": [
        840,
        180
      ],
      "id": "740dc3f6-1420-453b-b0e1-9453ad64e745",
      "name": "Google Sheets",
      "credentials": {
        "googleSheetsOAuth2Api": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Request YouTube Transcript": {
      "main": [
        [
          {
            "node": "Summarization of a YouTube script",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Summarization of a YouTube script": {
      "main": [
        [
          {
            "node": "Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "YouTube video URL": {
      "main": [
        [
          {
            "node": "Request YouTube Transcript",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Summarization Engine": {
      "ai_languageModel": [
        [
          {
            "node": "Summarization of a YouTube script",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  },
  "meta": {
    "templateCredsSetupCompleted": true
  }
}