{
  "name": "Analyze YouTube videos and auto-generate AI reports in Google Docs with DeepSeek",
  "nodes": [
    {
      "id": "7c913788-7b16-4275-9d9e-192d4a0a4fa4",
      "name": "OpenRouter Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        992,
        448
      ]
    },
    {
      "id": "e4006991-464c-4d50-bbe9-03de8d2fea3a",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        1440,
        240
      ]
    },
    {
      "id": "3e1437d6-4d15-4977-8274-88a4fa99cf7d",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        144,
        48
      ],
      "parameters": {
        "width": 524,
        "height": 580,
        "content": "### Transcribing\nThe workflow starts by accepting a YouTube link or uploaded video.  \nIt then sends the video to the transcription API to convert the audio into text.  \nThis transcript becomes the inp"
      }
    },
    {
      "id": "dacfd15e-41cb-4306-853e-881724b09608",
      "name": "Transcription using Supadata.ai",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        512,
        240
      ]
    },
    {
      "id": "980b720d-2188-4745-917e-872548d176dc",
      "name": "Analyser",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        736,
        240
      ]
    },
    {
      "id": "fa8fecd6-400a-4ea6-b442-1fab38831b6e",
      "name": "File Name Detector",
      "type": "@n8n/n8n-nodes-langchain.informationExtractor",
      "position": [
        1072,
        240
      ]
    },
    {
      "id": "c12b64f7-2fb1-41db-b67f-61be8d3bc26e",
      "name": "Creating New File",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        1888,
        240
      ]
    },
    {
      "id": "42992016-bdab-482a-8812-c6e9eb30b090",
      "name": "Updating Content in File",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        2112,
        240
      ]
    },
    {
      "id": "6fdbc4de-e634-46e9-8035-27cd022554d8",
      "name": "Upload File or YouTube Link",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        288,
        240
      ]
    },
    {
      "id": "b944f1cf-fee2-49ae-82e9-67e0aa511a57",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1664,
        240
      ]
    },
    {
      "id": "b6a8ba7b-b6a3-4e5f-bd53-e97d7aef7d45",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        688,
        48
      ],
      "parameters": {
        "width": 716,
        "height": 580,
        "content": "### Analyzing\nThe transcript is passed to an AI agent that acts as a video analyst.  \nIt reads the full transcript, extracts insights, and generates a structured analysis report along with key metadat"
      }
    },
    {
      "id": "54ecec92-8033-4e93-8c85-7ddc0c7730eb",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1424,
        48
      ],
      "parameters": {
        "width": 924,
        "height": 580,
        "content": "### Storing\nFinally, the workflow creates a Google Docs file using the extracted title.  \nThe generated analysis report is inserted into the document, allowing easy sharing, documentation, and future "
      }
    },
    {
      "id": "440cdb11-7a50-40b0-9e0b-0fc91314848a",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -368,
        48
      ],
      "parameters": {
        "width": 492,
        "height": 788,
        "content": "A compact n8n workflow that accepts a YouTube link or uploaded video, pulls a transcript via Supadata.ai, runs a language-model-based video analysis agent to produce a structured report, extracts a ti"
      }
    }
  ],
  "connections": {
    "Merge": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analyser": {
      "main": [
        [
          {
            "node": "File Name Detector",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "Creating New File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Creating New File": {
      "main": [
        [
          {
            "node": "Updating Content in File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "File Name Detector": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Analyser",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "File Name Detector",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Upload File or YouTube Link": {
      "main": [
        [
          {
            "node": "Transcription using Supadata.ai",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Transcription using Supadata.ai": {
      "main": [
        [
          {
            "node": "Analyser",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}