{
  "name": "Track top YouTube videos by view count with Google Sheets",
  "nodes": [
    {
      "id": "038873e2-0e74-4644-be10-b485c1e40d81",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -160,
        60
      ]
    },
    {
      "id": "1a8d863a-8c74-4f94-9adf-503ca37ad584",
      "name": "Fetch Most-Viewed Videos via YouTube API",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        300,
        40
      ]
    },
    {
      "id": "69553f6a-c563-4389-9618-3b402e497e3b",
      "name": "Read Channel Info from Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        80,
        40
      ]
    },
    {
      "id": "6b51fd78-6868-41a6-90de-fb7ba05db9cc",
      "name": "Split Into Individual Videos",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        520,
        40
      ]
    },
    {
      "id": "5fa2c6ec-6b92-4ba4-9ab6-37718d3354af",
      "name": "Append Video Details to Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        740,
        40
      ]
    },
    {
      "id": "a494ab3e-f3ba-446c-a7b9-c347c34d9cc8",
      "name": "Setup Instructions & Guide",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -480,
        -220
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": "## this is note\n\nplease write how to use this node in markdown here!"
      }
    },
    {
      "id": "43af9899-b3cb-4300-8bbd-38142457b3fa",
      "name": "Fetch Most-Viewed Videos via YouTube API1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1820,
        760
      ]
    },
    {
      "id": "b9efce22-129d-4971-a6d5-ddc1a46757b3",
      "name": "Read Channel Info from Sheet1",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1600,
        760
      ]
    },
    {
      "id": "edc478de-26a7-4a2e-be8e-fa7a47b3da30",
      "name": "Split Into Individual Videos1",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        2040,
        760
      ]
    },
    {
      "id": "81ec042b-6a6c-48af-8b68-03c90366c87c",
      "name": "Append Video Details to Sheet1",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2260,
        760
      ]
    },
    {
      "id": "178043b9-528c-45bc-956c-98663bad69b2",
      "name": "Setup Instructions & Guide1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1040,
        500
      ],
      "parameters": {
        "width": 500,
        "height": 1460,
        "content": "## Workflow Setup Guide\n\nThis workflow collects the most-viewed videos from specified YouTube channels and saves the data to a Google Sheet. Follow these steps to set it up:\n\n## 1. Credentials Setup\n\n"
      }
    }
  ],
  "connections": {
    "Read Channel Info from Sheet": {
      "main": [
        [
          {
            "node": "Fetch Most-Viewed Videos via YouTube API",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Into Individual Videos": {
      "main": [
        [
          {
            "node": "Append Video Details to Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read Channel Info from Sheet1": {
      "main": [
        [
          {
            "node": "Fetch Most-Viewed Videos via YouTube API1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Into Individual Videos1": {
      "main": [
        [
          {
            "node": "Append Video Details to Sheet1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Read Channel Info from Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Most-Viewed Videos via YouTube API": {
      "main": [
        [
          {
            "node": "Split Into Individual Videos",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Most-Viewed Videos via YouTube API1": {
      "main": [
        [
          {
            "node": "Split Into Individual Videos1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}