Skip to main content
This workflow automates the process of generating subtitles for uploaded videos and storing the subtitled videos in a designated Google Drive folder. It improves accessibility for audiences who need captions.

Goals

  1. Automate the process of generating subtitles for uploaded videos
  2. Store the subtitled videos in a designated Google Drive folder
  3. Improve accessibility for audiences who need captions

Prerequisites

  • A Zapier account to create and manage workflows
  • Access to VideoDB with an active API key
  • A configured Google Drive account with a folder (e.g., “Videos with Subtitles”) for storing processed videos
  • A Zapier Interface form to collect video name and video URL submissions
  • Basic understanding of Zapier workflows (Zaps) and triggers

Workflow 1: Form Submission and Upload

Step 1: Form Creation (Zapier Interfaces)

  1. Create a blank form titled Subtitle Video
  2. Add two fields:
    • Video Name (short text, required)
    • Video URL (valid URL field, required)
  3. Share the form link for submissions

Step 2: Trigger Setup

  1. In Zapier, set the trigger to Form Submission Created from Interfaces
  2. Select the subtitle video form and page

Step 3: Upload and Index with VideoDB

  1. Add an action to upload and index the video via VideoDB
  2. Authenticate using your VideoDB API key
  3. Map video name and URL from the form data
  4. Set a target label (e.g., subtitle video) to connect with the second workflow
  5. Test to confirm a Job ID is returned, indicating the task has started

Step 4: Publish Workflow 1

Activate the workflow so form submissions trigger video uploads automatically.

Workflow 2: Subtitle Generation and Storage

Step 1: Trigger Setup

  1. Create a new Zap with trigger New Video Uploaded Job from VideoDB
  2. Filter by target label subtitle video to ensure only relevant jobs trigger this workflow

Step 2: Subtitle Generation

  1. Add an action to Generate Subtitles using VideoDB
  2. Select dynamic video ID from the trigger event
  3. Configure subtitle style (e.g., supersize animation to enlarge the spoken word)
  4. Test to confirm the output returns a stream URL, download URL, and new video ID

Step 3: Google Drive Storage

  1. Add an action to Upload File to Google Drive
  2. Authenticate with your Google account and select the designated folder (e.g., Videos with Subtitles)
  3. Use the downloadable URL from VideoDB as the input file
  4. Set the file name dynamically from the form submission with “.mp4” extension
  5. Test to confirm the subtitled video is stored in the correct folder

Step 4: Publish Workflow 2

Activate this workflow to automatically process and store subtitled videos.

Workflow Templates