Automation library · Chat assistants

Compare products and generate visual scorecards in Telegram

Started by an incoming Telegram message, and works across Google Sheets and Telegram. It hands the judgement calls to Gemini. 24 steps, 1 branch, 1 loop or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: Gemini

24 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
1Loop or waits
2Services it connects to

The flow

Starts it 1Model 12Logic 4Service 7

The steps in the order they run, from what starts it.

  1. 1Google GeminiLm Chat Google GeminiModel
  2. 2User Sends Message to BotTelegram triggerStarts it
  3. 3Google Gemini 1Lm Chat Google GeminiModel
  4. 4Google Gemini 2Lm Chat Google GeminiModel
  5. 5Google Gemini 3Lm Chat Google GeminiModel
  6. 6Validate user InputAgentModel
  7. 7Structured Output ParserOutput Parser StructuredModel
  8. 8Conversational AIAgentModel
  9. 9Analyze the dataAgentModel
  10. 10Structured OutputOutput Parser StructuredModel
  11. 11Generate Image and DescriptionAgentModel
  12. 12Structured Output1Output Parser StructuredModel
  13. 13Validation Type SwitchSwitchLogic
  14. 14Answer the UserTelegramService
  15. 15Generate Comparison ImageGoogle GeminiModel
  16. 16Process Initialization AlertTelegramService
  17. 17Clear DatabaseGoogle SheetsService
  18. 18Send Photo Message to BotTelegramService
  19. 19Split Out Extracted ProductsSplit OutLogic
  20. 20Loop Over ItemsSplit In BatchesLogic
  21. 21Retrieve Data from DatabaseGoogle SheetsService
  22. 22Search for each product's data.Browser ActService
  23. 23Aggregate Google Sheet DataAggregateLogic
  24. 24Save Product Information to DatabaseGoogle SheetsService

How it's built

Starts on
An incoming Telegram message
Steps
24, with 1 branch, 1 loop or waits
Size
Large: read it before trusting it with anything live
Connects to
Google Sheets, Telegram
Model
Gemini

Questions

What does it need to run?

An n8n account, plus your own Google Sheets and Telegram accounts, and a key for Gemini. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an incoming Telegram message.

Does it use AI?

Yes. It calls Gemini. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 24 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 24 steps before you point it at anything that matters.