n8nflow.net logo

Automated Video Analysis: AI-Powered Insight Generation from Google Drive

by Yaron Beenβ€’Updated: Last update 23 days agoβ€’Source: n8n.io
Loading workflow viewer...

Getting Started

Automated Video Analysis: AI-Powered Insight Generation from Google Drive

Subtitle: From Google Drive Upload β†’ Gemini AI β†’ Video Insights


🌍 Overview

This workflow automates the analysis of videos stored in Google Drive.
It downloads a video, validates it, sends it to Google Gemini AI for analysis, and returns a structured summary of the content.

Think of it as your AI-powered video analyst that works on schedule.


🟒 Section 1: Trigger – Start the Workflow

πŸ”— Node: Schedule Trigger

  • Runs the workflow automatically at a defined interval (e.g., daily).
  • Eliminates the need to manually start each run.

πŸ’‘ Why useful?
Keeps analysis consistent without human intervention.


🟦 Section 2: Download Video

πŸ”— Node: Download Video from Drive

  • Connects to Google Drive.
  • Fetches the video file you want to analyze.

πŸ’‘ Why useful?
Pulls the raw video directly from storage β†’ no manual download needed.


🟣 Section 3: Prepare for AI Analysis

πŸ”— Nodes:

  • Basic LLM Chain β†’ Prepares a structured prompt for Gemini.
  • Google Gemini Chat Model β†’ Defines Gemini as the AI engine for analysis.

πŸ’‘ Why useful?
Ensures that Gemini gets both the video file + clear instructions on what to analyze (e.g., "Please provide a summary").


🟑 Section 4: Validate File Status

πŸ”— Node: Check File Status

  • Confirms that the video file is uploaded and ready to be processed by Gemini’s API.

πŸ’‘ Why useful?
Prevents wasted runs by making sure the file exists and is accessible before analysis.


πŸ”΅ Section 5: AI Video Analysis

πŸ”— Node: Analyze Video

  • Sends the video file to Gemini (via API request).
  • Asks Gemini to analyze and summarize the video.

πŸ’‘ Why useful?
Extracts insights from video content automatically β€” no need to watch manually.

πŸ“© Example Output:

"The video shows a product demo highlighting three features: speed, security, and collaboration. The speaker explains how the software reduces manual tasks. Ending includes a call to action for early sign-up."


🟠 Section 6: Format Results

πŸ”— Node: Format Analysis Result

  • Structures the Gemini response into clean output.
  • Makes it easy to forward results into email, Slack, or reporting tools.

πŸ’‘ Why useful?
Instead of messy raw JSON, you get clear summaries ready to share.


πŸ“Š Workflow Summary

SectionNode(s)PurposeBenefit
🟒 TriggerSchedule TriggerRun workflow on scheduleFully automated start
🟦 Download VideoGoogle DriveFetch video from DriveRemoves manual steps
🟣 Prepare PromptBasic LLM Chain, Gemini Chat ModelStructure prompt for AIAccurate AI analysis
🟑 Validate FileCheck File StatusEnsure file is accessibleAvoids failed runs
πŸ”΅ AI AnalysisAnalyze VideoGemini analyzes + summarizes videoSaves hours of manual review
🟠 Format OutputFormat Analysis ResultClean up AI outputReady-to-use summaries
πŸ”΄ AssistanceSticky NotesTraining + support infoBeginner-friendly handoff

πŸš€ Benefits

  • Hands-free analysis β†’ Videos summarized automatically.
  • Saves time β†’ No need to watch entire footage.
  • Reliable β†’ Validates file before sending to AI.
  • Flexible β†’ Schedule runs (daily, weekly, etc.).
  • Scalable β†’ Works for 1 video or 1,000.
  • Beginner-friendly β†’ Includes sticky notes and author support.