Skip to main content
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

  1. Automate the generation of AI-based videos from Notion database entries
  2. Upload generated videos directly to a connected YouTube channel
  3. Use target labels to route tasks efficiently and avoid duplicate triggers
  4. 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

Workflow 1: Generate AI Video

Step 1: Notion Database Setup

Create a new database in Notion called GenAI Video Ideas. Add fields such as Name (video title) and Description (prompt for video content).

Step 2: Trigger Setup in Zapier

  1. Create a new Zap
  2. Set the trigger to New Database Item in Notion
  3. Select the GenAI Video Ideas database

Step 3: Generate Video with VideoDB

  1. Add an action using VideoDB - Generate Video
  2. Authenticate with API key from the VideoDB dashboard
  3. Pass in the Notion fields (Name and Description) as the prompt
  4. Configure settings (e.g., 30 seconds duration, vertical aspect ratio, with subtitles)
  5. Assign a target label (e.g., YT upload) to ensure the correct next workflow is triggered
  6. Test and verify that a Job ID (token) is returned

Step 4: Publish Workflow 1

Once tested, activate this workflow to automatically start video generation.

Workflow 2: Upload Generated Video to YouTube

Step 1: Trigger Setup

  1. Create another Zap
  2. Set the trigger to AI Generated Video Created in VideoDB
  3. Use the same target label (YT upload) so only matching jobs trigger this workflow

Step 2: YouTube Upload Configuration

  1. Add an action using YouTube - Upload Video
  2. Connect your YouTube account to Zapier
  3. Map video fields:
    • Title: from Notion Name
    • Description: e.g., “GenAI Video created by VideoDB”
    • Video File: use the Download URL from VideoDB output
  4. Optional settings: leave thumbnail empty, mark video as Public, and set “not made for kids”

Step 3: Test and Publish Workflow 2

Run a test to verify upload works. Publish the workflow to activate automatic uploads.

Workflow Templates