Téléchargement de vidéos de n'importe quelle plateforme vers Google Drive via l'intégration RapidAPI
Ceci est unFile Management, Multimodal AIworkflow d'automatisation du domainecontenant 17 nœuds.Utilise principalement des nœuds comme If, Wait, FormTrigger, GoogleDrive, HttpRequest. Télécharger des vidéos de n'importe quelle plateforme sur Google Drive via l'intégration RapidAPI
- •Informations d'identification Google Drive API
- •Peut nécessiter les informations d'identification d'authentification de l'API cible
- •Informations d'identification Google Sheets API
Nœuds utilisés (17)
Catégorie
{
"meta": {
"instanceId": "60c025075753afcab9f803964b4caaca9402f435deb4efafbb8e3b93b54d8752"
},
"nodes": [
{
"id": "1f1e7b14-6814-4c30-9dce-211caa08e082",
"name": "À la soumission du formulaire",
"type": "n8n-nodes-base.formTrigger",
"position": [
-720,
520
],
"webhookId": "99c989d4-d7e6-42d9-9f05-5235e2624149",
"parameters": {
"options": {},
"formTitle": "All In one video downloader ",
"formFields": {
"values": [
{
"fieldLabel": "URL",
"requiredField": true
}
]
},
"formDescription": "All In one video downloader "
},
"typeVersion": 2.2
},
{
"id": "de0f708b-2c26-41c9-b516-1ea8d9bcfb8d",
"name": "Si",
"type": "n8n-nodes-base.if",
"position": [
-200,
540
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "bcc58e3d-9609-4ec3-adb9-bc6098205818",
"operator": {
"type": "boolean",
"operation": "false",
"singleValue": true
},
"leftValue": "={{ $json.error }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2.2
},
{
"id": "2d7b25c6-4a8f-46ec-bde9-f8c622890738",
"name": "Attendre",
"type": "n8n-nodes-base.wait",
"position": [
140,
780
],
"webhookId": "410a255f-0e20-4697-9584-b59829a5bfb8",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "b18fefc0-9200-4036-8b00-6f283dc157c5",
"name": "Télécharger mp4",
"type": "n8n-nodes-base.httpRequest",
"position": [
60,
260
],
"parameters": {
"url": "={{ $json.medias[0].url }}",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "6a9e7805-28b3-4b6e-b6dd-6c462f60eb03",
"name": "Google Drive Définir les permissions",
"type": "n8n-nodes-base.googleDrive",
"position": [
620,
240
],
"parameters": {
"fileId": {
"__rl": true,
"mode": "id",
"value": "={{ $json.id }}"
},
"options": {},
"resource": "file",
"operation": "share",
"permissionsUi": {},
"authentication": "oAuth2"
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "qEkQ8MFn0uSHgAqY",
"name": "Google Drive account"
}
},
"typeVersion": 3
},
{
"id": "8762a204-a9e8-4422-b50b-c0ca2aa2d2be",
"name": "Téléverser vers Google Drive",
"type": "n8n-nodes-base.googleDrive",
"position": [
320,
240
],
"parameters": {
"driveId": {
"__rl": true,
"mode": "list",
"value": "My Drive"
},
"options": {},
"folderId": {
"__rl": true,
"mode": "list",
"value": "root",
"cachedResultName": "/ (Root folder)"
}
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "qEkQ8MFn0uSHgAqY",
"name": "Google Drive account"
}
},
"typeVersion": 3
},
{
"id": "a6d7d6e3-bf55-4c0f-98f3-a4a1510073ca",
"name": "Google Sheets Ajouter une ligne",
"type": "n8n-nodes-base.googleSheets",
"position": [
620,
780
],
"parameters": {
"operation": "append",
"sheetName": {
"__rl": true,
"mode": "url",
"value": ""
},
"documentId": {
"__rl": true,
"mode": "url",
"value": ""
},
"authentication": "serviceAccount"
},
"credentials": {
"googleApi": {
"id": "Rt0RWApx8PL9t0RF",
"name": "Google Docs account"
}
},
"typeVersion": 4.6
},
{
"id": "2b2437f7-545c-4326-a43c-89288e8e82b4",
"name": "Note autocollante1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-800,
240
],
"parameters": {
"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- **Output:** Passes the entered URL to the next node for processing."
},
"typeVersion": 1
},
{
"id": "f12c6be6-fc8f-4f99-9d65-b627646cb980",
"name": "Note autocollante2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-540,
240
],
"parameters": {
"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 form. \n- **Output:** Receives a JSON response containing downloadable media links.\n"
},
"typeVersion": 1
},
{
"id": "bf05529a-b500-4a38-bd51-9b6f147291d8",
"name": "Note autocollante3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-260,
240
],
"parameters": {
"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 - ❌ **False Path:** Goes to error handling (Wait + Sheets logging).\n"
},
"typeVersion": 1
},
{
"id": "45c1849f-3b6b-4630-bc06-5089ca16781e",
"name": "Note autocollante4",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
0
],
"parameters": {
"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 binary for upload.\n\n-"
},
"typeVersion": 1
},
{
"id": "2949b3d7-288a-47d7-8bda-2d6b0bc10021",
"name": "Note autocollante5",
"type": "n8n-nodes-base.stickyNote",
"position": [
260,
0
],
"parameters": {
"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 the uploaded file.\n"
},
"typeVersion": 1
},
{
"id": "03e1b932-59bd-473a-9a43-5125358b2b35",
"name": "Note autocollante6",
"type": "n8n-nodes-base.stickyNote",
"position": [
540,
0
],
"parameters": {
"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 sharable `webViewLink`.\n"
},
"typeVersion": 1
},
{
"id": "86d90bf2-8972-4d53-b4d1-a6fc9898f569",
"name": "Note autocollante8",
"type": "n8n-nodes-base.stickyNote",
"position": [
60,
540
],
"parameters": {
"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 consecutive writes to Google Sheets."
},
"typeVersion": 1
},
{
"id": "80aaf060-37a1-40cc-a6ff-abf45b99851a",
"name": "Note autocollante9",
"type": "n8n-nodes-base.stickyNote",
"position": [
540,
420
],
"parameters": {
"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 failure) \n- **Output:** Tracks failed attempts separately.\n"
},
"typeVersion": 1
},
{
"id": "7b986eec-89fb-4ae6-91d2-e180921d78d3",
"name": "Note autocollante",
"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 downloadable video link using the **RapidAPI All-In-One Video Downloader**.\n2. Downloading the video (MP4 format).\n3. Uploading the video to a connected **Google Drive** account.\n4. Making the uploaded file **publicly shareable**.\n5. Logging any failed download attempts to a **Google Sheet**.\n\n---\n\n### ✅ Features\n\n- 🔗 **Form Trigger:** Accepts video URLs from users via a simple form.\n- 🌐 **Universal Video Support:** Uses an API that supports platforms like LinkedIn, Facebook, Instagram, and more.\n- 📥 **Video Downloading:** Automatically fetches the MP4 from the response.\n- ☁️ **Drive Upload:** Stores the downloaded video in Google Drive.\n- 🔓 **Permission Setup:** Shares the uploaded video with “Anyone with the link” access.\n- 🧾 **Error Logging:** Records failed attempts (URL + failure info) in a Google Sheet for future analysis.\n\n---\n\n### 🔁 Example Use Cases\n\n- Save personal social media videos directly to cloud storage.\n- Build a central media archive from various platforms.\n- Track failed downloads for debugging or retry purposes.\n\n---\n\n### 🚧 Dependencies\n\n- ✅ RapidAPI Key for the video downloader API.\n- ✅ Google Drive OAuth credentials.\n- ✅ Google Sheets access (Service Account or OAuth).\n\n"
},
"typeVersion": 1
},
{
"id": "69db5bcb-f21d-4cf3-bc61-eb1b6e3feb2e",
"name": "All in one video downloader",
"type": "n8n-nodes-base.httpRequest",
"onError": "continueRegularOutput",
"position": [
-500,
520
],
"parameters": {
"url": "https://best-all-in-one-video-downloader.p.rapidapi.com/index.php",
"method": "POST",
"options": {},
"sendBody": true,
"contentType": "multipart-form-data",
"sendHeaders": true,
"bodyParameters": {
"parameters": [
{
"name": "url",
"value": "={{ $json.URL }}"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "x-rapidapi-host",
"value": "linkedin-video-downloader3.p.rapidapi.com"
},
{
"name": "x-rapidapi-key",
"value": "your key"
}
]
}
},
"typeVersion": 4.2
}
],
"pinData": {},
"connections": {
"de0f708b-2c26-41c9-b516-1ea8d9bcfb8d": {
"main": [
[
{
"node": "b18fefc0-9200-4036-8b00-6f283dc157c5",
"type": "main",
"index": 0
}
],
[
{
"node": "2d7b25c6-4a8f-46ec-bde9-f8c622890738",
"type": "main",
"index": 0
}
]
]
},
"2d7b25c6-4a8f-46ec-bde9-f8c622890738": {
"main": [
[
{
"node": "a6d7d6e3-bf55-4c0f-98f3-a4a1510073ca",
"type": "main",
"index": 0
}
]
]
},
"b18fefc0-9200-4036-8b00-6f283dc157c5": {
"main": [
[
{
"node": "8762a204-a9e8-4422-b50b-c0ca2aa2d2be",
"type": "main",
"index": 0
}
]
]
},
"1f1e7b14-6814-4c30-9dce-211caa08e082": {
"main": [
[
{
"node": "69db5bcb-f21d-4cf3-bc61-eb1b6e3feb2e",
"type": "main",
"index": 0
}
]
]
},
"8762a204-a9e8-4422-b50b-c0ca2aa2d2be": {
"main": [
[
{
"node": "6a9e7805-28b3-4b6e-b6dd-6c462f60eb03",
"type": "main",
"index": 0
}
]
]
},
"69db5bcb-f21d-4cf3-bc61-eb1b6e3feb2e": {
"main": [
[
{
"node": "de0f708b-2c26-41c9-b516-1ea8d9bcfb8d",
"type": "main",
"index": 0
}
]
]
}
}
}Comment utiliser ce workflow ?
Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.
Dans quelles scénarios ce workflow est-il adapté ?
Avancé - Gestion de fichiers, IA Multimodale
Est-ce payant ?
Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.
Workflows recommandés
Sk developer
@skdeveloperPartager ce workflow