Compare products and generate visual scorecards in Telegram using BrowserAct & Nano banana
This workflow acts as an expert shopping assistant that analyzes product comparisons from first principles and generates a high-quality visual infographic with the verdict. Instead of reading endless reviews, simply ask the bot (e.g., "iPhone 15 vs S24"), and it will scrape data, analyze it using AI, and render a "Winner Takes All" image card directly in your chat.
Target Audience
Shoppers, tech enthusiasts, product reviewers, and anyone who wants objective, data-driven buying advice without the fluff.
How it works
- Understand Intent: The workflow receives a message via Telegram. An AI Classifier determines if you want to chat casually or compare specific products.
- Scrape Data: If a comparison is requested, BrowserAct executes a background task to scrape real-time specifications, pricing, and reviews from relevant sites (like Amazon or G2) for each product.
- Deep Analysis: An AI Analyst aggregates the data and evaluates it based on Composition, Performance, and Economics to find an objective winner.
- Visual Engineering: A second AI Agent generates a detailed "blueprint" prompt for a comparison infographic, highlighting the key differences and the winner.
- Render & Deliver: Google Gemini generates a 4K image based on the blueprint, which is then sent to your Telegram chat along with a formatted summary caption.
How to set up
- Configure Credentials: Connect your Telegram, Google Sheets, BrowserAct, and Google Gemini accounts in n8n.
- Prepare BrowserAct: Ensure the Product Comparison & Visualize Bot template is saved in your BrowserAct account.
- Setup Google Sheet: Create a new Google Sheet to serve as a temporary data store.
- Connect Sheet: Open the Get row(s) in sheet and Append row in sheet nodes and paste your spreadsheet 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 Product Comparison & Visualize Bot template.
- Telegram account (Bot Token).
- Google Sheets account.
- Google Gemini account.
How to customize the workflow
- Change Image Style: Modify the system prompt in the Generate Image and Description agent to change the aesthetic of the infographic (e.g., "Minimalist," "Cyberpunk," "Corporate").
- Adjust Analysis Logic: Update the system prompt in the Analyze the data agent to weigh certain factors more heavily (e.g., prioritize "Price" over "Performance").
- Add More Sources: Update the BrowserAct template to scrape specialized niche sites for better data accuracy.
Need Help?
Workflow Guidance and Showcase Video