AI Agents

Analyze YouTube Videos with AI Intelligence

33 nodes 310 124 Automatic trigger
Download

Workflow Description

Automation that extracts and analyzes YouTube video content using OpenAI and Gemini models, processing videos in batches with automatic duplicate removal and intelligent data organization for comprehensive insights.

How it works

  1. 1.Fetch video data from YouTube channel or playlist
  2. 2.Batch videos into parallel processing groups
  3. 3.Analyze each video through AI agent combining OpenAI and Gemini models
  4. 4.Remove duplicate insights and clean results
  5. 5.Export final analyzed data to database or external application

Use cases

  • Extract keywords and main topics from YouTube content
  • Generate automated summaries of lengthy video material
  • Monitor YouTube channels and extract marketing and competitive intelligence

Requirements

  • Valid YouTube API key and channel access
  • OpenAI or Gemini API credentials for language models
  • Database or app integration to store analysis results

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

YouTube Split In Batches OpenAI Gemini AI Agent Remove Duplicates

Details

Trigger Automatic trigger
Nodes 33
Apps 6
Views 310
Downloads 124

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (33)

/

Fetch Latest Videos

You Tube

#1

Loop Over Items

Split In Batches

#2

YT Title

OpenAI

#3

Create Description

OpenAI

#4

When clicking ‘Test workflow’

Manual Trigger

#5

Sticky Note1

Sticky Note

#6

Sticky Note2

Sticky Note

#7

Sticky Note3

Sticky Note

#8

2.5FlashPrev

Gemini Model

#9

YT Tags

Agent

#10

Sticky Note4

Sticky Note

#11

3s

Wait

#12

gettitle

You Tube

#13

Sticky Note

Sticky Note

#14

Sticky Note5

Sticky Note

#15

Sticky Note6

Sticky Note

#16

Sticky Note7

Sticky Note

#17

Set Publish Date

You Tube

#18

Every Day

Schedule Trigger

#19

Get Videos to reschedule

You Tube

#20

Get video Ids seperated

Code

#21

Loop over Video IDs

Split In Batches

#22

Get Video Data

You Tube

#23

Return Private Videos

Code

#24

4s

Wait

#25

Loop over All Videos not Published

Split In Batches

#26

get video id

Set

#27

Remove Duplicates from previous Runs

Remove Duplicates

#28

new video?

If

#29

getLatestVideoID

You Tube

#30

Get Transcript

HTTP Request

#31

Adjust Transcript Format

Code

#32

Update Video's Metadata

You Tube

#33