Workflow Overview: This workflow explains how to automate the creation and publishing of AI-generated (GenAI) videos to YouTube using VideoDB. The goal is to enable a fully automated YouTube channel where video ideas added in Notion automatically result in generated videos uploaded to YouTube.
Goals:
Automate the generation of AI-based videos from Notion database entries. Upload generated videos directly to a connected YouTube channel. Use target labels to route tasks efficiently and avoid duplicate triggers. Enable creators to scale video publishing with minimal manual effort. Prerequisites:
A Zapier account to create and manage workflows. Access to VideoDB with an active API key. A Notion account with a database for storing video ideas and descriptions. A YouTube account connected to Zapier for video uploads. Basic familiarity with Zapier workflows and triggers. Detailed Steps:
Workflow 1: Generate AI Video
Create a new database in Notion called GenAI Video Ideas. Add fields such as Name (video title) and Description (prompt for video content). Set the trigger to New Database Item in Notion. Select the GenAI Video Ideas database. Generate Video with VideoDB: Add an action using VideoDB → Generate Video. Authenticate with API key from the VideoDB dashboard. Pass in the Notion fields (Name and Description) as the prompt. Configure settings (e.g., 30 seconds duration, vertical aspect ratio, with subtitles). Assign a target label (e.g., YT upload) to ensure the correct next workflow is triggered. Test and verify that a Job ID (token) is returned. Once tested, activate this workflow to automatically start video generation. Workflow 2: Upload Generated Video to YouTube
Set the trigger to AI Generated Video Created in VideoDB. Use the same target label (YT upload) so only matching jobs trigger this workflow. YouTube Upload Configuration: Add an action using YouTube → Upload Video. Connect your YouTube account to Zapier. Description: e.g., “GenAI Video created by VideoDB”. Video File: use the Download URL from VideoDB output. Optional settings: leave thumbnail empty, mark video as Public, and set “not made for kids.” Test and Publish Workflow 2: Run a test to verify upload works. Publish the workflow to activate automatic uploads. Links to workflows: