Marketing · n8n

Auto-Optimize YouTube Video Descriptions and Tags for SEO with AI

An n8n workflow that reads each new video's transcript, has Claude write an SEO-optimized description, timestamped chapters and keyword tags, and saves the package to Google Sheets for a quick paste into YouTube Studio — turning throwaway descriptions into a search-traffic engine.

difficulty Intermediatesetup 40 minresult A ready-to-paste description, chapter list and tag set for every upload — engineered for YouTube search
  1. 1

    Trigger on a new upload

    Add an RSS Feed Trigger on https://www.youtube.com/feeds/videos.xml?channel_id=YOUR_CHANNEL_ID. It fires within minutes of publishing and needs no API key.

  2. 2

    Get the timestamped transcript

    An HTTP Request runs an Apify transcript actor with the video URL, returning spoken text with time markers. Those markers are what make accurate chapters possible in the next step.

  3. 3

    Generate the SEO package with Claude

    Send the transcript and title to Claude. Ask for strict JSON with: a keyword-rich description (compelling first line, 2–3 short paragraphs, a call to subscribe), a chapters array of MM:SS Title lines following YouTube's rules, and a tags array of 12–15 relevant keywords and variants.

  4. 4

    Assemble the paste block

    A Code node stitches the description and chapters into one text block exactly as it should appear in YouTube Studio, and keeps tags as a comma-separated string. This removes any copy-paste reformatting on your end.

  5. 5

    Save for a 60-second paste

    A Google Sheets node appends the video title, the description-with-chapters block, the tag string and the video URL. Your routine: open the sheet, copy the block into the description field, paste the tags, save. Search-optimized in a minute.

Frequently asked questions

Why not auto-update the description via the YouTube API?

You can — the `videos.update` endpoint lets you write the description and tags programmatically with OAuth. We default to a Google Sheet because a human glance catches the occasional weird phrasing, and because editing your own metadata keeps you firmly inside YouTube's terms. Flip on the update node once you trust the output.

Does stuffing tags actually help ranking?

Tags are a minor signal today; the description, chapters and first-line hook matter far more. That's why the prompt prioritizes a keyword-rich opening sentence and accurate chapter timestamps over a wall of tags. Treat tags as spelling/variant coverage, not a ranking lever.

How are chapter timestamps generated accurately?

The transcript comes with timestamps, so Claude maps topic shifts to real times rather than guessing. The prompt enforces the YouTube chapter rules: at least three chapters, the first at 0:00, each at least 10 seconds long — otherwise YouTube won't render the chapter bar.

About this recipe. Recipes on FlowRecipesHub are written for business owners, not developers, and are tested before publishing — how recipes get made. Some ingredient links are affiliate links that cost you nothing — full disclosure.