Use this powerful n8n workflow to automate video analysis directly from Google Drive using the Google Gemini API. Learn how to configure each n8n node for multimodal analysis.
Download this n8n workflow template and start using it instantly.
Manually reviewing and summarizing video content is time-consuming. This sophisticated n8n workflow addresses this challenge by creating a scheduled, end-to-end pipeline for video analysis. By integrating Google Drive operations with the Google Gemini 1.5 Pro model, this automation allows users to automatically download large media files, ensure they are ready for processing, and generate detailed, AI-powered summaries.
This specific n8n workflow demonstrates how to handle file management and complex multimodal AI requests, making it one of the most useful n8n templates for scalable content operations. Setting up this n8n automation requires configuration of both Google Drive and Google AI credentials.
This n8n workflow operates on a scheduled basis, ensuring continuous monitoring and processing of video files:
Download Video from Drive) connects to Google Drive to download the target video file, preparing it for subsequent steps.Basic LLM Chain node prepares the input, integrating with the Google Gemini Chat Model to structure the user prompt, though the actual file handling relies on subsequent HTTP calls.Check File Status HTTP Request n8n node pings the Gemini API endpoint to confirm that the video file has been successfully uploaded or is ready for processing via a file URI (Note: The file ID must be manually configured or dynamically passed from a prior upload step not explicitly shown in the provided n8n workflow).Analyze Video HTTP Request n8n node. This node sends a POST request to the Gemini 1.5 Pro model endpoint. The request includes the video file URI and a text prompt instructing the AI: "Please analyze the video and provide a summary."Format Analysis Result Set n8n node standardizes and structures the summary returned by the Gemini model, preparing the output for storage or notification.To deploy this powerful n8n workflow, follow these steps:
Download Video from Drive n8n node with your Google Drive OAuth2 credentials. You must specify the exact File ID of the video you wish to analyze.Google Gemini Chat Model node with your Google Gemini (PaLM) API credentials.Check File Status and Analyze Video HTTP Request n8n node parameters. You must replace the placeholder yourfileid in the URLs and JSON body with the actual File ID referencing the video as processed by the Gemini File API. This step often requires a preceding node (not shown) to upload the file to Gemini's file service. Schedule Trigger (Schedule Trigger)
Function: Serves as the initial n8n trigger, defining when the automation should execute (e.g., hourly, daily).
Key Configuration: Configured for periodic execution.
Download Video from Drive (Google Drive)
Function: Downloads the specified video file from a connected Google Drive account using OAuth2 authentication.
Key Configuration: Requires manual input of the fileId to identify the video.
Basic LLM Chain (LangChain)
Function: Prepares the overall prompt structure for the subsequent AI processing step, leveraging the connected Gemini model.
Key Configuration: Defines the initial prompt: "Hi, could you please prepare the video below..."
Check File Status (HTTP Request)
Function: Checks the status of the file uploaded to the Gemini endpoint before attempting analysis, using a predefined URL pattern. This n8n node is crucial for ensuring API readiness.
Key Configuration: URL is hardcoded to check a file status endpoint, requiring replacement of yourfileid.
Analyze Video (HTTP Request)
Function: Executes the core AI analysis using the Gemini 1.5 Pro model's multimodal capabilities, sending the file URI and the analysis request prompt.
Key Configuration: Uses POST request; includes the instruction "Please analyze the video and provide a summary." and references the file via fileUri: "files/yourfileid".
Format Analysis Result (Set)
* Function: Structures and cleans the JSON output received from the Gemini analysis for clear reporting or downstream tasks. This is the final n8n node in the processing chain.
Automate Upwork job monitoring using this advanced n8n workflow. Scrape listings, filter duplicates using MongoDB, and receive instant Slack alerts for new jobs. This reliable n8n template ensures you never miss an opportunity.

Use this n8n workflow to create a seamless web upload form, automatically calculate large file size, and handle secure, multi-part file transfers via the TransferNow API.

A robust n8n workflow for scheduled financial portfolio analysis using Perplexity and OpenAI, delivering PDF reports via Telegram, and supporting real-time conversational AI.

Use this efficient n8n workflow to automate video downloads from dynamic websites using browser automation tools like Airtop. Learn how to combine interaction nodes with core n8n logic.

Use this powerful n8n workflow to automatically translate videos using the DubLab App and distribute the multilingual content simultaneously to YouTube, Telegram, Dropbox, and Box.

Building AI Agents and Automations | Growth Marketer | Entrepreneur | Book Author & Podcast Host If you need any help with Automations, feel free to reach out via linkedin: https://www.linkedin.com/in/yaronbeen/ And check out my Youtube channel: https://www.youtube.com/@YaronBeen/videos







































