Auto-generate YouTube chapters with Gemini AI & YouTube Data API v3
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This AI workflow has 10 nodes and runs manually, when you click “Execute workflow”. Along the way it connects YouTube and Google Gemini Chat Model.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Set Video ID (Edit Fields (Set)): sets 1 field: video_id
- Get Video Meta Data (YouTube): get (video)
- Get Caption ID (HTTP Request): calls an HTTP API
- Get Captions (HTTP Request): calls an HTTP API
- Extract Captions (Extract from File): extracts data from a file (text)
- Tag Chapters in Description (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model; output parser: Structured Captions
- Update Chapters (YouTube): update (video)
Services it uses
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.
Nodes used (8)
- Manual Trigger
n8n-nodes-base.manualTrigger - HTTP Request
n8n-nodes-base.httpRequest - Extract from File
n8n-nodes-base.extractFromFile - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - YouTube
n8n-nodes-base.youTube - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Edit Fields (Set)
n8n-nodes-base.set - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
From the author
Auto-Generate YouTube Chapters with AI-Powered Transcript Analysis Overview This workflow uses YouTube Data API v3 and Google Gemini 1.5 Flash AI to automatically generate timestamped chapters for videos by analyzing SRT captions. It enhances viewer…