Generate quality-checked YouTube thumbnails with OpenAI and Google Drive
Quick overview This workflow collects a video title via an n8n form, analyzes creator photos and reference thumbnails from Google Drive with OpenAI, generates two thumbnail concepts, creates images with OpenAI image generation, uploads results to Cloudinary and Google Drive, quality-checks them, and logs approved thumbnails in Google Sheets.
How it works Receives a video title from an n8n form submission. Downloads creator photos and reference thumbnail examples from Google Drive and uses OpenAI vision to extract a reusable creator appearance profile and recurring thumbnail design patterns. Combines those analyses and uses an OpenAI-powered agent to produce exactly two structured thumbnail generation prompts tailored to the submitted title. Loops over the two prompts and calls the OpenAI Images API to generate a high-quality thumbnail for each concept. Converts the generated image to a file, uploads it to Cloudinary to get a public URL, and also saves the file to a specified Google Drive folder. Uses OpenAI vision to quality-check each uploaded thumbnail and either appends the title and Cloudinary URL to Google Sheets when approved or regenerates the image up to three attempts before routing the item to manual review.
Setup Add OpenAI API credentials (used for image analysis, prompt generation, and the Images API HTTP request). Add Google Drive OAuth2 credentials and set the creator photos folder ID, reference thumbnails folder ID, and output thumbnails folder ID. Add Google Sheets OAuth credentials and replace the tracking spreadsheet ID (and confirm the target sheet/tab) where approved thumbnail URLs are appended. Configure Cloudinary by replacing YOUR_CLOUD_NAME and YOUR_UPLOAD_PRESET, and ensure the upload preset allows unsigned uploads (or update the request to use signed authentication).
Related Templates
Track Demo Bookings with Google Calendar to Meta Conversions API Integration
Who is this workflow for? If you're using Meta Ads to generate new leads to your sales pipeline, this workflow is for yo...
Build an MCP Server which answers questions with Retrieval Augmented Generation
Build an MCP Server which has access to a semantic database to perform Retrieval Augmented Generation (RAG) Tutorial C...
Transcribe & Summarize Audio with Whisper and GPT, from Google Drive to Notion
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Overview This work...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments