The flow
Starts it 1Model 5Logic 7Service 9
The steps in the order they run, from what starts it.
- 1Telegram TriggerTelegram triggerStarts it
- 2Google Gemini Chat ModelLm Chat Google GeminiModel
- 3Simple MemoryMemory Buffer WindowModel
- 4Create new contactGoogle Sheets ToolService
- 5Update existing contactGoogle Sheets ToolService
- 6Search for contactGoogle Sheets ToolService
- 7parametersSetLogic
- 8Send "typing..."TelegramService
- 9AI AgentAgentModel
- 10Add sessionID to inputMergeLogic
- 11Get sessionIDData TableService
- 12Send a text messageTelegramService
- 13SwitchSwitchLogic
- 14If no sessionID or /newIfLogic
- 15Get audio fileTelegramService
- 16Analyze imageGoogle GeminiModel
- 17Process text inputCodeLogic
- 18Generate sessionIDCryptoService
- 19Transcribe audioGoogle GeminiModel
- 20Process extracted dataCodeLogic
- 21Upsert row(s)Data TableService
- 22Process audio transcriptCodeLogic
How it's built
- Starts on
- An incoming Telegram message
- Steps
- 22, with 2 branches
- Size
- Large: read it before trusting it with anything live
- Connects to
- Google Sheets, Telegram, n8n data table
- Model
- Gemini
- Retrieval
- Answers are drawn from documents you supply, not from the model alone
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. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.
How long does it take to set up?
Take your time. At 22 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 itNothing 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 22 steps before you point it at anything that matters.