n8nflow.net logo

Automate YouTube Uploads with AI-Generated Metadata from Google Drive

by JPres•Updated: Last update 5 months ago•Source: n8n.io
Loading workflow viewer...

Getting Started

šŸ‘„ Who Is This For?

Content creators, marketing teams, and channel managers who want a simple, hands‑off solution to upload videos and automatically generate optimized metadata from video transcripts.

šŸ›  What Problem Does This Solve?

Manual video uploads with proper metadata creation is time‑consuming and repetitive. This workflow fully automates:

  • Monitoring a specific Google Drive folder for new video uploads
  • Seamless YouTube upload processing
  • Transcript extraction for context understanding
  • AI‑powered generation of titles, descriptions, and tags
  • Metadata application to uploaded videos without manual intervention

šŸ”„ Node‑by‑Node Breakdown

StepNode Purpose
1New Video? (Trigger) – Monitors specified Google Drive folder
2Download New Video – Retrieves the video file from Google Drive
3Upload to YouTube – Uploads the video to YouTube with initial settings
4Get Transcript – Extracts transcript from the uploaded video
5Adjust Transcript Format – Formats raw transcript for processing
6Create Description – Generates SEO‑optimized description
7YT Tags (Message Model) – Creates relevant tags based on content
8YT Title (Message Model) – Generates compelling title
9Define File Path Upload Format (Optional) – Structures data paths
10Update Video’s Metadata – Applies generated title, description, tags

āš™ļø Pre‑conditions / Requirements

  • n8n with Google Drive and YouTube API credentials configured (stored as n8n credentials/variables; no hard‑coded IDs)
  • Dedicated Google Drive folder for video uploads
  • YouTube channel with proper upload permissions
  • AI service access for transcript processing and metadata generation
  • Sufficient storage for temporary video handling

āš™ļø Setup Instructions

  1. Import this workflow into your n8n instance.
  2. Configure Google Drive credentials; reference folder ID via n8n variable (do not hard‑code).
  3. Set up YouTube API credentials with upload and edit permissions.
  4. Specify the target Google Drive folder ID in the New Video? trigger node (via variable).
  5. Configure AI service credentials for transcript and metadata generation.
  6. Adjust message templates for title, description, and tag creation.
  7. Test with a small video file before production use.

šŸŽØ How to Customize

  • Modify AI prompts to match your channel’s tone and style.
  • Add conditional logic based on video categories or naming conventions.
  • Implement notification systems to alert when uploads complete.
  • Create custom metadata templates for different content types.
  • Include timestamps or chapter markers based on transcript analysis.
  • Add social media sharing nodes to announce new uploads.

āš ļø Important Notes

  • Video quality is preserved through the upload process.
  • Consider YouTube API quotas when handling multiple uploads.
  • Transcript quality affects metadata generation results.
  • Videos are initially uploaded without visibility adjustments.
  • Processing time depends on video length and transcript complexity.

šŸ” Security and Privacy

  • Store API credentials and folder IDs as n8n Credentials/Variables—remove any hard‑coded tokens or IDs.
  • Video files are processed temporarily and not stored permanently.
  • Limit Google Drive folder access to authorized users only.
  • Manage YouTube upload permissions carefully (use OAuth/service accounts).
  • Ensure compliance with organizational data‑handling policies.