Reads your recent uploads and drafts alternative titles, a fuller description and tags for each into a Google Doc.

UsesClaudeGoogle DocsYouTube

Draft better titles, descriptions and tags for your videos

Every Monday at 09:00, your most recent uploads are read from YouTube and, for each one, AI drafts alternative titles, a fuller description and a list of tags. Everything lands in a new Google Doc, one section per video, with a link back so you can compare the draft against what is live.

Nothing is published. The workflow can only read your channel, so the document is a working draft and you copy whatever you want to keep into YouTube Studio yourself. A fresh document is created on every run, so nothing you already use is ever overwritten. Every suggestion is written from that video's own current title and description, and the AI is told to invent nothing: a video with too little to go on is recorded as skipped rather than given a made-up title, and the drafted and skipped counts are written at the end. One video that cannot be read is logged and skipped.

You need your YouTube channel ID, and YouTube and Google Docs connected.

Run every Monday at 09:00.Run every Monday at 09:00.
Set channelId to blank.Set channelId to blank.
Set videosToDraft to 5.Set videosToDraft to 5.
Set titleOptionsPerVideo to 3.Set titleOptionsPerVideo to 3.
Set audienceNotes to blank.Set audienceNotes to blank.
YouTubeYouTubeGet the details of channelId. Save it as channel.Get the details of channelId. Save it as channel.
Set channelName to “your channel”.Set channelName to “your channel”.
If a step below fails, save the error as channelNameErrorIf a step below fails, save the error as channelNameError
Try
Trim channel.title and save it as channelName.Trim channel.title and save it as channelName.
On error
Show in the output: “That channel came back without a name; calling it 'your channel'.”.Show in the output: “That channel came back without a name; calling it 'your channel'.”.
If channelName is emptyIf channelName is empty
Yes
Change channelName to “your channel”.Change channelName to “your channel”.
No
No steps
Set uploadsPlaylistId to blank.Set uploadsPlaylistId to blank.
If a step below fails, save the error as uploadsErrorIf a step below fails, save the error as uploadsError
Try
Trim channel.related_playlists.uploads and save it as uploadsPlaylistId.Trim channel.related_playlists.uploads and save it as uploadsPlaylistId.
On error
Show in the output: “That channel did not come back with an uploads playlist.”.Show in the output: “That channel did not come back with an uploads playlist.”.
If uploadsPlaylistId is emptyIf uploadsPlaylistId is empty
Yes
Stop and report a problem: YouTube did not return an uploads playlist for that channel, so there are no videos to read. Check the value in the 'channelId' step is a channel ID starting with UC, not a channel name, a handle or a video link.Stop and report a problem: YouTube did not return an uploads playlist for that channel, so there are no videos to read. Check the value in the 'channelId' step is a channel ID starting with UC, not a channel name, a handle or a video link.
No
No steps
YouTubeYouTubeList the videos in uploadsPlaylistId. Save it as uploads.List the videos in uploadsPlaylistId. Save it as uploads.
Set videos to uploads.items.Set videos to uploads.items.
Set videoCount to 0.Set videoCount to 0.
If a step below fails, save the error as videoListErrorIf a step below fails, save the error as videoListError
Try
Count the items in videos and save it as videoCount.Count the items in videos and save it as videoCount.
On error
Show in the output: “YouTube did not return a list of videos for that playlist.”.Show in the output: “YouTube did not return a list of videos for that playlist.”.
If videoCount is 0If videoCount is 0
Yes
Stop and report a problem: That channel's uploads playlist came back with no videos, so there is nothing to draft. No document was created.Stop and report a problem: That channel's uploads playlist came back with no videos, so there is nothing to draft. No document was created.
No
No steps
Set taskBrief to:Set taskBrief to:You are helping a video creator improve the metadata on one of their own YouTube videos. Work only from the facts about that video given at the end of this message. Reply using exactly these three headings, in this order, and nothing else. TITLES
Set titleInstruction to Write titleOptionsPerVideo alternative titles, one per line, each under 70 characters. Do not number them.Set titleInstruction to Write titleOptionsPerVideo alternative titles, one per line, each under 70 characters. Do not number them. DESCRIPTION Four to six sentences saying what the video actually covers, written for someone deciding whether to watch it. TAGS One line of 10 to 15 comma-separated tags.
Set groundingRules to:Set groundingRules to:Rules you must follow: - Use only what the current title and description below actually say. Do not invent facts, names, numbers, products, dates, guests or claims that are not there. - Do not promise anything the video may not contain. - Keep the creator's subject matter. You are rewording what is already there, not pitching something new. - If the current title and description together do not say enough about the video to write honest metadata, reply with exactly NOT ENOUGH INFORMATION and nothing else.
Set audienceLine to blank.Set audienceLine to blank.
If audienceNotes isn't blankIf audienceNotes isn't blank
Yes
Change audienceLine to Change audienceLine to About this channel and who it is for, from the creator: audienceNotes .
No
No steps
Set promptPreamble to taskBrief plus titleInstruction plus groundingRules plus audienceLine.Set promptPreamble to taskBrief plus titleInstruction plus groundingRules plus audienceLine.
Get today's date and save it as runDate.Get today's date and save it as runDate.
Set docTitle to “Video metadata drafts - channelName - runDate”.Set docTitle to “Video metadata drafts - channelName - runDate”.
Google DocsGoogle DocsCreate the document docTitle. Save it as newDoc.Create the document docTitle. Save it as newDoc.
Set docId to blank.Set docId to blank.
If a step below fails, save the error as docErrorIf a step below fails, save the error as docError
Try
Trim newDoc.document_id and save it as docId.Trim newDoc.document_id and save it as docId.
On error
Show in the output: “Google Docs did not return an id for the new document.”.Show in the output: “Google Docs did not return an id for the new document.”.
If docId is emptyIf docId is empty
Yes
Stop and report a problem: Google Docs did not return an id for the new document, so there is nowhere to write the drafts. Check that Google Docs is still connected and run it again.Stop and report a problem: Google Docs did not return an id for the new document, so there is nowhere to write the drafts. Check that Google Docs is still connected and run it again.
No
No steps
Set introText to Drafted runDate for channelNameSet introText to Drafted runDate for channelName These are drafts, not changes. Nothing on your YouTube channel has been touched - this workflow can only read your videos, so copy anything you want to keep into YouTube Studio yourself. Every suggestion below was written from that video's own current title and description. Where there was not enough to go on, the video is listed as skipped instead of being given an invented title.
Google DocsGoogle DocsAdd text to docId.Add text to docId.introText
Set draftedCount to 0.Set draftedCount to 0.
Set skippedCount to 0.Set skippedCount to 0.
For each video in videos:For each video in videos:
If a step below fails, save the error as videoErrorIf a step below fails, save the error as videoError
Try
Trim video.video_id and save it as videoId.Trim video.video_id and save it as videoId.
Trim video.title and save it as videoTitle.Trim video.title and save it as videoTitle.
If videoId is empty or videoTitle is emptyIf videoId is empty or videoTitle is empty
Yes
Show in the output: “Skipped a playlist entry with no video id or title.”.Show in the output: “Skipped a playlist entry with no video id or title.”.
Add 1 to skippedCount.Add 1 to skippedCount.
No
YouTubeYouTubeGet the details of videoId. Save it as details.Get the details of videoId. Save it as details.
Set currentDescription to blank.Set currentDescription to blank.
If a step below fails, save the error as descriptionErrorIf a step below fails, save the error as descriptionError
Try
Trim details.description and save it as currentDescription.Trim details.description and save it as currentDescription.
On error
Show in the output: “That video came back without a description.”.Show in the output: “That video came back without a description.”.
If currentDescription is emptyIf currentDescription is empty
Yes
Change currentDescription to “(this video has no description on YouTube)”.Change currentDescription to “(this video has no description on YouTube)”.
No
No steps
Set videoFacts to Set videoFacts to The video: Current title: videoTitle Current description: currentDescription .
Set prompt to promptPreamble plus videoFacts.Set prompt to promptPreamble plus videoFacts.
ClaudeClaudeAsk Claude: prompt. Save it as draft.Ask Claude: prompt. Save it as draft. Maximum response length: 900
Trim draft.response_text and save it as draftText.Trim draft.response_text and save it as draftText.
If draftText is empty or draftText starts with “NOT ENOUGH INFORMATION” (ignoring…If draftText is empty or draftText starts with “NOT ENOUGH INFORMATION” (ignoring…
Yes
Show in the output: Not enough in the current title and description to draft metadata for: videoTitle.Show in the output: Not enough in the current title and description to draft metadata for: videoTitle.
Add 1 to skippedCount.Add 1 to skippedCount.
No
Google DocsGoogle DocsAdd the heading videoTitle to docId.Add the heading videoTitle to docId.
Set videoBlock to Watch: https://www.youtube.com/watch?v=@videoIdSet videoBlock to Watch: https://www.youtube.com/watch?v=@videoId draftText .
Google DocsGoogle DocsAdd text to docId.Add text to docId.videoBlock
Add 1 to draftedCount.Add 1 to draftedCount.
On error
Show in the output: Could not draft metadata for one video: videoError as text.Show in the output: Could not draft metadata for one video: videoError as text.
Add 1 to skippedCount.Add 1 to skippedCount.
Set summaryText to Set summaryText to Drafted draftedCount of videoCount videos. Skipped skippedCount.
Google DocsGoogle DocsAdd text to docId.Add text to docId.summaryText
If draftedCount is 0If draftedCount is 0
Yes
Show in the output: “None of the videos read had enough in their current title and description to draft honest metadata from.”.Show in the output: “None of the videos read had enough in their current title and description to draft honest metadata from.”.
No
No steps