{
  "name": "Automated video analysis: AI-powered insight generation from Google Drive",
  "nodes": [
    {
      "id": "a2f6a6d0-a703-4d51-877f-34eba4f8a3a1",
      "name": "Download Video from Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -48,
        192
      ]
    },
    {
      "id": "c4ce7aef-dca6-46ba-8034-08deda58f2b1",
      "name": "Check File Status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        512,
        192
      ]
    },
    {
      "id": "c4950c17-ce9f-4d1e-a5bf-bc65507cf649",
      "name": "Analyze Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        752,
        192
      ]
    },
    {
      "id": "966c7176-7f6f-4e73-bebd-2f4ddc80ade7",
      "name": "Format Analysis Result",
      "type": "n8n-nodes-base.set",
      "position": [
        1024,
        192
      ]
    },
    {
      "id": "7d5b2048-0fe3-4b80-a0d7-dca01ee47707",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -304,
        192
      ]
    },
    {
      "id": "c72621d8-ce14-49f6-b869-6cee976b3d2c",
      "name": "Basic LLM Chain",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        176,
        192
      ]
    },
    {
      "id": "cfa8b8de-9093-4525-82e1-fdfe3c0c6dca",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        160,
        480
      ]
    },
    {
      "id": "307b89d6-6841-4d7b-9a89-708008d5a421",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -384,
        -240
      ],
      "parameters": {
        "width": 260,
        "height": 592,
        "content": "## 🟢 Section 1: Trigger – Start the Workflow\n\n🔗 **Node:** `Schedule Trigger`\n\n* Runs the workflow automatically at a defined interval (e.g., daily).\n* Eliminates the need to manually start each run.\n\n"
      }
    },
    {
      "id": "45dfc6d2-aca5-432d-ba70-216dd3dae6b6",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -96,
        -256
      ],
      "parameters": {
        "width": 212,
        "height": 608,
        "content": "\n## 🟦 Section 2: Download Video\n\n🔗 **Node:** `Download Video from Drive`\n\n* Connects to Google Drive.\n* Fetches the video file you want to analyze.\n\n💡 **Why useful?**\nPulls the raw video directly from"
      }
    },
    {
      "id": "e5470b1a-c9c7-4a7b-9353-f09fb8e57db8",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        144,
        -272
      ],
      "parameters": {
        "width": 276,
        "height": 624,
        "content": "## 🟣 Section 3: Prepare for AI Analysis\n\n🔗 **Nodes:**\n\n* `Basic LLM Chain` → Prepares a structured prompt for Gemini.\n* `Google Gemini Chat Model` → Defines Gemini as the **AI engine** for analysis.\n\n"
      }
    },
    {
      "id": "7f361dfb-4c6d-46e4-8892-3c342cb412bb",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        448,
        -288
      ],
      "parameters": {
        "width": 212,
        "height": 640,
        "content": "## 🟡 Section 4: Validate File Status\n\n🔗 **Node:** `Check File Status`\n\n* Confirms that the video file is uploaded and ready to be processed by Gemini’s API.\n\n💡 **Why useful?**\nPrevents wasted runs by "
      }
    },
    {
      "id": "cba8825c-b6f9-4a6c-a3d5-a1b36197de29",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        688,
        -464
      ],
      "parameters": {
        "width": 228,
        "height": 816,
        "content": "## 🔵 Section 5: AI Video Analysis\n\n🔗 **Node:** `Analyze Video`\n\n* Sends the video file to Gemini (via API request).\n* Asks Gemini to **analyze and summarize** the video.\n\n💡 **Why useful?**\nExtracts in"
      }
    },
    {
      "id": "368b2f7e-eb48-4c91-ab05-3537446448f4",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        960,
        -272
      ],
      "parameters": {
        "width": 228,
        "height": 624,
        "content": "## 🟠 Section 6: Format Results\n\n🔗 **Node:** `Format Analysis Result`\n\n* Structures the Gemini response into clean output.\n* Makes it easy to forward results into email, Slack, or reporting tools.\n\n💡 *"
      }
    },
    {
      "id": "4250c138-b711-4cea-b71c-95e1b01c0452",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2096,
        -368
      ],
      "parameters": {
        "width": 1300,
        "height": 320,
        "content": "=======================================\n            WORKFLOW ASSISTANCE\n=======================================\nFor any questions or support, please contact:\n    Yaron@nofluff.online\n\nExplore more tip"
      }
    },
    {
      "id": "17b1b31d-b061-490e-96a6-188fadb15eaf",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2096,
        -32
      ],
      "parameters": {
        "width": 1289,
        "height": 2958,
        "content": "# Automated Video Analysis: AI-Powered Insight Generation from Google Drive\n\n**Subtitle:** From Google Drive Upload → Gemini AI → Video Insights\n\n---\n\n### 🌍 Overview\n\nThis workflow automates the **ana"
      }
    }
  ],
  "connections": {
    "Analyze Video": {
      "main": [
        [
          {
            "node": "Format Analysis Result",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Basic LLM Chain": {
      "main": [
        [
          {
            "node": "Check File Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Download Video from Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check File Status": {
      "main": [
        [
          {
            "node": "Analyze Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Download Video from Drive": {
      "main": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}