n8n

How to Automate Google Drive to YouTube Publishing?

Publish videos from Google Drive to YouTube with full titles, tags, and descriptions created from the transcript. Built for creators and teams that save edits in Drive and want fast, hands off posting.

A folder in Google Drive is watched every minute. When a new file appears, the video is downloaded and sent to YouTube. The flow then calls Apify to pull the transcript of the uploaded video and a short code step cleans the text. OpenAI writes a clear description, Gemini suggests strong tags, and another OpenAI step produces a short title. The YouTube node updates the video with the title, tags, and description and also applies region and category settings. The source file can be removed from Drive after the upload.

You need access to Google Drive and YouTube plus keys for OpenAI, Gemini, and Apify. Expect upload and metadata work to fall from about 30 minutes to a few minutes per video. Great for channels that publish often, agencies that manage many clients, and teams that want consistent SEO without manual edits. Setup is simple and you can test it by dropping a sample file in the watched folder.

What are the key features?

  • Watches a Google Drive folder every minute and detects new video files
  • Downloads the file and uploads it to YouTube with one continuous run
  • Calls Apify to fetch the YouTube transcript using your API token
  • Cleans and merges transcript text with a simple code step for better prompts
  • Generates a clear video description with OpenAI
  • Creates keyword tags using Gemini and an AI agent
  • Builds a short, catchy title with OpenAI and updates the video
  • Applies region and category settings and updates tags and description
  • Optionally deletes the source file from Google Drive after success

What are the benefits?

  • Reduce manual upload and metadata work from 30 minutes to 3 minutes
  • Automate about 90 percent of repetitive steps from upload to SEO fields
  • Improve title and tag accuracy by using the real transcript as context
  • Handle up to 10 times more videos per week with the same team
  • Connect Google Drive, Apify, OpenAI, Gemini, and YouTube in one flow

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Google Drive, YouTube, OpenAI, Google Gemini and Apify. See the Tools Required section above for links to create accounts with these services.
  3. In the n8n credentials manager, connect Google Drive: open the Google Drive Trigger node, choose 'Credential to connect with', click 'Create new credential', and follow the on screen steps to sign in with OAuth2.
  4. Connect YouTube: open the YouTube nodes, create a new OAuth2 credential, and authorize the correct channel.
  5. Create an OpenAI API key in your OpenAI account, then in n8n create an OpenAI credential and paste the key. Assign it to the description and title nodes.
  6. Get a Google Gemini API key from Google AI Studio. In n8n, create the Google Gemini credential and attach it to the Gemini language model node used for tag generation.
  7. Create an Apify API token in your Apify account. Open the 'ApifyToken' Set node and add your token to the 'token' field. Confirm the HTTP Request node passes this token as a query parameter.
  8. Open the Google Drive Trigger node and select the Drive folder you want to watch. Keep the polling set to every minute or adjust to your needs.
  9. Review the YouTube Upload node and set privacy status, title placeholder if needed, and channel selection. Confirm it returns a video id or upload id on success.
  10. Open the HTTP Request node to Apify and confirm the video URL uses the id from the upload step. If the field name differs, map it to the correct id property.
  11. Run the workflow once with a small test video dropped in the watched Drive folder. Check execution data to verify the transcript comes back and the code step outputs a clean transcript string.
  12. Confirm the AI nodes output a description, tags, and a title. If outputs are empty, check API keys, quotas, and token limits.
  13. Open the YouTube Update node and adjust region and category if needed. Verify the video shows the new title, tags, and description on YouTube.
  14. Enable the optional Google Drive delete node if you want to clean the upload folder after a successful publish. If transcript is missing, wait for captions to be available or switch to manual input as a fallback.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

Apify

Sign up

Free plan: $0 / mo with $5 monthly platform credits; API access via token

Google Drive

Sign up

Drive API: $0 (no additional cost; quota-limited)

Google Gemini

Sign up

Free tier: $0 via Gemini API; e.g., Gemini 2.5 Flash-Lite free limits 1,000 requests/day (15 RPM, 250k TPM). Paid from $0.10/1M input tokens and $0.40/1M output tokens.

OpenAI

Sign up

Pay-as-you-go: GPT-5 at $1.25 per 1M input tokens and $10 per 1M output tokens

YouTube

Sign up

Free: $0, default quota 10,000 units/day

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.