Automate YouTube Video Uploads with n8n and AI Tools

Struggling with manual YouTube video uploads? This workflow automates downloading from Google Drive, generating transcripts, creating SEO-optimized metadata using AI, and uploading videos to YouTube to save time and improve reach.
googleDriveTrigger
openAi
youTube
+5
Workflow Identifier: 2173
NODES in Use: Google Drive Trigger, Google Drive, HTTP Request, Code, OpenAI, Google Gemini, YouTube, Set
Automate YouTube video uploads with n8n and Google Drive

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What this workflow does

This workflow watches a Google Drive folder for new video files and then uploads those videos to YouTube with added AI-generated descriptions, titles, and tags. It saves time spent manually downloading, transcribing, writing, and uploading videos. The final result is a YouTube video uploaded with SEO-friendly metadata, ready to reach viewers.

The workflow triggers when a new video is placed in a Google Drive folder. It takes the video, fetches the transcript, uses AI to write a professional description and SEO titles, then uploads the video and updates its metadata on YouTube.


Who should use this workflow

This workflow fits creators or marketers who upload many videos to YouTube from Google Drive and want to avoid repetitive manual tasks. It helps users who want better SEO with AI-generated titles and descriptions but do not want to spend hours on each upload.

Tools and services used

  • Google Drive Trigger: To detect new video files uploaded to a specific folder.
  • Google Drive node: To download and optionally delete video files.
  • Apify YouTube Transcript Scraper API: To extract video transcripts.
  • Code node: To format transcript text for AI processing.
  • OpenAI GPT-4.1-nano model: To generate detailed video descriptions and SEO titles.
  • Google Gemini model: To create relevant YouTube tags based on transcript content.
  • YouTube node: To upload videos and update their metadata.

How the workflow works: Inputs → Process → Outputs

Inputs

  • New video files added in a designated Google Drive folder.
  • OAuth2 credentials for Google Drive and YouTube.
  • API keys for OpenAI, Google Gemini, and Apify transcript service.

Processing steps

  • Google Drive Trigger detects new video files in a set folder every minute.
  • Google Drive node downloads the new video file.
  • HTTP Request node calls Apify’s YouTube Transcript Scraper API to fetch the video transcript.
  • Code node formats the transcript text by joining segments into one block.
  • OpenAI node generates a detailed, clear, professional video description using the transcript.
  • Another OpenAI node creates a short SEO-optimized video title.
  • Google Gemini node creates relevant YouTube tags from the transcript.
  • YouTube node uploads the video with initial metadata.
  • Second YouTube node updates the video with AI-generated title, description, and tags.
  • Optional Google Drive node deletes the original video file from Drive to keep folder clean.

Outputs

  • A video uploaded on YouTube.
  • Video metadata includes an AI-written description, SEO title, and optimized tags.
  • Optionally, cleaned Google Drive folder with removed uploaded files.

Beginner step-by-step: How to use this workflow in n8n

Import and setup

  1. Download the workflow file using the Download button on this page.
  2. Open the n8n editor and choose Import from File.
  3. Select the downloaded workflow file to import it into n8n.
  4. Open each node and add your OAuth2 credentials for Google Drive and YouTube.
  5. Enter API keys for OpenAI GPT-4.1-nano model and Google Gemini where required.
  6. If folder IDs or channel IDs differ from defaults, update those values in the Google Drive Trigger and YouTube nodes.
  7. Check the API token for Apify in the HTTP Request node query parameters and change if needed.

Testing and activation

  1. Upload a test video file to your watched Google Drive folder.
  2. Trigger the workflow manually or wait for the scheduled run to see if it downloads and uploads correctly.
  3. Check if the transcript is fetched and AI nodes generate title, description, and tags.
  4. If all looks good, activate the workflow to run automatically every minute.
  5. Monitor workflow executions for errors in the n8n editor and fix any configuration issues.

To run n8n on your own server with full control and security, consider self-host n8n.


Customization ideas

  • Change video privacy on YouTube from private to public or unlisted in the upload node.
  • Edit the transcript formatting code to add timestamps or clean filler words before sending to AI.
  • Add a YouTube API step to set custom thumbnails after upload.
  • Include translation APIs to make titles, descriptions, and tags in multiple languages.

Handling common problems

  • Trigger node not detecting new files: Make sure the folder ID and Drive permissions are correct.
  • OpenAI output is empty or generic: Check if prompts map transcript correctly and system instructions are clear.
  • YouTube upload fails or does not update metadata: Verify OAuth2 tokens are valid and outputs connect to the update node properly.

Results from using this workflow

✓ Saves hours of manual work on each video upload
✓ Provides consistent, professional video descriptions with AI
✓ Creates SEO optimized titles and tags to improve video visibility
✓ Keeps Google Drive folder clean with optional deletion step
✓ Automates repetitive tasks so users can focus on content creation

Automate YouTube video uploads with n8n and Google Drive

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

The workflow uses the Apify YouTube Transcript Scraper API called via an HTTP Request node to fetch the transcript based on the video URL.
This usually means the folder ID is incorrect or the OAuth2 credentials do not have the right permissions to read that Google Drive folder.
Yes, it uses OpenAI’s GPT-4.1-nano model to create SEO titles and Google Gemini to generate relevant tags from the transcript.
Yes, the deletion of the video file from Drive is optional. The user can disable the deleteFile operation to keep the original video.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.