Skip to main content

Create an AI image remix and design bot for Telegram with BrowserAct and Gemini

Workflow preview

Workflow preview
100%
Create an AI image remix and design bot for Telegram with BrowserAct and Gemini preview
Open on n8n.io

Important notice

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

1. Workflow Overview

AI Image Remix & Design Bot for Telegram with BrowserAct & Gemini This workflow transforms your Telegram bot into an intelligent creative assistant. It can chat conversationally, fetch trending ima...

Best for

  • Content Creation automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.telegramtrigger, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.telegram, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.googlesheets, @n8n/n8n-nodes-langchain.lmchatopenrouter, @n8n/n8n-nodes-langchain.lmchatgooglegemini, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Madame AI Team | Kai.

Original n8n.io source

1.1 Workflow description

Title
Create an AI image remix and design bot for Telegram with BrowserAct and Gemini
Workflow name
Create an AI image remix and design bot for Telegram with BrowserAct and Gemini

AI Image Remix & Design Bot for Telegram with BrowserAct & Gemini

This workflow transforms your Telegram bot into an intelligent creative assistant. It can chat conversationally, fetch trending image prompts from PromptHero for inspiration, or perform a deep "remix" of any photo you upload by analyzing its composition and regenerating it with high-fidelity prompt engineering.

Target Audience

Digital artists, designers, content creators, and hobbyists looking for AI-assisted inspiration and image generation.

How it works

  1. Traffic Control: The workflow starts with a Telegram Trigger and immediately splits traffic: new messages go one way, while interactive button clicks (like "Regenerate") go another.
  2. Intent Classification: An AI Agent analyzes text inputs to decide if the user wants to "Chat" (small talk) or "Start" a creative session (fetch inspiration).
  3. Inspiration Mode: If "Start" is detected, BrowserAct scrapes trending prompts from PromptHero and saves them to a Google Sheet.
  4. Visual Forensics: If the user uploads an image, an AI Vision Agent (using OpenRouter/Gemini) analyzes it in extreme detail (lighting, composition, subjects) and saves the description.
  5. Master Prompt Engineering: Specialized AI Agents expand these inputs (either scraped prompts or image descriptions) into massive, detailed prompts using the "Rule of Multiplication."
  6. Production: Google Gemini generates the new image, which is sent back to Telegram with interactive buttons to "Regenerate" or move to the "Next" idea.

⚠️ Complex Workflow

This workflow is complex.

Please proceed using the tutorial video.

How to set up

  1. Configure Credentials: Connect your Telegram, Google Sheets, BrowserAct, Google Gemini, and OpenRouter accounts in n8n.
  2. Prepare BrowserAct: Ensure the Image Remix & Design Bot template is saved in your BrowserAct account.
  3. Setup Google Sheet: Create a Google Sheet with four tabs: PromptHero, Current State, UserImage, and Current Image.
  4. Connect Sheet: Open all Google Sheets nodes in the workflow and paste your spreadsheet ID.
  5. Configure Telegram: Ensure your bot is created via BotFather and the API token is added to the Telegram credentials.
  6. Activate: Turn on the workflow.

Requirements

  • BrowserAct account with the Image Remix & Design Bot template.
  • Telegram account (Bot Token).
  • Google Sheets account.
  • Google Gemini account.
  • OpenRouter account (or compatible LLM credentials).

How to customize the workflow

  1. Change Art Style: Modify the system prompt in the Generate Image agents to enforce a specific style (e.g., "Cyberpunk," "Watercolor," or "Photorealistic").
  2. Add More Sources: Update the BrowserAct template to scrape prompts from other sites like Civitai or Midjourney feed.
  3. Switch Image Model: Replace the Gemini image generation node with Stable Diffusion or DALL-E 3 if you prefer different aesthetics.

Need Help?


Workflow Guidance and Showcase Video

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 - Telegram Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 2 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 3 - Notify User

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 4 - Validate user input

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

Block 5 - Notify User2

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 6 - Set user State

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 7 - Set user State1

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 8 - Set user State2

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 9 - Set user State3

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 10 - Set user State4

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 11 - Set user State5

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 12 - Structured Output Parser4

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 13 - Get Prompt

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 14 - Get Description

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 15 - Analyze the Chosen image

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

Block 16 - Generate Image From PromptHero

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

Block 17 - Generate Image From UserData

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

Block 18 - OpenRouter

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

Block 19 - Structured Output

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 20 - Clear UserData

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 21 - Google Gemini

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

Block 22 - Ask for changes - HeroPrompt

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 23 - Ask for changes - Custom image

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 24 - Google Gemini2

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

Showing the first 24 of 64 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Create an AI image remix and design bot for Telegram with BrowserAct and Gemini
Complexity advanced
Nodes 64
Categories Content Creation, AI Chatbot
Author Madame AI Team | Kai
Published 01 Jan 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/12354/12354.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 Create an AI image remix and design bot for Telegram with BrowserAct and Gemini do?

AI Image Remix & Design Bot for Telegram with BrowserAct & Gemini This workflow transforms your Telegram bot into an intelligent creative assistant. It can chat conversationally, fetch trending ima...

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 Content Creation, AI Chatbot use case.