Automate YouTube video chapter generation using an n8n workflow, SupaData transcripts, and OpenAI. Instantly update video descriptions with time-stamped chapters.
Download this n8n workflow template and start using it instantly.
This robust n8n workflow solves the tedious problem of manually writing chapter timestamps for new YouTube videos. By leveraging the channel's RSS feed as a reliable n8n trigger, the system automatically detects new uploads. It utilizes Airtable for effective deduplication, ensuring the processing only runs once per video, making it a highly reliable n8n workflow. The core intelligence relies on fetching the detailed video transcript via the SupaData API. This transcript is then passed to an OpenAI large language model (LLM) through an n8n node to intelligently parse and format the chapter markers into YouTube-compliant timestamps. Finally, a dedicated YouTube n8n node updates the video description, appending the generated chapters for improved viewer experience and SEO effectiveness. This specific n8n template is a powerful demonstration of how low-code automation can enhance content workflows.
Get New YouTube Video n8n trigger, which constantly monitors your YouTube channel's RSS feed for a new upload.Check Airtable n8n node to see if the video ID already exists in a tracking base. This crucial step prevents the n8n workflow from running redundantly on previously processed content.Save to Airtable n8n node. The Format Video ID node then prepares the necessary video ID for API calls.Fetch Transcript HTTP Request n8n node securely calls the SupaData API, retrieving the complete video transcript using the video ID passed in the URL.Prepare Transcript + Duration Code n8n node processes the raw JSON transcript. It converts millisecond offsets into clean minute:second timestamps, compiling a single formattedTranscript string suitable for AI ingestion, and calculating the video's total duration.AI: Generate Chapters LangChain n8n node submits the prepared transcript and duration to the connected OpenAI Chat Model (GPT-4o). The prompt strictly guides the AI to output only a list of YouTube-style chapter timestamps starting at 00:00.Update Description n8n node appends the AI-generated chapters to the end of the existing description and publishes the update back to YouTube, completing the n8n workflow.Fetch Transcript n8n node to securely access the transcript API.Get New YouTube Video n8n trigger. Change the default feedUrl parameter to your specific YouTube channel RSS feed URL (e.g., https://www.youtube.com/feeds/videos.xml?channelid=YOURCHANNEL_ID). Get New YouTube Video (RSS Feed Read Trigger): This serves as the primary n8n trigger, polling the channel's RSS feed to start the n8n workflow whenever a new video is published.
Check Airtable / Save to Airtable (Airtable n8n node): These nodes manage the state of the n8n workflow, using a search operation to check for existing video IDs and a create operation to save new ones, ensuring effective deduplication.
Fetch Transcript (HTTP Request n8n node): Connects to the SupaData transcript API. It is configured with generic HTTP Header Authentication to securely pass the required API key for data retrieval.
Prepare Transcript + Duration (Code n8n node): A powerful custom JavaScript n8n node that transforms the raw transcript JSON into a clean, annotated text string, ready for input into the AI model.
AI: Generate Chapters (LangChain Agent n8n node): This crucial n8n node uses a detailed system prompt to instruct the connected OpenAI Chat Model. It performs the complex task of structuring the raw transcript into chapter timestamps (00:00, 01:10, etc.).
Update Description (YouTube n8n node): The final action node in the n8n workflow. It combines the original video description with the AI-generated chapters and submits the final text back to YouTube's API to update the video description.
Use this powerful n8n workflow to automate the generation of detailed YouTube channel profile reports directly into Google Slides, leveraging ChannelCrawler data and OpenAI (GPT-4) summarization. This n8n templates solution streamlines influencer reporting.

Deploy a powerful n8n workflow using LangChain agents (Writer and Editor) for recursive, high-quality content generation and automated editing feedback via GPT-4o. This n8n template automates content refinement.

Generate comprehensive weekly execution analytics reports for your n8n workflows. This n8n workflow template tracks errors, successes, and runtimes, delivering the report via Gmail or Outlook.

Use this powerful n8n workflow to analyze YouTube transcripts, comments, and search topics with Dumpling AI and GPT-4o. Automatically generate and save actionable content ideas to Google Sheets using this n8n template.

Automate YouTube SEO metadata (titles, tags, keywords, descriptions) and generate custom AI thumbnails using this advanced n8n workflow, triggered directly by new rows in Google Sheets.








































