Skip to main content

Automated video analysis: AI-powered insight generation from Google Drive

Workflow preview

Automated video analysis: AI-powered insight generation from Google Drive preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

Overview

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

Section Node(s) Purpose Benefit
🟒 Trigger Schedule Trigger Run workflow on schedule Fully automated start
🟦 Download Video Google Drive Fetch video from Drive Removes manual steps
🟣 Prepare Prompt Basic LLM Chain, Gemini Chat Model Structure prompt for AI Accurate AI analysis
🟑 Validate File Check File Status Ensure file is accessible Avoids failed runs
πŸ”΅ AI Analysis Analyze Video Gemini analyzes + summarizes video Saves hours of manual review
🟠 Format Output Format Analysis Result Clean up AI output Ready-to-use summaries
πŸ”΄ Assistance Sticky Notes Training + support info Beginner-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.