{
  "name": "Download videos from any platform to Google Drive with RapidAPI integration",
  "nodes": [
    {
      "id": "1f1e7b14-6814-4c30-9dce-211caa08e082",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -720,
        520
      ]
    },
    {
      "id": "de0f708b-2c26-41c9-b516-1ea8d9bcfb8d",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        -200,
        540
      ]
    },
    {
      "id": "2d7b25c6-4a8f-46ec-bde9-f8c622890738",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        140,
        780
      ]
    },
    {
      "id": "b18fefc0-9200-4036-8b00-6f283dc157c5",
      "name": "Download mp4",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        60,
        260
      ]
    },
    {
      "id": "6a9e7805-28b3-4b6e-b6dd-6c462f60eb03",
      "name": "Google Drive Set Permission",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        620,
        240
      ]
    },
    {
      "id": "8762a204-a9e8-4422-b50b-c0ca2aa2d2be",
      "name": "Upload To Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        320,
        240
      ]
    },
    {
      "id": "a6d7d6e3-bf55-4c0f-98f3-a4a1510073ca",
      "name": "Google Sheets Append Row",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        620,
        780
      ]
    },
    {
      "id": "2b2437f7-545c-4326-a43c-89288e8e82b4",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -800,
        240
      ],
      "parameters": {
        "width": null,
        "height": 500,
        "content": "## 🟢 **1. On form submission**\n- **Purpose:** Acts as the trigger for the workflow.  \n- **Functionality:** Displays a form with a single field (`URL`) where users can enter the  video link.  \n- **Outp"
      }
    },
    {
      "id": "f12c6be6-fc8f-4f99-9d65-b627646cb980",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -540,
        240
      ],
      "parameters": {
        "width": null,
        "height": 500,
        "content": "## 🌐 **2. All In One Downloader**\n- **Purpose:** Fetch downloadable MP4 link.  \n- **Functionality:** Sends a `POST` request to **RapidAPI ALl in one Video Downloader API**, passing the URL from the fo"
      }
    },
    {
      "id": "bf05529a-b500-4a38-bd51-9b6f147291d8",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -260,
        240
      ],
      "parameters": {
        "width": null,
        "height": 500,
        "content": "## 🔍 **3. If**\n- **Purpose:** Check for API errors.  \n- **Functionality:** Evaluates if the response contains an `error` field.  \n- **Output:** \n  - ✅ **True Path:** Proceeds to download the MP4.  \n  "
      }
    },
    {
      "id": "45c1849f-3b6b-4630-bc06-5089ca16781e",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "width": null,
        "height": 440,
        "content": "## ⬇️ **4. Download mp4**\n- **Purpose:** Download the video file.  \n- **Functionality:** Uses the media URL from the previous API response to download the MP4 video.  \n- **Output:** Stores the raw MP4"
      }
    },
    {
      "id": "2949b3d7-288a-47d7-8bda-2d6b0bc10021",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        260,
        0
      ],
      "parameters": {
        "width": null,
        "height": 400,
        "content": "## ☁️ **5. Upload To Google Drive**\n- **Purpose:** Store video in Google Drive.  \n- **Functionality:** Uploads the downloaded MP4 into the specified Drive folder.  \n- **Output:** Returns a file ID for"
      }
    },
    {
      "id": "03e1b932-59bd-473a-9a43-5125358b2b35",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        540,
        0
      ],
      "parameters": {
        "width": null,
        "height": 380,
        "content": "## 🔑 **6. Google Drive Set Permission**\n- **Purpose:** Make the file publicly accessible.  \n- **Functionality:** Sets file permissions to `Anyone with the link can view`.  \n- **Output:** Provides a sh"
      }
    },
    {
      "id": "86d90bf2-8972-4d53-b4d1-a6fc9898f569",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        60,
        540
      ],
      "parameters": {
        "width": null,
        "height": 360,
        "content": "## ⏱️ **8. Wait**\n- **Purpose:** Delay before logging failures.  \n- **Functionality:** Pauses workflow execution to avoid instant sheet logging when API errors occur.  \n- **Output:** Prevents rapid co"
      }
    },
    {
      "id": "80aaf060-37a1-40cc-a6ff-abf45b99851a",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        540,
        420
      ],
      "parameters": {
        "width": null,
        "height": 480,
        "content": "## 📑 **9. Google Sheets Append Row**\n- **Purpose:** Log failed conversions.  \n- **Functionality:** Appends a row with:\n  - `URL` → Original LinkedIn link  \n  - `Drive_URL` → `N/A` (indicating download"
      }
    },
    {
      "id": "7b986eec-89fb-4ae6-91d2-e180921d78d3",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1280,
        60
      ],
      "parameters": {
        "width": 420,
        "height": 1140,
        "content": "## 🧩 All-In-One Video Downloader and Google Drive Uploader\n\n### 📄 Workflow Description\n\nThis workflow allows users to submit any video URL through a form and automates the process of:\n\n1. Extracting a"
      }
    },
    {
      "id": "69db5bcb-f21d-4cf3-bc61-eb1b6e3feb2e",
      "name": "All in one video downloader",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -500,
        520
      ]
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Download mp4",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Google Sheets Append Row",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download mp4": {
      "main": [
        [
          {
            "node": "Upload To Google Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "All in one video downloader",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload To Google Drive": {
      "main": [
        [
          {
            "node": "Google Drive Set Permission",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "All in one video downloader": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}