๐Ÿ“ Download Threads videos & log results in Google Sheets

โšก 359 views ยท ๐Ÿ“ File Management

Description

Threads Video Downloader & Google Drive Logger

Automate downloading Threads videos from URLs, upload them to Google Drive, and log results in Google Sheets using n8n.

API Source: Threads Downloader on RapidAPI


Workflow Explanation

NodeExplanation
On form submissionTrigger workflow when a user submits a Threads URL via a form.
Fetch Threads Video DataSends the submitted URL to Threads Downloader API to get video info.
Check If Video ExistsChecks if the API returned a valid downloadable video URL.
Download Threads Video FileDownloads the video from the API-provided URL.
Upload Video to Google DriveUploads the downloaded video to a designated Google Drive folder.
Set Google Drive Sharing PermissionsSets sharing permissions so the uploaded video is accessible via a link.
Log Success to Google SheetsRecords the original URL and Google Drive link in Google Sheets for successful downloads.
Wait Before Logging FailureAdds a pause before logging failed downloads to avoid timing issues.
Log Failed Download to Google SheetsLogs URLs with โ€œN/Aโ€ for videos that failed to download.

How to Obtain a RapidAPI Key

  1. Go to Threads Downloader API on RapidAPI.
  2. Sign up or log in to RapidAPI.
  3. Subscribe to the API (free or paid plan).
  4. Copy the X-RapidAPI-Key from your dashboard and paste it into the n8n HTTP Request node.

โœ… Note: Keep your API key private.


How to Configure Google Drive & Google Sheets

Google Drive

  1. Go to Google Drive and create a folder for videos.
  2. In n8n, create Google Drive OAuth2 credentials and connect your account.
  3. Configure the Upload Video node to target your folder.

Google Sheets

  1. Create a spreadsheet with columns: URL | Drive_URL.
  2. Create Google API credentials in n8n (service account or OAuth2).
  3. Map the nodes to log successful or failed downloads.

Google Sheet Column Table Example

URLDrive_URL
https://www.threads.net/p/abc123https://drive.google.com/file/d/xyz/view
https://www.threads.net/p/def456N/A

Use Case & Benefits

๐Ÿ”— Nodes Used

Google Sheets, HTTP Request, Google Drive, n8n Form Trigger

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup