{
  "name": "Download Slideshare presentations to Google Drive with RapidAPI integration",
  "nodes": [
    {
      "id": "ca1112b6-2db9-4182-b3a4-011eac63ab34",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -900,
        640
      ]
    },
    {
      "id": "e8db4cdb-3b2b-4919-b880-6e8ae74dae35",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        -380,
        660
      ]
    },
    {
      "id": "862e0e4a-b985-4ea6-a0a5-38867127354c",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        -40,
        900
      ]
    },
    {
      "id": "00c8a3f1-75d9-4cee-b9d3-4e165900493b",
      "name": "Google Drive Set Permission",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        440,
        360
      ]
    },
    {
      "id": "8aaa5749-e46c-4c45-be76-dd9ccb60b2ab",
      "name": "Upload To Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        140,
        360
      ]
    },
    {
      "id": "1d0c1eb4-abc0-48ff-99a9-4b561bd0e732",
      "name": "Google Sheets Append Row",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        440,
        900
      ]
    },
    {
      "id": "cb7d10f9-a481-41d3-bbbb-fd0776479681",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -980,
        360
      ],
      "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  slideshare link.  \n- *"
      }
    },
    {
      "id": "bdc9b56b-d0a4-417b-b62f-a85eb0513667",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -720,
        360
      ],
      "parameters": {
        "width": null,
        "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 t"
      }
    },
    {
      "id": "2d70f2ec-5afb-44e0-bc9a-2363e220c488",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -440,
        360
      ],
      "parameters": {
        "width": null,
        "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 "
      }
    },
    {
      "id": "134e5d6d-3985-4ec7-af1a-3b853957d671",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -180,
        120
      ],
      "parameters": {
        "width": null,
        "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 bin"
      }
    },
    {
      "id": "6f609d65-ca98-4a09-8cb3-67fc15489faa",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        80,
        120
      ],
      "parameters": {
        "width": null,
        "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 th"
      }
    },
    {
      "id": "e55bf6b2-69ff-4454-a27c-6e758dd16835",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        360,
        120
      ],
      "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": "31788160-dcd4-436e-95a9-5c1de255e329",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -120,
        660
      ],
      "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": "209f58a8-b1c1-443c-9d55-d878c0749645",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        360,
        540
      ],
      "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 Slideshare link  \n  - `Drive_URL` → `N/A` (indicating downlo"
      }
    },
    {
      "id": "b5fd3005-1840-4e4e-b167-1d32da24b5e2",
      "name": "Slideshare downloader",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -680,
        640
      ]
    },
    {
      "id": "3b57d69b-ddd1-4874-a1ce-3b2b1f681910",
      "name": "Download Pdf",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -120,
        380
      ]
    },
    {
      "id": "0ad5e3c5-7398-4f6e-b599-b5f8ee3ce1b3",
      "name": "Sticky Note",
      "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"
      }
    }
  ],
  "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
          }
        ]
      ]
    }
  }
}