Téléchargement de présentations Slideshare 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 présentations Slideshare 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",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "ca1112b6-2db9-4182-b3a4-011eac63ab34",
"name": "À la soumission du formulaire",
"type": "n8n-nodes-base.formTrigger",
"position": [
-900,
640
],
"webhookId": "99c989d4-d7e6-42d9-9f05-5235e2624149",
"parameters": {
"options": {},
"formTitle": "Slideshare Downloader",
"formFields": {
"values": [
{
"fieldLabel": "URL",
"requiredField": true
}
]
},
"formDescription": "Slideshare Downloader"
},
"typeVersion": 2.2
},
{
"id": "e8db4cdb-3b2b-4919-b880-6e8ae74dae35",
"name": "Si",
"type": "n8n-nodes-base.if",
"position": [
-380,
660
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "bcc58e3d-9609-4ec3-adb9-bc6098205818",
"operator": {
"type": "number",
"operation": "equals"
},
"leftValue": "={{ $json.status }}",
"rightValue": 200
}
]
}
},
"typeVersion": 2.2
},
{
"id": "862e0e4a-b985-4ea6-a0a5-38867127354c",
"name": "Attendre",
"type": "n8n-nodes-base.wait",
"position": [
-40,
900
],
"webhookId": "410a255f-0e20-4697-9584-b59829a5bfb8",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "00c8a3f1-75d9-4cee-b9d3-4e165900493b",
"name": "Google Drive Définir les permissions",
"type": "n8n-nodes-base.googleDrive",
"position": [
440,
360
],
"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": "8aaa5749-e46c-4c45-be76-dd9ccb60b2ab",
"name": "Téléverser vers Google Drive",
"type": "n8n-nodes-base.googleDrive",
"position": [
140,
360
],
"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": "1d0c1eb4-abc0-48ff-99a9-4b561bd0e732",
"name": "Google Sheets Ajouter une ligne",
"type": "n8n-nodes-base.googleSheets",
"position": [
440,
900
],
"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": "cb7d10f9-a481-41d3-bbbb-fd0776479681",
"name": "Note adhésive1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-980,
360
],
"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 slideshare link. \n- **Output:** Passes the entered URL to the next node for processing."
},
"typeVersion": 1
},
{
"id": "bdc9b56b-d0a4-417b-b62f-a85eb0513667",
"name": "Note adhésive2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-720,
360
],
"parameters": {
"height": 500,
"content": "## 🌐 **2. SlideShare Downloader**\n- **Purpose:** Fetch downloadable slideshare link. \n- **Functionality:** Sends a `POST` request to **RapidAPI Slideshare Downloader Pro API**, passing the URL from the form. \n- **Output:** Receives a JSON response containing downloadable pdf link.\n"
},
"typeVersion": 1
},
{
"id": "2d70f2ec-5afb-44e0-bc9a-2363e220c488",
"name": "Note adhésive3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-440,
360
],
"parameters": {
"height": 500,
"content": "## 🔍 **3. If**\n- **Purpose:** Check for API errors. \n- **Functionality:** Evaluates if the response contains an `status` field. \n- **Output:** \n - ✅ **True Path:** Proceeds to download the pdf. \n - ❌ **False Path:** Goes to error handling (Wait + Sheets logging).\n"
},
"typeVersion": 1
},
{
"id": "134e5d6d-3985-4ec7-af1a-3b853957d671",
"name": "Note adhésive4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-180,
120
],
"parameters": {
"height": 440,
"content": "## ⬇️ **4. Download pdf**\n- **Purpose:** Download the pdffile. \n- **Functionality:** Uses the media URL from the previous API response to download the pdf file. \n- **Output:** Stores the raw pdf binary for upload.\n\n-"
},
"typeVersion": 1
},
{
"id": "6f609d65-ca98-4a09-8cb3-67fc15489faa",
"name": "Note adhésive5",
"type": "n8n-nodes-base.stickyNote",
"position": [
80,
120
],
"parameters": {
"height": 400,
"content": "## ☁️ **5. Upload To Google Drive**\n- **Purpose:** Store pdfin Google Drive. \n- **Functionality:** Uploads the downloaded pdf into the specified Drive folder. \n- **Output:** Returns a file ID for the uploaded file.\n"
},
"typeVersion": 1
},
{
"id": "e55bf6b2-69ff-4454-a27c-6e758dd16835",
"name": "Note adhésive6",
"type": "n8n-nodes-base.stickyNote",
"position": [
360,
120
],
"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": "31788160-dcd4-436e-95a9-5c1de255e329",
"name": "Note adhésive8",
"type": "n8n-nodes-base.stickyNote",
"position": [
-120,
660
],
"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": "209f58a8-b1c1-443c-9d55-d878c0749645",
"name": "Note adhésive9",
"type": "n8n-nodes-base.stickyNote",
"position": [
360,
540
],
"parameters": {
"height": 480,
"content": "## 📑 **9. Google Sheets Append Row**\n- **Purpose:** Log failed conversions. \n- **Functionality:** Appends a row with:\n - `URL` → Original Slideshare link \n - `Drive_URL` → `N/A` (indicating download failure) \n- **Output:** Tracks failed attempts separately.\n"
},
"typeVersion": 1
},
{
"id": "b5fd3005-1840-4e4e-b167-1d32da24b5e2",
"name": "Téléchargeur Slideshare",
"type": "n8n-nodes-base.httpRequest",
"onError": "continueRegularOutput",
"position": [
-680,
640
],
"parameters": {
"url": "https://slideshare-downloader-pro.p.rapidapi.com/slideshare.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": "slideshare-downloader-pro.p.rapidapi.com"
},
{
"name": "x-rapidapi-key",
"value": "your key"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "3b57d69b-ddd1-4874-a1ce-3b2b1f681910",
"name": "Télécharger PDF",
"type": "n8n-nodes-base.httpRequest",
"position": [
-120,
380
],
"parameters": {
"url": "={{ $json.url }}",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "0ad5e3c5-7398-4f6e-b599-b5f8ee3ce1b3",
"name": "Note adhésive",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1980,
260
],
"parameters": {
"width": 960,
"height": 960,
"content": "# Slideshare Downloader Automation\n\n## Description:\nThis workflow automates the process of downloading Slideshare presentations and uploading them to Google Drive. \n\n### Steps:\n1. **On Form Submission**: \n - Displays a form where users enter the Slideshare URL.\n \n2. **Slideshare Downloader**:\n - Fetches the download link for the Slideshare presentation using the RapidAPI Slideshare Downloader Pro API.\n \n3. **If**:\n - Checks if the API response is successful (status 200).\n - **True Path**: Continues to download the PDF.\n - **False Path**: Waits before logging the error and adds the details to Google Sheets.\n \n4. **Download PDF**:\n - Downloads the PDF file using the media URL provided by the Slideshare API response.\n \n5. **Upload to Google Drive**:\n - Uploads the downloaded PDF file to Google Drive in the specified folder.\n \n6. **Google Drive Set Permission**:\n - Sets the file's sharing permissions to \"Anyone with the link can view\", making it publicly accessible.\n\n7. **Wait**:\n - Pauses the workflow for a specified duration to avoid rapid consecutive writes in case of errors.\n \n8. **Google Sheets Append Row**:\n - Logs failed conversion attempts in Google Sheets, including the original URL and an \"N/A\" for the failed file.\n\n---\n\n### Features:\n- **Error Handling**: If the API request fails, the error is logged and managed through a delay to prevent multiple rapid entries in the logs.\n- **Google Drive Integration**: Ensures the downloaded presentations are safely stored and easily accessible.\n- **Google Sheets Logging**: Tracks failed attempts for later review.\n"
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"e8db4cdb-3b2b-4919-b880-6e8ae74dae35": {
"main": [
[
{
"node": "3b57d69b-ddd1-4874-a1ce-3b2b1f681910",
"type": "main",
"index": 0
}
],
[
{
"node": "862e0e4a-b985-4ea6-a0a5-38867127354c",
"type": "main",
"index": 0
}
]
]
},
"862e0e4a-b985-4ea6-a0a5-38867127354c": {
"main": [
[
{
"node": "1d0c1eb4-abc0-48ff-99a9-4b561bd0e732",
"type": "main",
"index": 0
}
]
]
},
"3b57d69b-ddd1-4874-a1ce-3b2b1f681910": {
"main": [
[
{
"node": "8aaa5749-e46c-4c45-be76-dd9ccb60b2ab",
"type": "main",
"index": 0
}
]
]
},
"ca1112b6-2db9-4182-b3a4-011eac63ab34": {
"main": [
[
{
"node": "b5fd3005-1840-4e4e-b167-1d32da24b5e2",
"type": "main",
"index": 0
}
]
]
},
"b5fd3005-1840-4e4e-b167-1d32da24b5e2": {
"main": [
[
{
"node": "e8db4cdb-3b2b-4919-b880-6e8ae74dae35",
"type": "main",
"index": 0
}
]
]
},
"8aaa5749-e46c-4c45-be76-dd9ccb60b2ab": {
"main": [
[
{
"node": "00c8a3f1-75d9-4cee-b9d3-4e165900493b",
"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