{
  "name": "Repurpose YouTube Shorts to TikTok and Instagram using Blotato",
  "nodes": [
    {
      "id": "a85e7b88-c23e-4e07-84ff-b352fcd8fa30",
      "name": "Upload Media to Blotato",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        1040,
        816
      ]
    },
    {
      "id": "5552dc9c-627d-42c4-8026-4db9bd1b0184",
      "name": "Blotato Post to Instagram",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        1264,
        624
      ]
    },
    {
      "id": "f25c9eeb-a434-4c07-9a81-0c1557fa746c",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -496,
        720
      ],
      "parameters": {
        "width": 896,
        "height": 288,
        "content": "## Download Video from Youtube with yt-dlp"
      }
    },
    {
      "id": "3733e675-c480-4965-aecc-6a4f70c83937",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        432,
        608
      ],
      "parameters": {
        "width": 960,
        "height": 400,
        "content": "## Upload File to Blotato then Post to Tiktok & Instagram"
      }
    },
    {
      "id": "57b77a18-2a46-4abf-9ffc-f65cfe95f4d7",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1456,
        592
      ],
      "parameters": {
        "width": 656,
        "height": 400,
        "content": "## Cleanup Local File & Update Status in Sheets"
      }
    },
    {
      "id": "0589eb87-2b7e-4bde-aca7-44ae839d3905",
      "name": "Remove Local File",
      "type": "n8n-nodes-base.executeCommand",
      "position": [
        1488,
        816
      ]
    },
    {
      "id": "4e32f1af-fb80-4ff8-8bef-a95a4ca3f116",
      "name": "Get Youtube Video List",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -416,
        256
      ]
    },
    {
      "id": "80825182-4a37-4b76-be18-cdea6317329e",
      "name": "Insert List to Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        512,
        272
      ]
    },
    {
      "id": "a2c13a4e-172f-4060-8c62-ee2e8638e212",
      "name": "Filter by Status Not Processed",
      "type": "n8n-nodes-base.if",
      "position": [
        -240,
        832
      ]
    },
    {
      "id": "9cfefa3f-0b5e-4f0b-9cca-8eca1feb526d",
      "name": "Read Binary Video",
      "type": "n8n-nodes-base.readWriteFile",
      "position": [
        864,
        816
      ]
    },
    {
      "id": "a7592674-faad-40f2-90df-cf337eca5f34",
      "name": "Split Out",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        -192,
        256
      ]
    },
    {
      "id": "c8deb3de-f82d-4c87-95f6-0e5eb22d496a",
      "name": "Loop",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -16,
        816
      ]
    },
    {
      "id": "be444feb-9b9a-4b68-8247-ae72cb94eee2",
      "name": "Get File Path Location",
      "type": "n8n-nodes-base.executeCommand",
      "position": [
        448,
        832
      ]
    },
    {
      "id": "19f090d9-79bd-4177-89bc-3d13d61101fb",
      "name": "Blotato Post to Tiktok",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        1264,
        816
      ]
    },
    {
      "id": "504c8bc2-e71d-40df-863e-9f1546e75190",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -496,
        144
      ],
      "parameters": {
        "width": 1184,
        "height": 352,
        "content": "## Grab Youtube Video List, Store to Google Spreadsheet"
      }
    },
    {
      "id": "8959c88a-415f-4e1a-93a5-5748f5770a33",
      "name": "Read from Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -464,
        832
      ]
    },
    {
      "id": "80cf8072-3dfd-4605-9860-82a08a08ae6e",
      "name": "Update Sheets Error",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1760,
        640
      ]
    },
    {
      "id": "ad84cc0c-f739-44e0-b650-d29821d64fe6",
      "name": "Update Sheets Success",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1936,
        816
      ]
    },
    {
      "id": "e332709b-7ebf-4701-b5a4-a5e22600cdae",
      "name": "Data Status for Update Sheets Error",
      "type": "n8n-nodes-base.set",
      "position": [
        1536,
        640
      ]
    },
    {
      "id": "e111df25-220d-4db5-9993-ba6b5b258a62",
      "name": "Data Status for Update Sheets Success",
      "type": "n8n-nodes-base.set",
      "position": [
        1712,
        816
      ]
    },
    {
      "id": "0779717c-e517-4580-b15b-63857f69c5f9",
      "name": "Schedule Trigger Upload",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -672,
        832
      ]
    },
    {
      "id": "2c9ee2e6-925b-4d6f-9135-2492c5f2c925",
      "name": "Schedule Trigger Get Youtube Video List",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -640,
        256
      ]
    },
    {
      "id": "38e86320-0176-451f-8ee3-871f5df1dd7d",
      "name": "Loop List",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        32,
        256
      ]
    },
    {
      "id": "26302186-0a18-4046-a0cf-02fe9d4c1227",
      "name": "Data for Store Video List to Sheets",
      "type": "n8n-nodes-base.set",
      "position": [
        272,
        272
      ]
    },
    {
      "id": "b1644c5d-67a2-4acf-aa1c-fef6d020df3e",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1264,
        144
      ],
      "parameters": {
        "width": 496,
        "height": 704,
        "content": "This workflow automatically mirrors your YouTube to TikTok and Instagram, so you don’t have to manually download and re-upload your content across platforms.\n\nIt fetches new videos from your YouTube c"
      }
    },
    {
      "id": "f53a4325-c20f-4278-a407-0b6165b50a35",
      "name": "Download YouTube Shorts via yt-dlp",
      "type": "n8n-nodes-base.executeCommand",
      "position": [
        224,
        832
      ]
    },
    {
      "id": "00c3e438-d0f5-49de-b4f0-cd0c52700de2",
      "name": "Check File Video Exist",
      "type": "n8n-nodes-base.if",
      "position": [
        640,
        832
      ]
    }
  ],
  "connections": {
    "Loop": {
      "main": [
        [],
        [
          {
            "node": "Download YouTube Shorts via yt-dlp",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop List": {
      "main": [
        [],
        [
          {
            "node": "Data for Store Video List to Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Loop List",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read from Sheets": {
      "main": [
        [
          {
            "node": "Filter by Status Not Processed",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read Binary Video": {
      "main": [
        [
          {
            "node": "Upload Media to Blotato",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Remove Local File": {
      "main": [
        [
          {
            "node": "Data Status for Update Sheets Success",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Insert List to Sheets": {
      "main": [
        [
          {
            "node": "Loop List",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Blotato Post to Tiktok": {
      "main": [
        [
          {
            "node": "Remove Local File",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Data Status for Update Sheets Error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check File Video Exist": {
      "main": [
        [
          {
            "node": "Read Binary Video",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Loop",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get File Path Location": {
      "main": [
        [
          {
            "node": "Check File Video Exist",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Youtube Video List": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger Upload": {
      "main": [
        [
          {
            "node": "Read from Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Media to Blotato": {
      "main": [
        [
          {
            "node": "Blotato Post to Tiktok",
            "type": "main",
            "index": 0
          },
          {
            "node": "Blotato Post to Instagram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Blotato Post to Instagram": {
      "main": [
        [
          {
            "node": "Remove Local File",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Data Status for Update Sheets Error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter by Status Not Processed": {
      "main": [
        [
          {
            "node": "Loop",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "Download YouTube Shorts via yt-dlp": {
      "main": [
        [
          {
            "node": "Get File Path Location",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Data Status for Update Sheets Error": {
      "main": [
        [
          {
            "node": "Update Sheets Error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Data for Store Video List to Sheets": {
      "main": [
        [
          {
            "node": "Insert List to Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Data Status for Update Sheets Success": {
      "main": [
        [
          {
            "node": "Update Sheets Success",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger Get Youtube Video List": {
      "main": [
        [
          {
            "node": "Get Youtube Video List",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}