8
n8n 中文网amn8n.com

通过RapidAPI集成将Slideshare演示文稿下载至Google云端硬盘

高级

这是一个File Management, Multimodal AI领域的自动化工作流,包含 17 个节点。主要使用 If, Wait, FormTrigger, GoogleDrive, HttpRequest 等节点。 通过RapidAPI集成将Slideshare演示文稿下载到Google云端硬盘

前置要求
  • Google Drive API 凭证
  • 可能需要目标 API 的认证凭证
  • Google Sheets API 凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "60c025075753afcab9f803964b4caaca9402f435deb4efafbb8e3b93b54d8752",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "ca1112b6-2db9-4182-b3a4-011eac63ab34",
      "name": "表单提交时",
      "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": "如果",
      "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": "等待",
      "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 设置权限",
      "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": "上传至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 追加行",
      "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": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -980,
        360
      ],
      "parameters": {
        "height": 500,
        "content": "## 🟢 **1. 表单提交时**"
      },
      "typeVersion": 1
    },
    {
      "id": "bdc9b56b-d0a4-417b-b62f-a85eb0513667",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -720,
        360
      ],
      "parameters": {
        "height": 500,
        "content": "## 🌐 **2. SlideShare 下载器**"
      },
      "typeVersion": 1
    },
    {
      "id": "2d70f2ec-5afb-44e0-bc9a-2363e220c488",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -440,
        360
      ],
      "parameters": {
        "height": 500,
        "content": "## 🔍 **3. 条件判断**"
      },
      "typeVersion": 1
    },
    {
      "id": "134e5d6d-3985-4ec7-af1a-3b853957d671",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -180,
        120
      ],
      "parameters": {
        "height": 440,
        "content": "## ⬇️ **4. 下载 pdf**"
      },
      "typeVersion": 1
    },
    {
      "id": "6f609d65-ca98-4a09-8cb3-67fc15489faa",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        80,
        120
      ],
      "parameters": {
        "height": 400,
        "content": "## ☁️ **5. 上传到 Google Drive**"
      },
      "typeVersion": 1
    },
    {
      "id": "e55bf6b2-69ff-4454-a27c-6e758dd16835",
      "name": "便签6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        360,
        120
      ],
      "parameters": {
        "height": 380,
        "content": "## 🔑 **6. Google Drive 设置权限**"
      },
      "typeVersion": 1
    },
    {
      "id": "31788160-dcd4-436e-95a9-5c1de255e329",
      "name": "便签8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -120,
        660
      ],
      "parameters": {
        "height": 360,
        "content": "## ⏱️ **8. 等待**"
      },
      "typeVersion": 1
    },
    {
      "id": "209f58a8-b1c1-443c-9d55-d878c0749645",
      "name": "便签9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        360,
        540
      ],
      "parameters": {
        "height": 480,
        "content": "## 📑 **9. Google Sheets 追加行**"
      },
      "typeVersion": 1
    },
    {
      "id": "b5fd3005-1840-4e4e-b167-1d32da24b5e2",
      "name": "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": "下载 Pdf",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -120,
        380
      ],
      "parameters": {
        "url": "={{ $json.url }}",
        "options": {}
      },
      "typeVersion": 4.2
    },
    {
      "id": "0ad5e3c5-7398-4f6e-b599-b5f8ee3ce1b3",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1980,
        260
      ],
      "parameters": {
        "width": 960,
        "height": 960,
        "content": "# Slideshare 下载器自动化"
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Download Pdf",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Google Sheets Append Row",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Pdf": {
      "main": [
        [
          {
            "node": "Upload To Google Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "Slideshare downloader",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Slideshare downloader": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload To Google Drive": {
      "main": [
        [
          {
            "node": "Google Drive Set Permission",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

高级 - 文件管理, 多模态 AI

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
高级
节点数量17
分类2
节点类型7
难度说明

适合高级用户,包含 16+ 个节点的复杂工作流

外部链接
在 n8n.io 查看

分享此工作流