YouTube Chapter Generator
detail.loadingPreview
Automatically generate YouTube video chapters and update the video description.
About This Workflow
This workflow automates the process of generating structured metadata for YouTube videos. It fetches video captions, uses an AI model (Google Gemini) to identify and tag key topics as chapters, and then updates the video description with these chapters. It's designed to enhance video discoverability and user experience by providing clear chapter markers.
Key Features
- Fetches YouTube video captions in SRT format.
- Leverages Google Gemini AI to analyze transcripts and identify chapter segments.
- Structures chapter data with timestamps and titles.
- Updates the YouTube video description with generated chapters.
- Integrates with YouTube API for caption and video metadata retrieval and updates.
How To Use
- Set Video ID: The
Set Video IDnode (ID:867a6ad6-0712-4fbf-97fd-ab054b783172) needs to be configured with the specific YouTube video ID you want to process. - YouTube API Credentials: Ensure your YouTube OAuth2 API credentials are set up correctly in the
YouTube accountcredential (ID:1TkjUqPfFCQ6NzL7). - Google Gemini API Credentials: Configure your Google Gemini API credentials in the
Google Gemini(PaLM) Api account 2credential (ID:FshILEOmCAPVoGfW). - Workflow Execution: Trigger the workflow by clicking 'Test workflow'.
Node Breakdown:
When clicking ‘Test workflow’(ID:104fa4ce-cd86-4fff-b31c-0ef37fba6d93): The manual trigger node.Set Video ID(ID:867a6ad6-0712-4fbf-97fd-ab054b783172): Sets thevideo_idvariable for the workflow.Get Video Meta Data(ID:414a41a2-0715-4a57-a606-9f3678b2472a): Fetches metadata for the specified video.Get Caption ID(ID:c3b45480-3098-40f9-a77f-ada54481b590): Retrieves the ID of the caption track for the video.Get Captions(ID:fe08adc4-e6ef-47ae-a946-1e6d5a85e10e): Downloads the video captions in SRT format.Extract Captions(ID:0e15f334-9ff8-4a7e-85a9-4cf8cf10ea55): Processes the raw SRT data.Tag Chapters in Description(ID:916629c4-6e49-4432-88e8-626748cb3d24): This node uses theGoogle Gemini Chat Model(ID:7304d9b1-5956-41c3-b78a-2c409d0aa726) to analyze the captions and generate chapter suggestions. The prompt is designed to output a structured chapter format.Structured Captions(ID:af99a919-7ebc-4a6c-80be-83e2ffa68d05): This node is intended to structure the output from the AI. The currentjsonSchemaExampleis very basic and likely needs adjustment to match the actual output structure of the AI.Update Chapters(ID:dcd0c9d7-1a69-45e8-98e9-b7cf7d12734e): Updates the video description with the generated chapter data. Note that the current implementation appends the generated description twice and might need refinement to correctly format the chapter output within the description.
Apps Used
Workflow JSON
{
"id": "b3b38212-b9dd-421b-813c-91b5fb86e135",
"name": "YouTube Chapter Generator",
"nodes": 18,
"category": "Content Management",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: b3b38212-b9dd...
About the Author
DevOps_Master_X
Infrastructure Expert
Specializing in CI/CD pipelines, Docker, and Kubernetes automations.
Statistics
Related Workflows
Discover more workflows you might like
Generate WordPress Post with Multilingual Metadata
This workflow demonstrates how to create a WordPress post and then update it, with the intention of later adding multilingual metadata.
YouTube Video Summary and Metadata Automation
Automates the generation of structured summaries and metadata for YouTube videos, saving them as Markdown files to Dropbox.
Airtable Markdown to HTML Converter
Converts markdown descriptions from Airtable records to HTML format.