{
  "id": "J25SBmxAuoN5dvuY",
  "name": "\ud83e\uddf9 Delete all playlists from a YouTube channel",
  "tags": [],
  "nodes": [
    {
      "id": "7184ab87-e3e5-4097-a882-32174d931561",
      "name": "When clicking \u2018Test workflow\u2019",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -620,
        -180
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "87b7d04c-351e-437c-9acd-ad342772cc13",
      "name": "Get all playlists",
      "type": "n8n-nodes-base.youTube",
      "position": [
        -400,
        -180
      ],
      "parameters": {
        "part": [
          "id"
        ],
        "filters": {},
        "options": {},
        "resource": "playlist",
        "returnAll": true
      },
      "credentials": {
        "youTubeOAuth2Api": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "3d16c7cb-d9d5-4980-ae77-a16f9849197f",
      "name": "Remove playlist",
      "type": "n8n-nodes-base.youTube",
      "position": [
        -180,
        -180
      ],
      "parameters": {
        "options": {},
        "resource": "playlist",
        "operation": "delete",
        "playlistId": "={{ $json.id }}"
      },
      "credentials": {
        "youTubeOAuth2Api": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "47c602f3-820a-4960-9b3c-217cf1defed3",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -800,
        -540
      ],
      "parameters": {
        "color": 3,
        "width": 1000,
        "height": 320,
        "content": "## \ud83e\uddf9 Delete all playlists from a YouTube channel\n\n### \u2139\ufe0f ABOUT THIS WORKFLOW\nThis workflow will **delete all the playlists from a YouTube channel**.\n\n### \ud83d\udee0\ufe0f SETUP\n1. Create a YouTube credential.\n2. Add the credential to the YouTube nodes.\n3. Click \"Test workflow\" to run it.\n\n\n**\ud83d\udea8 BE CAREFUL: EXECUTING THIS WORKFLOW CAUSES IRREVERSIBLE ACTIONS: YOU CANNOT RECOVER THE DELETED PLAYLISTS**"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "a8b4e109-dd64-42bc-a533-e93006e596a2",
  "connections": {
    "Get all playlists": {
      "main": [
        [
          {
            "node": "Remove playlist",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking \u2018Test workflow\u2019": {
      "main": [
        [
          {
            "node": "Get all playlists",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}