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

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

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

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

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 Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free