Auto-generate YouTube chapters with Gemini AI & YouTube Data API v3
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 navigation, improves SEO , and saves creators time by automating manual tasks. --- Prerequisites YouTube API Setup 1. Create a Google Cloud Project - Go to the Google Cloud Console. - Click Select a project > New Project and name it (e.g.
At a glance
Auto-generate YouTube chapters with Gemini AI & YouTube Data API v3 is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Gemini. It's free to download. Follow the 5-step import below to go live in minutes.
- Platform
- n8n
- Connects
- Gemini
- Modules
- 10
- Price
- Free
- Version
- v1.0

About this workflow
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 navigation, improves SEO , and saves creators time by automating manual tasks. --- Prerequisites YouTube API Setup 1. Create a Google Cloud Project - Go to the Google Cloud Console. - Click Select a project > New Project and name it (e.g., "YouTube Chapters Automation") . 2. Enable YouTube Data API v3 - Navigate to APIs & Services > Library. - Search for "YouTube Data API v3" and click Enable . 3. Configure OAuth Consent Screen - Go to APIs & Services > OAuth consent screen. - Select External (public) or Internal (testing), then add required details (app name, support email) . 4. Generate OAuth 2.0 Credentials - Under Credentials, click Create Credentials > OAuth client ID. - Choose Web app, then download the JSON key file . 5. Add Credentials to n8n Other Requirements - Google Gemini API: Configure access for the gemini-1.5-flash-8b-exp-0924 model by getting the api key. --- Workflow Steps 1. Set Video ID - Input the target video ID (e.g., r1wqsrW2vmE) using the Set Video ID node. 2. Fetch Video Metadata - Use the YouTube API node to retrieve the video’s title, category, and existing description . 3. Download SRT Captions - Get Caption ID: Call to fetch the caption track ID . - Download Transcript: Use the ID to retrieve SRT data via . 4. Analyze Transcript with Gemini AI - Process the SRT file with Google Gemini AI to identify chapters using a prompt like: - Validate output with a structured parser (e.g., Structured Captions node) . 5. Update Video Description - Append chapters to the description using the YouTube API’s videos.update method . --- Value Proposition - Viewer Experience: Chapters improve navigation and reduce drop-off rates . - SEO Benefits: Structured descriptions enhance search visibility . - Time Savings: Eliminates manual chapter creation .
How to import this n8n workflow
- 1
Download the workflow JSON file after purchase.
- 2
Open n8n → click the menu → Import from File.
- 3
Select the downloaded JSON and import.
- 4
Set up credentials for each node that requires them.
- 5
Click Execute Workflow to test, then activate.
Setup guide
Setup guide included
Purchase to unlock the full step-by-step guide
Related N8n workflows
Generate Shopify product listings from images with Gemini AI and Airtable
Monitor and track brand Sentiment on Facebook Groups with Bright data
Automatic Topic & Sentiment Extraction from Jotform Responses with Google Gemini
Route and validate emailed documents with Gmail and Google Gemini
Stock market daily digest with Bright Data scraping & Gemini AI email reports
Map which AI search topics each domain owns with SE Ranking and GPT
Convert PDF documents to AI podcasts with Google Gemini and text-to-speech
Scheduled multi-photo Facebook posts with Cloudinary from Windows directory
Reviews
No reviews yet
Be the first to buy and share your experience.
Leave a review
Sign in to share your experience with this workflow.
Create a free account to purchase workflows.
- JSON blueprint — instant download
- Setup guide PDF included
- 5 downloads · valid 30 days
- Works with n8n
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.
- Configure live on Google Meet / Zoom
- Free follow-up if workflow has defects
- Platform expert assigned to you