{
  "name": "Video transcript search and Q&A with VLM Run, GPT-4 & Google Workspace",
  "nodes": [
    {
      "id": "a85ebcf0-5f2a-4ee7-8c68-b00197810f4d",
      "name": "Google Drive Trigger",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "position": [
        0,
        0
      ]
    },
    {
      "id": "a87e6ce7-081c-4482-9372-33dad10d5b3b",
      "name": "Download file",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        208,
        0
      ]
    },
    {
      "id": "56911f23-a3e2-4e86-94ab-8e373d6676be",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        656,
        304
      ]
    },
    {
      "id": "e15b3d90-09be-4abd-90f9-2bdf68d93481",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        944,
        304
      ]
    },
    {
      "id": "390f8b2f-2fa6-40f4-8e99-31bb8ab339d4",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        928,
        512
      ]
    },
    {
      "id": "cff805f1-caaa-46c3-9f11-21fa534baa9b",
      "name": "Append row in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1040,
        0
      ]
    },
    {
      "id": "a4a451fd-d3c3-4f5b-bd26-b318e488b802",
      "name": "Get row(s) in sheet in Google Sheets",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        1104,
        496
      ]
    },
    {
      "id": "2a17a22e-a9d3-4068-8f41-e8861e5e4a8e",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -528,
        -384
      ],
      "parameters": {
        "width": 432,
        "height": 1072,
        "content": "## 🎥 Video Transcription + Q&A Pipeline\n\n**Overview:**\nNew files in a Google Drive folder trigger an auto-download. Videos are sent to VLM Run for transcription with an async callback. The webhook rec"
      }
    },
    {
      "id": "aed461ed-fca9-4058-90cf-a76ca12909ae",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -64,
        -384
      ],
      "parameters": {
        "width": 432,
        "height": 560,
        "content": "## 📁 Input Processing\n\n**Monitors & downloads video files from Google Drive.**\n\n**Process:**\n1. Google Drive Trigger watches the chosen folder every minute\n2. On new file, pass file id to Download fil"
      }
    },
    {
      "id": "c08cc4c2-4a38-403b-aa15-aac669f5a765",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        400,
        -384
      ],
      "parameters": {
        "width": 432,
        "height": 560,
        "content": "## 🤖 VLM Run Execute Agent\n\n**Uses VLM Run to transcribe video content asynchronously.**\n\n\n**Extracts:**\n* Full transcript or structured segments as returned by VLM Run\n\n\n**Features:**\n* Async process"
      }
    },
    {
      "id": "26167bc6-779a-4ad3-91e0-ed511a4b1a11",
      "name": "VLM Run for Video Processing",
      "type": "@vlm-run/n8n-nodes-vlmrun.vlmRun",
      "position": [
        448,
        0
      ]
    },
    {
      "id": "bc679495-9f40-4453-9552-6d4cb54bfa5b",
      "name": "Receives JSON Data",
      "type": "n8n-nodes-base.webhook",
      "position": [
        688,
        0
      ]
    },
    {
      "id": "834078ed-48c5-42b2-8d40-24e60b8c0ce9",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        864,
        -384
      ],
      "parameters": {
        "width": 432,
        "height": 560,
        "content": "## 📊 Data Storage\n\n**Stores transcript output in Google Sheets for retrieval and Q&A.**\n\n\n**Features:**\n* Appends a new row per completed job\n* Columns include Data for transcript and Video Name for i"
      }
    },
    {
      "id": "18281c54-6103-4060-a3f4-17d1afa7ded0",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -64,
        208
      ],
      "parameters": {
        "width": 1360,
        "height": 480,
        "content": "\n## 💬 Chat Q&A Agent\n\n**Turns the sheet into a knowledge base for natural questions.**\n\n**Flow:**\n* Chat trigger receives a user question\n* Agent uses Get rows in Google Sheets to pull relevant segmen"
      }
    }
  ],
  "connections": {
    "Download file": {
      "main": [
        [
          {
            "node": "VLM Run for Video Processing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Receives JSON Data": {
      "main": [
        [
          {
            "node": "Append row in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Drive Trigger": {
      "main": [
        [
          {
            "node": "Download file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get row(s) in sheet in Google Sheets": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}