AI Agents

Extract insights and analyze YouTube comments via AI chat

29 nodes 210 141 Automatic trigger
Download

Workflow Description

An automation template that extracts YouTube comments and analyzes them through an AI agent via chat interface, storing insights in Postgres for continuous monitoring and strategic decision-making.

How it works

  1. 1.Activate the chat trigger to receive user analysis requests
  2. 2.Extract comments from the specified YouTube video
  3. 3.Process comments through an AI agent to identify sentiment and key themes
  4. 4.Store analysis results and insights in the Postgres database
  5. 5.Deliver summary and actionable recommendations to the user via chat

Use cases

  • Monitor audience sentiment and satisfaction levels across video comments
  • Identify recurring themes and trending topics to refine content strategy
  • Extract frequently asked questions to address in future video content or documentation

Requirements

  • OpenAI API key for AI model inference and analysis
  • YouTube video URL or ID to extract and process comments from
  • Configured Postgres database for storing analysis results and historical data

Service Value

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

Apps Used

OpenAI Tool Postgres AI Agent Chat Trigger Twitter/X

Details

Trigger Automatic trigger
Nodes 29
Apps 6
Views 210
Downloads 141

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 (29)

/

Sticky Note9

Sticky Note

#1

Sticky Note7

Sticky Note

#2

Sticky Note6

Sticky Note

#3

OpenAI Chat Model

OpenAI

#4

get_channel_details

Tool Workflow

#5

get_video_description

Tool Workflow

#6

get_list_of_videos

Tool Workflow

#7

get_list_of_comments

Tool Workflow

#8

search

Tool Workflow

#9

analyze_thumbnail

Tool Workflow

#10

video_transcription

Tool Workflow

#11

Postgres Chat Memory

Memory Postgres Chat

#12

AI Agent

Agent

#13

When chat message received

Chat Trigger

#14

Sticky Note

Sticky Note

#15

Get Comments

HTTP Request

#16

Execute Workflow Trigger

Execute Workflow Trigger

#17

Get Channel Details

HTTP Request

#18

Get Video Description

HTTP Request

#19

Edit Fields

Set

#20

Run Query

HTTP Request

#21

Get Videos by Channel

HTTP Request

#22

Response

Set

#23

Switch

Switch

#24

Get Video Transcription

HTTP Request

#25

OpenAI

OpenAI

#26

Sticky Note1

Sticky Note

#27

Sticky Note2

Sticky Note

#28

Sticky Note3

Sticky Note

#29