Automate Video Uploads to Thumbnails with FFmpeg & Google Drive

Accepts video uploads via webhook, generates thumbnails at 5s using FFmpeg, uploads to Google Drive, and returns JSON with file details. Ideal for marketing teams and developers needing an API thumbnail service.

n8n
Automate Video Uploads to Thumbnails with FFmpeg & Google Drive

This n8n workflow automates the process of handling video uploads through an HTTP webhook endpoint (/mediaUpload), validating the file as a video, extracting a thumbnail frame at the 5-second mark using FFmpeg, uploading the thumbnail to a specified Google Drive folder, and responding with structured JSON containing the Drive file ID, name, links, size, and checksums.

Key features include automatic FFmpeg installation if not present, temporary file handling in /tmp for reliability, and flexible naming (original-filename-thumb.jpg). It rejects non-video files with HTTP 400, ensuring robust API behavior without extra infrastructure.

Benefits: Saves hours for social media teams by instantly providing publish-ready thumbnails; acts as a serverless microservice for developers; standardizes assets for agencies/creators in shared Drives. Use cases include content pipelines, automated asset processing, and integration into larger media workflows.

$12.99
Last updated October 3, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Internet of Things workflows

More from Matt Buds

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.