Generate YouTube video ideas from comments with GPT-4o-mini and Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 11 nodes and runs on a schedule (every week). Along the way it connects YouTube, Google Sheets, OpenAI Chat Model and Gmail. It also calls googleapis.com over HTTP.
How it runs
Trigger: On a schedule (every week).
- Get many playlist items (YouTube): get many (playlist item)
- video-ids (Code): runs custom JavaScript code
- HTTP Request: calls googleapis.com
- Code: runs custom JavaScript code
- Append row in sheet (Google Sheets): append
- Code: runs custom JavaScript code
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
- Send a message (Gmail): uses Gmail
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
HTTP calls to: googleapis.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (9)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - YouTube
n8n-nodes-base.youTube - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Google Sheets
n8n-nodes-base.googleSheets - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Gmail
n8n-nodes-base.gmail
From the author
Analyse YouTube Comments via AI Agent and Create Video Topics Description Identifying what your audience wants can be a manual and time-consuming process. This workflow automates your content research by analyzing comments from your latest YouTube videos…