{
  "name": "Monitor YouTube channels and publish VideoDB AI summaries to Notion",
  "nodes": [
    {
      "id": "main-sticky-note-001",
      "name": "Sticky Note Main",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1200,
        -96
      ],
      "parameters": {
        "width": 400,
        "height": 520,
        "content": "# YouTube to Notion Workflow\n\nMonitor YouTube channels and create AI-generated video summaries in Notion.\n\n### How it works\n1. RSS trigger monitors YouTube channel for new videos\n2. Video uploaded to "
      }
    },
    {
      "id": "424ae67e-e3af-4b1e-8fc6-89d96dc9638b",
      "name": "Watch YouTube RSS Feed",
      "type": "n8n-nodes-base.rssFeedReadTrigger",
      "position": [
        -672,
        64
      ]
    },
    {
      "id": "f1f5903d-548a-496e-803b-1c087d60e6eb",
      "name": "Upload Video to VideoDB",
      "type": "@videodb/n8n-nodes-videodb.videoDb",
      "position": [
        -448,
        64
      ]
    },
    {
      "id": "607fb77d-eaf1-4f34-8dd4-23ae8b5da049",
      "name": "Wait Before Upload Status Check",
      "type": "n8n-nodes-base.wait",
      "position": [
        -224,
        64
      ]
    },
    {
      "id": "76a5aef6-f23c-4b15-9b42-4e87fd09feb7",
      "name": "Poll Upload Status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        0,
        0
      ]
    },
    {
      "id": "4b85cd35-d207-416c-89b6-e8df74d3f899",
      "name": "Is Upload Complete",
      "type": "n8n-nodes-base.if",
      "position": [
        224,
        64
      ]
    },
    {
      "id": "f212bc25-b9d0-4799-9b4f-26b46602d03b",
      "name": "Index Spoken Words",
      "type": "@videodb/n8n-nodes-videodb.videoDb",
      "position": [
        448,
        64
      ]
    },
    {
      "id": "74d1c47b-dfef-4fab-bfa3-7dce2474ae22",
      "name": "Wait Before Indexing Status Check",
      "type": "n8n-nodes-base.wait",
      "position": [
        672,
        64
      ]
    },
    {
      "id": "f71a8c34-d001-43c7-a8f8-84c3089c9ec0",
      "name": "Poll Indexing Status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        896,
        0
      ]
    },
    {
      "id": "367d3c2a-c4e9-450e-b070-b33523f48261",
      "name": "Is Indexing Complete",
      "type": "n8n-nodes-base.if",
      "position": [
        1120,
        64
      ]
    },
    {
      "id": "6d5760ab-11b2-4a27-abda-aea0e640a475",
      "name": "Get Video Transcript",
      "type": "@videodb/n8n-nodes-videodb.videoDb",
      "position": [
        1344,
        64
      ]
    },
    {
      "id": "184cd194-55ee-49e8-beb9-a0dc13fe3ba8",
      "name": "Generate AI Digest",
      "type": "@videodb/n8n-nodes-videodb.videoDb",
      "position": [
        1568,
        64
      ]
    },
    {
      "id": "f55813db-0b31-4823-aacc-799b6466c1c3",
      "name": "Wait Before Digest Status Check",
      "type": "n8n-nodes-base.wait",
      "position": [
        1792,
        64
      ]
    },
    {
      "id": "e8049e98-62d2-41e4-b3b0-fcc52509ab3a",
      "name": "Poll Digest Status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2016,
        0
      ]
    },
    {
      "id": "e19a937c-f904-41b4-8c66-241f1b365db6",
      "name": "Is Digest Ready",
      "type": "n8n-nodes-base.if",
      "position": [
        2240,
        64
      ]
    },
    {
      "id": "e7ae1f70-54c1-4bad-af8a-ec1dd033481d",
      "name": "Create Notion Page",
      "type": "n8n-nodes-base.notion",
      "position": [
        2480,
        48
      ]
    },
    {
      "id": "ac39e0cc-828c-4cf7-9982-b1f8d8aea013",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -720,
        -96
      ],
      "parameters": {
        "width": 1104,
        "height": 416,
        "content": "## Fetching the latest Youtube video from RSS feed and uploading it to VideoDB"
      }
    },
    {
      "id": "228d1016-237c-4f59-b9f3-907459140879",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        400,
        -96
      ],
      "parameters": {
        "width": 1104,
        "height": 416,
        "content": "## Indexing the spoken words in the video and fetching the transcript"
      }
    },
    {
      "id": "e5768c1c-7186-4e7d-b194-7ee1e81a4b32",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1520,
        -96
      ],
      "parameters": {
        "width": 1136,
        "height": 416,
        "content": "## Generating digest notes from the transcript and sending it to Notion"
      }
    }
  ],
  "connections": {
    "Is Digest Ready": {
      "main": [
        [
          {
            "node": "Create Notion Page",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait Before Digest Status Check",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate AI Digest": {
      "main": [
        [
          {
            "node": "Wait Before Digest Status Check",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Index Spoken Words": {
      "main": [
        [
          {
            "node": "Wait Before Indexing Status Check",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is Upload Complete": {
      "main": [
        [
          {
            "node": "Index Spoken Words",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait Before Upload Status Check",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Poll Digest Status": {
      "main": [
        [
          {
            "node": "Is Digest Ready",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Poll Upload Status": {
      "main": [
        [
          {
            "node": "Is Upload Complete",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Video Transcript": {
      "main": [
        [
          {
            "node": "Generate AI Digest",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is Indexing Complete": {
      "main": [
        [
          {
            "node": "Get Video Transcript",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait Before Indexing Status Check",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Poll Indexing Status": {
      "main": [
        [
          {
            "node": "Is Indexing Complete",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Watch YouTube RSS Feed": {
      "main": [
        [
          {
            "node": "Upload Video to VideoDB",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Video to VideoDB": {
      "main": [
        [
          {
            "node": "Wait Before Upload Status Check",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait Before Digest Status Check": {
      "main": [
        [
          {
            "node": "Poll Digest Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait Before Upload Status Check": {
      "main": [
        [
          {
            "node": "Poll Upload Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait Before Indexing Status Check": {
      "main": [
        [
          {
            "node": "Poll Indexing Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}