Add burned-in captions to new Google Drive videos with Shotstack
Quick overview This workflow watches a Google Drive folder for new video files, shares each file via a public link, then uses Shotstack to auto-transcribe and burn captions into the video and saves the captioned MP4 back to Google Drive.
How it works Triggers when a new video file is created in a specified Google Drive folder. Updates the new file’s sharing settings in Google Drive so Shotstack can download it via a public link. Sends the Google Drive download URL to Shotstack to render a new MP4 with burned-in captions generated from the video’s speech. Polls Shotstack every 10 seconds to check the render status until it is done or failed. If the render fails, stops the workflow and returns Shotstack’s error message. If the render succeeds, retrieves the rendered asset URL from Shotstack, downloads the captioned video, and uploads it to Google Drive as a new “(captioned)” copy.
Setup Connect your Google Drive credentials and select the folder to watch for new videos. Connect your Shotstack credentials (API key) and confirm your Shotstack project can create renders. Set the destination Google Drive folder for the captioned output so it is not the same as the watched folder (to avoid retrigger loops).
Requirements A Shotstack account and API key The video must contain speech. Shotstack transcribes the audio, and a clip with no spoken audio fails the render. Very large Google Drive files return a scan warning page instead of the video. Host those elsewhere.
Customization Restyle the subtitles with the caption asset's font, background and margin options. Change the output resolution or aspect ratio in the output block. Replace the last two nodes to send the finished video somewhere other than Google Drive.
Related Templates
AI Weather Forecasts with MCP Integration
Real-time Weather Forecasts with MCP Tools This n8n workflow demonstrates how to integrate real-time weather intelligen...
Google Sheets UI for n8n Workflow
Google Sheets UI for Workflow Control This n8n template provides a practical and efficient way to manage your n8n workf...
Demo Workflow - How to use workflowStaticData()
This workflow demonstrates how to use the workflowStaticData() function to set any type of variable that will persist wi...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments