Drop your details below — download starts instantly.
No spam. Unsubscribe any time.
Join 1,000+ business owners getting free AI workflows, automation templates, and step-by-step guides — no fluff, just results.
No spam, ever. Unsubscribe in one click.
← Back to All Workflows
YouTube Comment Analysis Automation with n8n & OpenAI
Press CTRL+F5 if the workflow didn't load.
What This Workflow Does
This workflow takes a YouTube video ID and an API key. It collects the video details and up to 100 comments. Then it studies comment feelings and topics using OpenAI. Finally, it makes a clear report with suggestions. The report is sent by email and saved on Google Drive.
This saves lots of time. It helps video makers see what viewers think without reading all comments by hand. It shows if people like or dislike the video. It also shows what viewers talk about the most. This helps make better videos next time.
Who Should Use This Workflow
People who make YouTube videos and want to know viewer opinions fast. Anyone who finds reading many comments slow and hard. Users who want clear advice for improving videos. It is also good for those who want automatic reports sent by email.
Tools and Services Needed
If using self hosting n8n, see self-host n8n. This helps full control without cloud service limits.
Beginner Step-by-Step: How to Use This Workflow in n8n
Download and Import
Configure Credentials and Variables
GOOGLE_API_KEY.VIDEO_ID.Test and Activate
Workflow Inputs, Processing, and Outputs
Input
Processing Steps
Output
Key Code Examples in Workflow
Below is the JavaScript code snippet that builds the YouTube API URL dynamically using input variables. You can copy it into the Create YouTube API URL code node.
This code makes the URL for fetching video details. The variables must match what you set in Workflow Variables.
Another important snippet handles comment pagination. It requests each page of comments until reaching around 100 total. Use in the Get Video Comments with Pagination code node.
This ensures all wanted comments load fully before analysis.
Customizations
VIDEO_IDin Workflow Variables to analyze other videos.maxResultsin comment fetch code to get fewer or more comments.liveStreamingDetailsfor live stats.Troubleshooting
VIDEO_IDin Workflow Variables.GOOGLE_API_KEYis correct and set.Pre-Production Checklist
Deployment Guide
Activate the workflow in n8n by setting it to active. Run manually first to test each part. Schedule with cron or connect to other triggers if needed. Watch workflow logs for errors. Reports will then be sent via email and saved automatically.
Summary ✓
✓ Saves hours by automating YouTube comment reading and analysis.
✓ Gives clear, easy-to-understand reports about video and viewer feedback.
✓ Sends reports automatically by email and keeps copies safe on Google Drive.
→ Helps creators understand viewers better to make improved content.
Visit through Desktop to Interact with the Workflow.
Frequently Asked Questions
Learn by Category
Related Workflows
Automate Twist Channel Creation and Messaging with n8n
Automate Ideogram Image Generation with Google Sheets & Gmail
Automate IT Support with Slack and OpenAI in n8n
Automate Crypto Analysis with CoinMarketCap & n8n AI Agent
Automate Gumroad to Beehiiv Subscriber Sync with n8n
Generate On-Brand Blog Articles Using n8n and OpenAI
Browse by Apps