AI Agents

Extract and analyze YouTube comments using an AI agent

29 nodes 294 178 Automatic trigger
Download

Workflow Description

Automation that retrieves YouTube comments and analyzes them using an AI-powered agent with OpenAI, storing results in PostgreSQL for ongoing review and monitoring of audience insights.

How it works

  1. 1.Trigger the workflow via chat interface to begin comment processing
  2. 2.Fetch YouTube comments and send them to an intelligent agent
  3. 3.Analyze comments with OpenAI to identify key themes and sentiment
  4. 4.Store analyzed data and insights in PostgreSQL database
  5. 5.Share summaries and findings via Twitter/X or other platforms

Use cases

  • Monitor viewer sentiment and trends across your YouTube video catalog
  • Analyze customer feedback on marketing content and promotional videos
  • Collect and organize user feedback from comments for product development teams

Requirements

  • OpenAI API key for access to GPT language models
  • YouTube credentials or API access to retrieve video comments
  • PostgreSQL database configured to store analysis results

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 294
Downloads 178

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