Goals
- Automate the extraction of highlight clips from YouTube videos
- Generate concise, insightful summaries for each video
- Store both highlights and summaries in a designated Notion page
- Optimize efficiency by leveraging asynchronous processing and targeted workflow triggers
Prerequisites
- A Zapier account to create and manage workflows
- Access to VideoDB with an active API key
- A configured YouTube playlist (e.g., “Informative Videos and Lectures”)
- A Notion account with a parent page prepared for storing video highlights and summaries
- Basic understanding of how Zapier workflows (Zaps) function
Workflow 1: Upload and Indexing Process
Step 1: Trigger Setup
- Create a new Zap in Zapier
- Set the trigger to New Video in Playlist (YouTube)
- Select the playlist (e.g., “Informative Videos and Lectures”)
Step 2: Video Upload and Indexing
- Add an action step using VideoDB to upload and index the video
- Connect to VideoDB using the API key
- Pass the video title and YouTube URL
- Set a target label (e.g.,
YT highlights) to direct the workflow - Confirm that a Job ID is returned as a token for asynchronous processing
Step 3: Publish Workflow 1
Once verified, publish this workflow to make it active.Workflow 2: Highlight Clips and Summaries
Step 1: Trigger Setup
- Create a new Zap in Zapier
- Set the trigger to Upload Job Completed from VideoDB
- Filter by the target label (
YT highlights)
Step 2: Highlight Clip Generation
- Add an action to generate highlight clips using VideoDB
- Use prompts such as “Extract interesting and insightful information”
- Select dynamic video ID from the trigger
- Configure clip aspect ratio and subtitles (optional)
- Note: this action returns a new asynchronous Job ID
Step 3: Summary Generation
- Add another action to summarize the video with VideoDB
- Prompt: “Create Notion markdown notes capturing key insights”
- Use the same video ID dynamically
- Another asynchronous Job ID will be returned
Step 4: Delay for Processing
Insert a Zapier delay (e.g., 5-6 minutes) to allow highlight and summary jobs to complete.Step 5: Job Status Checks
- Add steps to check the status of both highlight and summary jobs
- Verify the results are available (player link for highlights, markdown text for summary)
Step 6: Notion Storage
- Add an action to create a new Notion page under the parent “Playlist Highlights” page
- Use the video title as the page title
- Insert the summary text first
- Add a “Highlights” section, including the VideoDB Player URL for generated highlight clips