P
prasanna-lakshmi18
Guest
This is a submission for the AI Agents Challenge powered by n8n and Bright Data
I built an AI Agent using n8n and Bright Data that analyzes YouTube comments and generates personalized video suggestions and insights.
The goal is to help content creators or marketers understand audience sentiment, find new content opportunities, and improve engagement strategies.
Iβve shared the full workflow JSON on GitHub:
View Workflow on GitHub
Hereβs how the workflow works step by step:
I used Bright Dataβs Verified Node to scrape YouTube comment sections efficiently and reliably. It provides structured JSON data (via
This project taught me how to integrate:
Challenges I overcame:
I learned how powerful combining data scraping + automation + AI can be in real-world scenarios.


Continue reading...
What I Built
I built an AI Agent using n8n and Bright Data that analyzes YouTube comments and generates personalized video suggestions and insights.
The goal is to help content creators or marketers understand audience sentiment, find new content opportunities, and improve engagement strategies.
Demo
n8n Workflow
Iβve shared the full workflow JSON on GitHub:

Technical Implementation
Hereβs how the workflow works step by step:
- Trigger β A Schedule Trigger node runs once every week.
- Bright Data Scraper (1st Node) β Initiates a scrape of YouTube video comments, generating a
snapshotId
. - Bright Data Scraper (2nd Node) β Uses the
snapshotId
to download the comments data. - JavaScript Code Node β Parses and cleans the JSON comment data.
- Gemini AI Node β Takes the extracted comments and generates:
- Engagement strategies
- Content improvement tips
- Email Node β Sends the processed results to the intended recipient automatically.
Bright Data Verified Node
I used Bright Dataβs Verified Node to scrape YouTube comment sections efficiently and reliably. It provides structured JSON data (via
snapshotId
), which I could easily process inside n8n for further AI analysis.Journey
This project taught me how to integrate:
- Bright Data scraping β for reliable comment extraction
- n8n workflow automation β to orchestrate the entire process
- Gemini AI β to provide actionable insights
- Email automation β for timely delivery of results
Challenges I overcame:
- Parsing large YouTube comment datasets in n8n
- Handling async data retrieval with Bright Dataβs snapshot mechanism
- Formatting the AI-generated output in a useful way for creators
I learned how powerful combining data scraping + automation + AI can be in real-world scenarios.


Continue reading...