YouTube video content analyzer & summarizer with Gemini AI
This workflow takes two inputs, YouTube video URL (required) and a description of what information to extract from the video. If the description/"what you want" field is left empty, the default prompt will generate a detailed summary and description of the video's contents. However, you can ask for something more specific using this field/input. ++ Don't forget to make the workflow Active and use the production URL from the form node.
Benefits
- Instant Summary Generation - Convert hours of watching YouTube videos to familiar, structured paragraphs and sentences in less than a minute
- Live Integration - Generate a summary or extract information on the contents of a YouTube video whenever, wherever
- Virtually Complete Automation - All that needs to be done is to add the video URL and describe what you want to know from the video
- Presentation - You can ask for a specific structure or tone to better help you understand or study the contents of the video
How It Works
- Smart Form Interface:
- Simple N8N form captures video URL and description of what's to be extracted
- Designed for rapid and repeated completion anywhere and anytime
- Description Check:
- Uses JavaScript to determine if the description was filled in or left empty
- If the description field was left empty, the default prompt is, "Please be as descriptive as possible about the contents being spoken of in this video after giving a detailed summary."
- If the description field is filled, then the filled input will be used to describe what information to extract from the video
- HTTP Request:
- We're using Gemini API, specifically the video understanding endpoint
- We make a post HTTP request passing the video URL and the description of what information to extract
Setup Instructions:
HTTP Request Setup:
-
Sign up for a Google Cloud account, join the Developer Program and get your Gemini API key
-
Get curl for Gemini Video Understanding API
The video understanding relies on the inputs from the form, code and HTTP request node, so correct mapping is essential for the workflow to function correctly. Feel free to reach out for additional help or clarification at my Gmail: terflix45@gmail.com, and I'll get back to you as soon as I can.
Setup Steps:
- Code Node Setup:
-
The code node is used as a filter to ensure a description prompt is always passed on. Use the JavaScript code below for that effect: // Loop over input items and add a new field called 'myNewField' to the JSON of each one for (const item of $input.all()) { item.json.myNewField = 1;
if ($input.first().json['What u want?'].trim() == "") { $input.first().json['What do you want?'] = "Please be as descriptive as possible about the contents being spoken of this video after giving a detailed summary"; }
}
return $input.all(); // End of Code
- HTTP Request:
- To use Gemini Video Understanding, you'll need your Gemini API key
- Go to https://ai.google.dev/gemini-api/docs/video-understanding#youtube. This link will take you directly to the snippet. Just select REST programming language, copy that curl command, then paste it into the HTTP Request node
- Replace "Please summarize the video in 3 sentences." with the code node's output, which should either be the default description or the one entered by the user (second output field variable)
- Replace "https://www.youtube.com/watch?v=9hE5-98ZeCg" with the n8n form node's first output field, which should be the YouTube video URL variable
- Replace $GEMINI_API_KEY with your API key
- Redirect:
- Use n8n form node, page type "Final Ending" to redirect user to the initial n8n form for another analysis or preferred destination
YouTube Video Content Analyzer & Summarizer with Gemini AI
This n8n workflow provides a user-friendly interface to analyze and summarize YouTube video content using the Gemini AI model. Users submit a YouTube video URL through a form, and the workflow extracts the transcript, sends it to Gemini AI for summarization, and then displays the summary back to the user.
What it does
- Triggers on Form Submission: The workflow starts when a user submits a YouTube video URL via an n8n form.
- Extracts Video ID: It uses a Code node to parse the submitted YouTube URL and extract the unique video ID.
- Fetches YouTube Transcript: An HTTP Request node is used to call a hypothetical external service (or a custom API/library) that retrieves the transcript of the specified YouTube video using its ID.
- Summarizes with Gemini AI: The extracted transcript is then sent to the Gemini AI model (via another HTTP Request node) with a prompt to summarize the content.
- Displays Summary: Finally, the summarized content from Gemini AI is presented back to the user through an n8n Form node, providing a clear and concise overview of the video.
Prerequisites/Requirements
- n8n Instance: A running n8n instance to host and execute the workflow.
- YouTube API Key (Implicit): While not explicitly shown in the JSON, fetching YouTube transcripts typically requires access to the YouTube Data API. This workflow assumes an external service or a custom setup handles this, which would likely need a YouTube API Key.
- Gemini AI API Key: Access to the Gemini AI model and an associated API key for summarization.
- External Transcript Service (Implicit): The workflow uses an HTTP Request node to
https://youtube-transcript.p.rapidapi.com/which implies reliance on an external service to fetch YouTube transcripts. You would need to subscribe to or have access to such a service.
Setup/Usage
- Import the Workflow: Import the provided JSON into your n8n instance.
- Configure Credentials:
- HTTP Request (YouTube Transcript): Configure the HTTP Request node (ID: 19) to correctly authenticate with your chosen YouTube transcript service (e.g., RapidAPI key, if using the example URL).
- HTTP Request (Gemini AI): Configure the HTTP Request node responsible for calling Gemini AI with your Gemini AI API key.
- Activate the Workflow: Once configured, activate the workflow.
- Access the Form: The
n8n Form Triggernode (ID: 1225) will provide a unique URL. Share this URL with users to allow them to submit YouTube video links for analysis. - Submit YouTube URL: Users can paste a YouTube video URL into the form and submit it.
- View Summary: The workflow will process the request and display the Gemini AI-generated summary directly in the browser via the
n8n Formnode (ID: 1274).
Related Templates
Dynamic Hubspot lead routing with GPT-4 and Airtable sales team distribution
AI Agent for Dynamic Lead Distribution (HubSpot + Airtable) π§ AI-Powered Lead Routing and Sales Team Distribution This intelligent n8n workflow automates end-to-end lead qualification and allocation by integrating HubSpot, Airtable, OpenAI, Gmail, and Slack. The system ensures that every new lead is instantly analyzed, scored, and routed to the best-fit sales representative β all powered by AI logic, sir. --- π‘ Key Advantages β‘ Real-Time Lead Routing Automatically assigns new leads from HubSpot to the most relevant sales rep based on region, capacity, and expertise. π§ AI Qualification Engine An OpenAI-powered Agent evaluates the leadβs industry, region, and needs to generate a persona summary and routing rationale. π Centralized Tracking in Airtable Every lead is logged and updated in Airtable with AI insights, rep details, and allocation status for full transparency. π¬ Instant Notifications Slack and Gmail integrations alert the assigned rep immediately with full lead details and AI-generated notes. π Seamless CRM Sync Updates the original HubSpot record with lead persona, routing info, and timeline notes for audit-ready history, sir. --- βοΈ How It Works HubSpot Trigger β Captures a new lead as soon as itβs created in HubSpot. Fetch Contact Data β Retrieves all relevant fields like name, company, and industry. Clean & Format Data β A Code node standardizes and structures the data for consistency. Airtable Record Creation β Logs the lead data into the βLeadsβ table for centralized tracking. AI Agent Qualification β The AI analyzes the lead using the TeamDatabase (Airtable) to find the ideal rep. Record Update β Updates the same Airtable record with the assigned team and AI persona summary. Slack Notification β Sends a real-time message tagging the rep with lead info. Gmail Notification β Sends a personalized handoff email with context and follow-up actions. HubSpot Sync β Updates the original contact in HubSpot with the assignment details and AI rationale, sir. --- π οΈ Setup Steps Trigger Node: HubSpot β Detect new leads. HubSpot Node: Retrieve complete lead details. Code Node: Clean and normalize data. Airtable Node: Log lead info in the βLeadsβ table. AI Agent Node: Process lead and match with sales team. Slack Node: Notify the designated representative. Gmail Node: Email the rep with details. HubSpot Node: Update CRM with AI summary and allocation status, sir. --- π Credentials Required HubSpot OAuth2 API β To fetch and update leads. Airtable Personal Access Token β To store and update lead data. OpenAI API β To power the AI qualification and matching logic. Slack OAuth2 β For sending team notifications. Gmail OAuth2 β For automatic email alerts to assigned reps, sir. --- π€ Ideal For Sales Operations and RevOps teams managing multiple regions B2B SaaS and enterprise teams handling large lead volumes Marketing teams requiring AI-driven, bias-free lead assignment Organizations optimizing CRM efficiency with automation, sir --- π¬ Bonus Tip You can easily extend this workflow by adding lead scoring logic, language translation for follow-ups, or Salesforce integration. The entire system is modular β perfect for scaling across global sales teams, sir.
Track daily moods with AI analysis & reports using GPT-4o, Data Tables & Gmail
Track your daily mood in one tap and receive automated AI summaries of your emotional trends every week and month. Perfect for self-reflection, wellness tracking, or personal analytics. This workflow logs moods sent through a webhook (/mood) into Data Tables, analyzes them weekly and monthly with OpenAI (GPT-4o), and emails you clear summaries and actionable recommendations via Gmail. βοΈ How It Works Webhook β Mood β Collects new entries (π, π, or π©) plus an optional note. Set Mood Data β Adds date, hour, and note fields automatically. Insert Mood Row β Stores each record in a Data Table. Weekly Schedule (Sunday 20:00) β Aggregates the last 7 days and sends a summarized report. Monthly Schedule (Day 1 at 08:00) β Aggregates the last 30 days for a deeper AI analysis. OpenAI Analysis β Generates insights, patterns, and 3 actionable recommendations. Gmail β Sends the full report (chart + AI text) to your inbox. π Example Auto-Email Weekly Mood Summary (last 7 days) π 5 ββββββββββ π 2 ββββ π© 0 Average: 1.7 (Positive π) AI Insights: Youβre trending upward this week β notes show that exercise days improved mood. Try keeping short walks mid-week to stabilize energy. π§© Requirements n8n Data Tables enabled OpenAI credential (GPT-4o or GPT-4 Turbo) Gmail OAuth2 credential to send summaries π§ Setup Instructions Connect your credentials: Add your own OpenAI and Gmail OAuth2 credentials. Set your Data Table ID: Open the Insert Mood Row node and enter your own Data Table ID. Without this, new moods wonβt be stored. Replace the email placeholder: In the Gmail nodes, replace your.email@example.com with your actual address. Deploy and run: Send a test POST request to /mood (e.g. { "mood": "π", "note": "productive day" }) to log your first entry. β οΈ Before activating the workflow, ensure you have configured the Data Table ID in the βInsert Mood Rowβ node. π§ AI Analysis Interprets mood patterns using GPT-4o. Highlights trends, potential triggers, and suggests 3 specific actions. Runs automatically every week and month. π Security No personal data is exposed outside your n8n instance. Always remove or anonymize credential references before sharing publicly. π‘ Ideal For Personal mood journaling and AI feedback Therapists tracking client progress Productivity or self-quantification projects ποΈ Sticky Notes Guide π‘ Mood Logging Webhook POST /mood receives mood + optional note. β οΈ Configure your own Data Table ID in the βInsert Mood Rowβ node before running. π’ Weekly Summary Runs every Sunday 20:00 β aggregates last 7 days β generates AI insights + emails report. π΅ Monthly Summary Runs on Day 1 at 08:00 β aggregates last 30 days β creates monthly reflection. π£ AI Analysis Uses OpenAI GPT-4o to interpret trends and recommend actions. π Email Delivery Sends formatted summaries to your inbox automatically.
Create, update, and get a person from Copper
This workflow allows you to create, update, and get a person from Copper. Copper node: This node will create a new person in Copper. Copper1 node: This node will update the information of the person that we created using the previous node. Copper2 node: This node will retrieve the information of the person that we created earlier.