Goals
- Automate the process of dubbing videos into Spanish
- Store the dubbed videos in a specified Google Drive folder
- Optimize workflow efficiency by minimizing unnecessary triggers and conserving credits
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 called “Dubbed Videos” for storage
- The ability to create forms via interfaces.zapier.com for video submissions
- A basic understanding of how Zapier workflows (zaps) function
Workflow 1: Upload and Indexing Process
Step 1: Form Creation
Use interfaces.zapier.com to create a video submission form. The form should capture the video name and URL, which can be a downloadable link or a YouTube link.Step 2: Trigger Setup
- Create a new Zap in Zapier
- Set the trigger to be a form submission from Zapier Interfaces
- Choose the interface and specific form created for video submissions
Step 3: Video Upload and Indexing
- Add an action step using VideoDB to upload and index the video
- Connect to VideoDB using your API key
- Pass the video name and URL from the form submission
- Use “dubvideo” as the target label to ensure specific workflow triggering
- Test the step to verify that a job ID is returned, indicating the process is in progress
Step 4: Publish Workflow 1
Once verified, publish this initial workflow to make it active.Workflow 2: Dubbing and Storage Process
Step 1: Trigger Setup
- Create a new Zap in Zapier
- Set the trigger to “New Video Uploaded and Indexed” from VideoDB
- Use the target label “dubvideo” to ensure this workflow is only triggered for designated tasks
Step 2: Dubbing Process
- Add an action step for autodubbing the video using VideoDB
- Set the language code to “ES” for Spanish
- Test the step to receive a new job ID, indicating the dubbing process has started
Step 3: Delay for Processing
Insert a delay action using Zapier’s flow control to wait for a specified time (e.g., 5 minutes) to allow the dubbing process to complete.Step 4: Check Dubbing Status
After the delay, check the job status using VideoDB’s action to confirm the dubbing has finished.Step 5: Google Drive Storage
- Add an action step to upload the dubbed video to Google Drive
- Select the appropriate account and folder (“Dubbed Videos”)
- Use the downloadable URL from the completed video job for the file upload
- Use the video name with “.mp4” as the extension for the file name