Skip to main content

Analyze YouTube video SEO and get optimization tips with Gemini AI, Sheets, Slack, and Gmail

Workflow preview

Workflow preview
100%
Analyze YouTube video SEO and get optimization tips with Gemini AI, Sheets, Slack, and Gmail preview
Open on n8n.io

1. Workflow Overview

Analyze YouTube video SEO and get optimization tips with Gemini AI Who is this for Content creators, YouTubers, marketing agencies, and social media managers who want to optimize their YouTube vide...

Best for

  • Market Research automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.formtrigger, n8n-nodes-base.code, n8n-nodes-base.httprequest, @n8n/n8n-nodes-langchain.chainllm, @n8n/n8n-nodes-langchain.lmchatgooglegemini, n8n-nodes-base.googlesheets, n8n-nodes-base.slack, n8n-nodes-base.gmail

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Oka Hironobu.

Original n8n.io source

1.1 Workflow description

Title
Analyze YouTube video SEO and get optimization tips with Gemini AI, Sheets, Slack, and Gmail
Workflow name
Analyze YouTube video SEO and get optimization tips with Gemini AI, Sheets, Slack, and Gmail

Analyze YouTube video SEO and get optimization tips with Gemini AI

Who is this for

Content creators, YouTubers, marketing agencies, and social media managers who want to optimize their YouTube videos for better discoverability and engagement. Perfect for teams managing multiple channels or creators who want data-driven SEO insights.

How it works

The workflow starts with a Form Trigger where users paste any YouTube video URL. A Code node extracts the video ID, then two HTTP Request nodes fetch video metadata (title, description, tags, statistics) and captions from the YouTube Data API v3. Another Code node formats this data and calculates basic SEO scores.

Google Gemini AI analyzes the current SEO status and provides specific optimization recommendations including title variations, tag strategies, description improvements, thumbnail tips, and competitive keywords. A final Code node parses the AI response and structures it for reporting.

The results are automatically saved to Google Sheets for tracking, shared with your team via Slack notification, and emailed directly to content creators with actionable insights.

How to set up

  1. Enable YouTube Data API v3 in Google Cloud Console and add the API key to both HTTP Request nodes
  2. Replace the Google Sheets document ID and configure column headers in the spreadsheet
  3. Set up Slack webhook and channel ID for team notifications
  4. Configure Gmail credentials and update sender/recipient email addresses
  5. Add your Google AI Platform credentials to the Gemini model node

Requirements

  • YouTube Data API v3 key (free tier available)
  • Google Sheets access
  • Slack workspace (optional)
  • Gmail account
  • Google AI Platform account for Gemini

How to customize

Adjust the SEO scoring logic in the "Format SEO Data" node, modify the AI prompt for different analysis focuses, or change the reporting format in the email template. You can also add more output channels like Discord or Microsoft Teams.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - YouTube URL Input

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2

Block 2 - Extract Video ID

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 3 - Get Video Metadata

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - Get Video Captions

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 5 - Format SEO Data

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 6 - AI SEO Analysis

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.4

Block 7 - Google Gemini

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 8 - Parse AI Results

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 9 - Save Report to Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.4

Block 10 - Notify Team on Slack

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.2

Block 11 - Email Report to Creator

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 12 - Main Overview Sticky

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Data Collection Section

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - AI Optimization Section

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Reporting Section

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Analyze YouTube video SEO and get optimization tips with Gemini AI, Sheets, Slack, and Gmail
Complexity advanced
Nodes 15
Categories Market Research, AI Summarization
Author Oka Hironobu
Published 20 Feb 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13564/13564.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Analyze YouTube video SEO and get optimization tips with Gemini AI, Sheets, Slack, and Gmail do?

Analyze YouTube video SEO and get optimization tips with Gemini AI Who is this for Content creators, YouTubers, marketing agencies, and social media managers who want to optimize their YouTube vide...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research, AI Summarization use case.