🔓 Unlock all 10,000+ workflows & prompts free Join Newsletter →
✅ Full access unlocked — explore all 10,000 AI workflow and prompt templates Browse Templates →
Home n8n Workflow
January 21, 2026

Google Drive to YouTube, metadata done for every upload

Lisa Granqvist Partner Workflow Automation Expert

Uploading a video is the easy part. It’s the titles, descriptions, tags, and “did we do it the same way as last time?” chaos that quietly burns your week.

This Drive YouTube automation hits content creators first, honestly. But a marketing manager trying to keep a channel consistent and a channel operator inside a small team feel the same drag. The outcome is simple: videos go from Google Drive to YouTube with metadata generated from the transcript, without you babysitting the upload.

Below, you’ll see how the workflow runs, what you get out of it, and what you’ll need to make it reliable in production.

How This Automation Works

The full n8n workflow, from trigger to final output:

n8n Workflow Template: Google Drive to YouTube, metadata done for every upload

The Problem: YouTube uploads stall at “metadata”

You record, you edit, you export, you upload. Then you stare at a blank YouTube description field and realize you still need a title, a hook, timestamps (maybe), tags, and a consistent structure that doesn’t look copied from your last 20 videos. If you’re publishing regularly, this becomes a second job. The worst part is that metadata work is deceptively “small” per video, but it adds up to hours each week, and mistakes are easy: missing keywords, inconsistent naming, forgetting to update the title after the thumbnail changes.

It adds up fast. Here’s where it usually breaks down.

  • One upload can trigger about 30 minutes of extra work once you include rewriting the description, pulling links, and guessing tags.
  • Metadata quality swings wildly depending on who’s doing it that day, which means your channel looks inconsistent even when the content is strong.
  • Teams end up keeping “title formulas” in random docs, so people copy old templates and forget to update the details.
  • If you upload in batches, YouTube becomes a backlog because no one wants to do the repetitive filling-in.

The Solution: Google Drive → YouTube upload with transcript-based metadata

This workflow watches a dedicated Google Drive folder for new video files. When a new clip appears, n8n automatically downloads it, uploads it to YouTube, then pulls a transcript from the uploaded video for context. That transcript gets cleaned up into a consistent format, and AI is used to generate a YouTube-ready title, a description, and a set of relevant tags. Finally, the workflow updates the video on YouTube with the generated metadata and removes the source file from Drive to keep your folder clean. No more tab juggling. No more “we’ll add the description later.”

The workflow starts with a Google Drive “new upload” trigger. From there, YouTube receives the video, a transcript is fetched and normalized, and AI generates the summary, tags, and title. The last step refreshes the video details and applies the final metadata so the upload is actually publish-ready.

What You Get: Automation vs. Results

Example: What This Looks Like

Say you publish 4 videos a week. Manually, uploading plus writing a decent title, description, and tags is commonly about 30 minutes per video, which is roughly 2 hours weekly. With this workflow, your “work” becomes dropping the file into the right Google Drive folder (about 2 minutes), then waiting for processing and upload to finish in the background. You still review before going public, but the blank-page work disappears.

What You’ll Need

  • n8n instance (try n8n Cloud free)
  • Self-hosting option if you prefer (Hostinger works well)
  • Google Drive for the “drop video here” folder.
  • YouTube to upload and update video metadata.
  • AI provider credentials (configure in n8n credentials) for generating titles, descriptions, and tags.
  • Apify token (get it from your Apify account settings) for transcript retrieval in this workflow.

Skill level: Intermediate. You’ll connect OAuth accounts, add credentials, and adjust a couple of variables like the Drive folder ID.

Don’t want to set this up yourself? Talk to an automation expert (free 15-minute consultation).

How It Works

A new file lands in your Google Drive folder. The workflow uses a Drive trigger to detect a fresh upload in the folder you specify (ideally a folder dedicated to “ready to publish” exports).

The video is retrieved and uploaded to YouTube. n8n downloads the file from Drive, then sends it to YouTube via your connected account. At this stage, the upload exists and has a video ID that the rest of the workflow can reference.

The transcript is fetched and cleaned up. A transcript is pulled using an HTTP request step (the workflow sets an Apify token first), then a code step normalizes the transcript so it’s consistent. That matters because messy transcripts lead to messy metadata.

AI generates the metadata and YouTube is updated. The workflow creates a summary, then uses that context to generate tags and a title. It refreshes the video details and applies the new title, description, and tags, then removes the original file from Google Drive to prevent reprocessing.

You can easily modify the prompts to match your channel voice, or change the final visibility behavior based on your needs. See the full implementation guide below for customization options.

Step-by-Step Implementation Guide

Step 1: Configure the Google Drive Trigger

Set up the trigger that detects new uploads in a specific Google Drive folder and starts the pipeline.

  1. Add and open Detect Fresh Upload.
  2. Set Event to fileCreated and Trigger On to specificFolder.
  3. Set Folder To Watch to [YOUR_ID].
  4. Confirm the poll schedule is set to everyMinute under Poll Times.
  5. Credential Required: Connect your googleDriveOAuth2Api credentials.
  6. Connect Detect Fresh Upload to Retrieve New Clip.
If the trigger doesn’t fire, verify the folder ID and ensure the Drive account has access to that folder.

Step 2: Connect Google Drive File Handling

Download the new file and later remove it after the YouTube metadata update completes.

  1. Open Retrieve New Clip and set Operation to download.
  2. Set File ID to ={{ $json.id }}.
  3. Credential Required: Connect your googleDriveOAuth2Api credentials.
  4. Open Remove Source File and set Operation to deleteFile.
  5. Set File ID to ={{ $('Retrieve New Clip').item.json.id }}.
  6. Credential Required: Connect your googleDriveOAuth2Api credentials.

Step 3: Set Up Transcript Retrieval

Prepare the Apify token, request the transcript via HTTP, and normalize it into a single text string for AI processing.

  1. Open Publish Video Upload to confirm it outputs the uploaded video ID before transcript retrieval begins.
  2. Open Set Apify Token and set token to [CONFIGURE_YOUR_TOKEN].
  3. Open Fetch Transcript and set URL to =https://api.apify.com/v2/acts/pintostudio~youtube-transcript-scraper/run-sync-get-dataset-items.
  4. Set Method to POST, Send Body to true, Send Query to true, and Specify Body to json.
  5. Set JSON Body to ={ "videoUrl": "https://www.youtube.com/watch?v={{ $json.id }}"} and Query Parameters → token to ={{$json.token}}.
  6. Open Normalize Transcript and keep the JavaScript Code as provided to merge transcript segments into transcript.
⚠️ Common Pitfall: If your Apify token is missing or invalid, Fetch Transcript will return empty data and downstream AI nodes will have no content.

Step 4: Set Up AI Content Generation

Create the video summary, tags, and final SEO title using OpenAI and Gemini, based on the normalized transcript.

  1. Open Generate Summary Text and confirm Model is gpt-4.1-nano.
  2. Set the user message content to =Here is the transcript:{{ $json.transcript }} and keep the system prompt as provided.
  3. Credential Required: Connect your openAiApi credentials.
  4. Open Compose Video Tags and set Text to =Now follows the actual topic/transcript. Give me the YouTube tags for it:{{ $('Normalize Transcript').item.json.transcript }}.
  5. Ensure the Gemini Flash Model is connected as the language model for Compose Video Tags. Credential Required: Connect your googlePalmApi credentials in Gemini Flash Model (not in the agent node).
  6. Open Craft Video Title and confirm Model is gpt-4.1-nano with the provided system and user prompts.
  7. Credential Required: Connect your openAiApi credentials.
If tag generation seems off, tune the System Message in Compose Video Tags for tighter topic guidance.

Step 5: Configure YouTube Upload and Update

Upload the video, then update title, tags, and description using AI output before cleaning up the source file.

  1. Open Publish Video Upload and set Operation to upload, Resource to video, Category ID to 25, and Region Code to DE.
  2. Set Title to adadada (placeholder) and Options → Privacy Status to private.
  3. Credential Required: Connect your youTubeOAuth2Api credentials.
  4. Open Refresh Video Details and set Title to ={{ $('Craft Video Title').item.json.title }} and Video ID to ={{ $('Publish Video Upload').item.json.uploadId }}.
  5. Set Update Fields → Tags to ={{ $('Compose Video Tags').item.json.message.content }} and Update Fields → Description to ={{ $('Generate Summary Text').first().json.message.content }} Diese textbasierte Zusammenfassung des Videos wurde automatisch mit dem KI-Modell gpt-4.1-nano erstellt.].
  6. Credential Required: Connect your youTubeOAuth2Api credentials.
  7. Keep the execution order: Retrieve New ClipPublish Video UploadSet Apify TokenFetch TranscriptNormalize TranscriptGenerate Summary TextCompose Video TagsCraft Video TitleRefresh Video DetailsRemove Source File.
⚠️ Common Pitfall: The upload title in Publish Video Upload is a placeholder. If you forget to replace it or rely on Refresh Video Details without errors, your uploaded video may remain with the placeholder title.

Step 6: Test and Activate Your Workflow

Validate the workflow end-to-end and then enable it for production use.

  1. Click Execute Workflow and upload a test file to the monitored Google Drive folder.
  2. Confirm that Publish Video Upload returns an uploadId and that Fetch Transcript returns transcript data.
  3. Verify that Refresh Video Details updates the YouTube title, tags, and description using AI output.
  4. Ensure Remove Source File deletes the original Google Drive file after metadata updates.
  5. When successful, toggle the workflow to Active to run continuously.
🔒

Unlock Full Step-by-Step Guide

Get the complete implementation guide + downloadable template

Common Gotchas

  • YouTube credentials can expire or need specific permissions. If things break, check the YouTube OAuth connection in n8n credentials first, then confirm your channel can upload and edit videos.
  • If you’re using Wait nodes or external rendering, processing times vary. Bump up the wait duration if downstream nodes fail on empty responses.
  • Default prompts in AI nodes are generic. Add your brand voice early or you’ll be editing outputs forever.

Frequently Asked Questions

How long does it take to set up this Drive YouTube automation automation?

About 30 minutes if your Google Drive, YouTube, and AI credentials are ready.

Do I need coding skills to automate Google Drive to YouTube uploads and metadata?

No. You’ll mostly connect accounts and paste in the right tokens. The only “technical” part is checking the folder ID and testing with a small file.

Is n8n free to use for this Drive YouTube automation workflow?

Yes. n8n has a free self-hosted option and a free trial on n8n Cloud. Cloud plans start at $20/month for higher volume. You’ll also need to factor in AI API usage plus any transcript service costs (often a few cents per video, depending on length).

Where can I host n8n to run this automation?

Two options: n8n Cloud (managed, easiest setup) or self-hosting on a VPS. For self-hosting, Hostinger VPS is affordable and handles n8n well. Self-hosting gives you unlimited executions but requires basic server management.

Can I customize this Drive YouTube automation workflow for different video categories?

Yes, and it’s one of the best upgrades. You can add an If condition based on file name patterns (like “podcast_” or “tutorial_”), then swap prompts used in the “Craft Video Title” and “Generate Summary Text” AI steps. Common tweaks include adding a fixed link block in descriptions, inserting sponsor text, and generating chapters from the normalized transcript.

Why is my YouTube connection failing in this workflow?

Usually it’s expired OAuth credentials in n8n or missing permissions on the YouTube account. Reconnect YouTube in n8n credentials, then confirm the channel can upload and edit videos. If you’re uploading a lot in a short time, you can also hit API quota limits, so spacing uploads out via a schedule trigger can help.

How many videos can this Drive YouTube automation automation handle?

If you self-host, there’s no execution limit (it mainly depends on your server and YouTube quotas).

Is this Drive YouTube automation automation better than using Zapier or Make?

Often, yes, because this kind of flow needs transcript formatting, branching, and multiple AI steps, and n8n handles that without turning into a fragile chain of mini-zaps. It’s also easier to self-host if you’re publishing a lot and don’t want per-task pricing to creep up. Zapier or Make can still work if you only need “file uploaded → upload to YouTube” with a basic description template. The moment you want transcript-based metadata, quality checks, and cleanup actions (like removing the Drive file), n8n is simply more flexible. If you want a quick sanity check for your setup, Talk to an automation expert.

Once this is in place, YouTube publishing feels boring in the best way. The workflow handles the repetitive stuff, and you get your time back for ideas, editing, and actually shipping.

Need Help Setting This Up?

Our automation experts can build and customize this workflow for your specific needs. Free 15-minute consultation—no commitment required.

Lisa Granqvist

Workflow Automation Expert

Expert in workflow automation and no-code tools.

×

Use template

Get instant access to this n8n workflow Json file

💬
Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Launch login modal Launch register modal