🎬 Create YouTube SEO metadata and thumbnails from Google Drive videos with Gemini, LemonFox and upload-post

⚡ 84 views · 🎬 Content Creation & Video

💡 Pro Tip — YouTube’s API quotas can be a bottleneck when you’re pulling data at scale. ScraperNode is a community node with dedicated scrapers for channels, videos, and comments — no quota limits, just structured data.

View All Scrapers

Description

Automated YouTube SEO, Thumbnail Generation & Video Upload via AI, Google Drive & LemonFox


Pre-requesties:

Node-by-Node Functional Breakdown

This workflow is an end-to-end “Content-to-Publish” engine. I’ve broken it down by the specific stage of production:

Stage 1: The Intake & Access

Node NameWhat it does
When File Added in DriveThe Trigger: Watches your “transcript” folder. The moment you drop a video file here, the engine starts.
If Video Mime TypeThe Gatekeeper: Ensures the file is actually a video (e.g., .mp4) and not a random document or image before proceeding.
Grant Temp File AccessThe Key: Temporarily changes the Drive file’s permissions to “Anyone with link” so external AI tools (LemonFox) can download and process it.

Stage 2: Transcription & Data Prep

Node NameWhat it does
Post Audio to LemonfoxThe Ears: Sends the video to LemonFox AI to extract the spoken word into a structured SRT (subtitle) format.
Clean SRT ContentThe Editor: A JavaScript node that cleans up technical formatting issues and unescapes characters to make the text readable for the AI.
Create Text File in DriveThe Archive: Saves your clean transcript back to Google Drive for your records.
Search/Fetch Sponsor InfoThe Researcher: Looks for a specific .txt file named after your video that contains sponsor details (Name/Email) so they can be credited.

Stage 3: AI Strategy & Creative

Node NameWhat it does
Content Analysis AgentThe Strategist: Uses Gemini to analyze the transcript and find the “Big Idea.” It then writes a high-CTR Title, SEO Description, and Tags.
Parse Structured OutputThe Translator: Ensures the AI’s creative writing is formatted as strict JSON so the next “Upload” step can understand it.
Generate Thumbnail ImageThe Artist: Takes a specific “Thumbnail Prompt” written by the AI and uses Gemini (Nano Banana) to generate a high-quality 16:9 image.

Stage 4: Publishing & Cleanup

Node NameWhat it does
Upload to YouTube APIThe Publisher: Hits your upload endpoint, sending the original video link, the AI-generated metadata, and the AI-generated thumbnail.
Delete Original File PermissionsThe Security Guard: Immediately revokes the “Anyone with link” access to your Google Drive file, locking it back down for privacy.

đź”— Nodes Used

HTTP Request, Google Drive, Google Drive Trigger, AI Agent, Structured Output Parser, Extract from File

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup