Automation library · AI assistants

Auto-reply to Telegram messages with BrowserAct and Gemini

Started by a clock. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to Gemini. 17 steps, 3 branches, 4 loops or waits: a working afternoon to understand properly.

MediumCalls a model: Gemini

17 stepsMedium: a working afternoon
3Branches: places the flow splits
4Loops or waits
0Services by connector: it calls them over plain HTTP

The flow

Starts it 1Model 3Logic 9Service 4

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

  1. 1Every 15 minutesSchedule triggerStarts it
  2. 2Google GeminiLm Chat Google GeminiModel
  3. 3Read Telegram MessageBrowser ActService
  4. 4Generate Answers for MessagesAgentModel
  5. 5Structured OutputOutput Parser StructuredModel
  6. 6Human Verification SwitchSwitchLogic
  7. 7Check If Message Requires ResponseIfLogic
  8. 8Splitting Extracted ItemsCodeLogic
  9. 9Give Time to Complete VerificationWaitLogic
  10. 10Cleaning Output TextCodeLogic
  11. 11Loop Over ItemsSplit In BatchesLogic
  12. 12Get Data From BrowserActHttp RequestService
  13. 13Run Answering WorkflowBrowser ActService
  14. 14Human Verification Switch2SwitchLogic
  15. 15Wait for Workflow CompletionWaitLogic
  16. 16Give Time to Complete Verification2WaitLogic
  17. 17Get Data From BrowserAct2Http RequestService

How it's built

Starts on
A clock
Steps
17, with 3 branches, 4 loops or waits
Size
Medium: a working afternoon
Connects to
Nothing by connector; it calls services over plain HTTP
Model
Gemini

Questions

What does it need to run?

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

What starts it?

It starts on a clock.

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?

Plan an afternoon. 17 steps is enough that you should read each one before running it.

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 17 steps before you point it at anything that matters.