Skip to main content

Automate YouTube uploads with AI-generated metadata from Google Drive

Workflow preview

Workflow preview
100%
Automate YouTube uploads with AI-generated metadata from Google Drive preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 transcrip...

Best for

  • Social Media automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.googledrive, n8n-nodes-base.googledrivetrigger, @n8n/n8n-nodes-langchain.openai, @n8n/n8n-nodes-langchain.lmchatgooglegemini, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.youtube

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by JPres.

Original n8n.io source

1.1 Workflow description

Title
Automate YouTube uploads with AI-generated metadata from Google Drive
Workflow name
Automate YouTube uploads with AI-generated metadata from Google Drive

👥 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

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

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Download New Video

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 2 - New Video?

Type / Role
n8n-nodes-base.googleDriveTrigger - googleDriveTrigger
Config choices
Version 1

Block 3 - Create Description

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.7

Block 4 - 2.5FlashPrev

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 5 - YT Tags

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.9

Block 6 - Get Transcript

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 7 - Adjust Transcript Format

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Update Video's Metadata

Type / Role
n8n-nodes-base.youTube - youTube
Config choices
Version 1

Block 9 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - YT Title

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.7

Block 12 - Delete File from Upload Folder (Optional)

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 13 - Upload Video to Youtube

Type / Role
n8n-nodes-base.youTube - youTube
Config choices
Version 1

Block 14 - ApifyToken

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

3. Summary Table

Workflow Automate YouTube uploads with AI-generated metadata from Google Drive
Complexity intermediate
Nodes 14
Categories Social Media, Multimodal AI
Author JPres
Published 06 May 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3906/3906.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automate YouTube uploads with AI-generated metadata from Google Drive do?

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 transcrip...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Social Media, Multimodal AI use case.