Use this powerful n8n workflow to analyze video content, summarizing uploaded files or public YouTube links instantly using the Google Gemini AI model. A great n8n template for media analysis.
Download this n8n workflow template and start using it instantly.
Content marketers needing automated video summarization.
Researchers analyzing large video datasets.
Developers looking for advanced AI vision integration within an n8n workflow.
Anyone needing robust n8n templates for handling complex file uploads and external AI services.
This sophisticated n8n workflow provides dual functionality for video analysis using the Gemini 2.0 Flash model. It solves the common challenge of processing video content by offering two distinct entry points: secure file uploads via an n8n trigger form, and direct analysis of public YouTube links. Instead of manual transcription and summarization, this n8n automation extracts detailed descriptions or summaries automatically. This specific n8n workflow demonstrates advanced usage of the HTTP Request n8n node for file handling (for uploaded videos) and direct URL inference (for YouTube), making it a versatile and powerful addition to any automation suite. Utilizing this n8n workflow saves significant time in media processing.
This n8n workflow operates via two main pathways, both leveraging the power of the Google Gemini AI via the HTTP Request n8n node:
On form submission n8n trigger, which captures the uploaded video file.Upload File n8n node performs a multi-step HTTP POST request to the Google Generative API's upload endpoint, handling the binary data and staging the file.Wait n8n node introduces a short delay, ensuring the cloud infrastructure time to process the file URI.Get Analysis n8n node then calls the gemini-2.0-flash model, referencing the staged file URI and instructing the AI to provide a detailed description of the video.Video Analysis n8n node extracts the comprehensive textual description from the AI's response.YouTube Video n8n node bypasses the upload step and calls the Gemini API directly, including the public YouTube URL in the file_data object and requesting a 3-sentence summary.Get Results n8n node processes and outputs the resulting summary text. This showcases how the same n8n workflow can handle different input types.Upload File, Get Analysis, and YouTube Video. These HTTP Request n8n nodes require authentication to function correctly.On form submission n8n trigger will immediately provide a usable URL for video file uploads, making this n8n template ready to use. On form submission (n8n trigger): The entry point for video file uploads. It is configured to require a single file input labeled "Video." This n8n trigger makes the automation highly accessible.
Upload File (HTTP Request n8n node): Crucial for handling large binary video data upload to the Google Generative API. It uses custom headers (X-Goog-Upload-Command) for multi-step file staging, a key technical aspect of this n8n workflow.
Get Analysis (HTTP Request n8n node): Sends the core analysis request to the gemini-2.0-flash model. It dynamically uses the uploaded file URI ({{ $json.file.uri }}) and includes a verbose text prompt for detailed video description.
Wait (n8n node): Used to introduce necessary delays in the processing path, ensuring the file upload is complete before the Get Analysis request is made.
Video Analysis / Get Results (Set n8n node): These nodes handle data manipulation, extracting the final descriptive text from the deeply nested structure of the Gemini API response.
YouTube Video (HTTP Request n8n node): This demonstrates a different capability of the Gemini n8n node integration, analyzing public YouTube URLs directly by including the URL in the request payload.
Automatically analyze USD/JPY rates every 4 hours using an n8n workflow powered by an AI agent, Tavily real-time news search, and structured output. Get timely FX analysis reports delivered via Gmail using this powerful n8n template.

Scrape Trustpilot and Sitejabber reviews using this powerful n8n workflow. Leverage AI agents and the Decodo n8n node to analyze sentiment, summarize key insights, and append structured data to Google Sheets for continuous reputation tracking.

Use this powerful n8n workflow to automate trending YouTube video research. Scrape hot videos, analyze thumbnails with GPT, and generate optimized titles, thumbnail text, and unique video outlines directly into Google Sheets. Leverage n8n templates for content velocity.

Use this powerful n8n workflow to automate conversion and SEO audits. Simply provide a URL, generate structured AI reports, and automatically upload the results to Google Docs. Download this n8n templates.

Automate website backlink analysis using this n8n workflow. It queries the Top Backlink Checker API (Semrush data) and logs detailed SEO reports directly into Google Sheets.









































