Templates / Generate SRT and VTT subtitles from media URLs with Gladia and Google Drive

Generate SRT and VTT subtitles from media URLs with Gladia and Google Drive

Ready for 3.0

by Kevin Yu ✓ · 5 views · created 2026-07-11 · Content Creation, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 11 nodes and runs when someone submits an n8n form (“Generate subtitles from a media URL”). Along the way it connects Google Drive. It also calls api.gladia.io over HTTP.

How it runs

Trigger: When someone submits an n8n form (“Generate subtitles from a media URL”).

  1. Set Polling Config (Edit Fields (Set)): sets 2 fields: wait_seconds, max_attempts
  2. Submit Media to Gladia (HTTP Request): calls api.gladia.io (POST)
  3. Wait: pauses before continuing
  4. Report Subtitle Failure (n8n Form): shows the next form page
  5. Fetch Transcription Result (HTTP Request): calls an HTTP API
  6. Route by Status (Switch): routes items into 2 branches
  7. Build Subtitle Files (Code): runs custom JavaScript code
  8. Upload Subtitles to Drive (Google Drive): upload (file)
  9. Compose Download Reply (Code): runs custom JavaScript code
  10. Show Download Links (n8n Form): shows the next form page

Services it uses

Google Drive

HTTP calls to: api.gladia.io

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 (8)

From the author

Quick Overview This workflow collects a public media URL via an n8n form, sends it to Gladia to generate SRT and VTT subtitles, uploads the subtitle files to Google Drive, and returns Drive download links back in the form completion page. How it works 1.…

Excerpt from Kevin Yu's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.