Automate S3 video transcoding, thumbnail generation & CDN distribution
Ready for 3.0What this workflow does
This workflow has 19 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Google Sheets and Slack. It also calls api.ffmpeg-service.com and api.cloudflare.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Merge: merges the data from its input branches
- Extract S3 Info (Code): runs custom JavaScript code
- Check Is Video (If): checks a condition and branches into true / false
- Get Video Metadata (FFprobe) (HTTP Request): calls api.ffmpeg-service.com (POST)
- Invalid File Response (Edit Fields (Set)): sets 3 fields: status, message, job_id
- Parse Video Metadata (Code): runs custom JavaScript code
- Merge: merges the data from its input branches
- Generate Thumbnails (FFmpeg) (HTTP Request): calls api.ffmpeg-service.com (POST)
- Generate Preview GIF (HTTP Request): calls api.ffmpeg-service.com (POST)
- Transcode Video (HTTP Request): calls api.ffmpeg-service.com (POST)
…plus 7 more steps. See the full node list below.
Services it uses
HTTP calls to: api.ffmpeg-service.com, api.cloudflare.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (10)
- Webhook
n8n-nodes-base.webhook - Merge
n8n-nodes-base.merge - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Aggregate
n8n-nodes-base.aggregate - Google Sheets
n8n-nodes-base.googleSheets - Slack
n8n-nodes-base.slack - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Video Processing Pipeline with Thumbnail Generation and CDN Distribution Summary Automated video processing system that monitors S3 for new uploads, generates thumbnails and preview clips, extracts metadata, transcodes to multiple formats, and distributes to…