Generate YouTube thumbnails via Telegram using BrowserAct and Gemini (Nano Banana Pro)

Go to Workflow
16 views
Built by Madame AI Team | Kai Madame AI Team | Kai
Created on June 05, 2026

Description

Generate YouTube thumbnails via Telegram using BrowserAct & Nano banana Pro

This workflow acts as an AI-powered "Viral Architect" for YouTube creators. Simply send a video topic (e.g., "Kling 2.6") to your Telegram bot, and it will scrape top-performing competitor thumbnails, analyze their visual strategies using AI vision, and generate a new, scientifically optimized thumbnail concept and image for you.

Target Audience
YouTubers, content creators, and social media managers looking to increase their Click-Through Rate (CTR) with AI-designed thumbnails.

How it works
Analyze Intent: The workflow receives a message via Telegram. An AI Agent classifies the input: is it a casual chat or a request for a thumbnail?
Research Competitors: If a topic is detected, BrowserAct scrapes YouTube for the top-ranking videos on that subject.
Visual Forensics: An AI Vision Agent (using OpenRouter/GPT-4o) analyzes the scraped thumbnails to understand why they work (colors, composition, text).
User Approval: The bot sends a confirmation button to Telegram to ensure you want to proceed with image generation (saving credits).
Creative Synthesis: Upon approval, a specialized Gemini Agent aggregates the research and crafts a high-fidelity prompt using psychological hooks and pop-culture references.
Generate & Deliver: Google Gemini renders the final 4K thumbnail image, which is sent back to your Telegram chat.

How to set up
Configure Credentials: Connect your Telegram, BrowserAct, Google Sheets, OpenRouter, and Google Gemini accounts in n8n.
Prepare BrowserAct: Ensure the Thumbnail Maker Bot template (or a YouTube search scraper) is saved in your BrowserAct account.
Setup Google Sheet: Create a Google Sheet to store analysis data. The workflow will dynamically create tabs, but you need a master sheet ID.
Configure Telegram: Ensure your bot is created via BotFather and the API token is added to the Telegram credentials.
Activate: Turn on the workflow.

Requirements
BrowserAct* account with the *Thumbnail Maker Bot** template.
Telegram** account (Bot Token).
Google Sheets** account.
OpenRouter** account (for Vision capabilities).
Google Gemini** account.

Google Sheets Requirements
Spreadsheet Name:** Thumbnail Data base
Sheet Name:** Database
Required Columns:**
Keyword
Current Workflow Sheet ID

How to customize the workflow
Change Art Style: Modify the system prompt in the Generate Image Prompt agent to enforce a specific aesthetic (e.g., "3D Render," "Anime," "Minimalist").
Adjust Research Depth: Change the number of videos scraped by BrowserAct to analyze more or fewer competitors.
Add Text Overlay: Add an image processing node (like Cloudinary or Bannerbear) to automatically overlay the generated text onto the image for a final polish.

Need Help?
How to Find Your BrowserAct API Key & Workflow ID
How to Connect n8n to BrowserAct
How to Use & Customize BrowserAct Templates

Workflow Guidance and Showcase Video

Automate Viral Thumbnails with n8n and AI Agents (Step-by-Step)

Nodes Used (8)

AI Agent
@n8n/n8n-nodes-langchain.agent
Code
n8n-nodes-base.code
Google Gemini
@n8n/n8n-nodes-langchain.googleGemini
Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini
Google Sheets
n8n-nodes-base.googleSheets
OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured
Telegram
n8n-nodes-base.telegram