The flow
Starts it 2Logic 11Service 16
The steps in the order they run, from what starts it.
- 1Telegram WebhookWebhookStarts it
- 2Google Drive TriggerGoogle Drive triggerStarts it
- 3Get UserPostgresService
- 4Download FileGoogle DriveService
- 5User State RouterCodeLogic
- 6Extract TextCodeLogic
- 7Is New User?IfLogic
- 8Split Into ChunksCodeLogic
- 9Register New UserPostgresService
- 10Is Verified?IfLogic
- 11Loop ChunksSplit In BatchesLogic
- 12Send PIN RequestTelegramService
- 13Has Text?IfLogic
- 14PIN Correct?IfLogic
- 15Embed ChunkHttp RequestService
- 16Log IngestionPostgresService
- 17Embed QueryHttp RequestService
- 18No Text MessageTelegramService
- 19Mark User VerifiedPostgresService
- 20Wrong PIN MessageTelegramService
- 21Format Chunk EmbeddingCodeLogic
- 22Format Query EmbeddingCodeLogic
- 23Send WelcomeTelegramService
- 24Store ChunkPostgresService
- 25Search DocumentsPostgresService
- 26Build PromptCodeLogic
- 27Ask LLMHttp RequestService
- 28Send AnswerTelegramService
- 29Log QueryPostgresService
How it's built
- Starts on
- Another system calling it
- Steps
- 29, with 4 branches, 1 loop or waits
- Size
- Large: read it before trusting it with anything live
- Connects to
- Google Drive, Postgres, Telegram
- Model
- None. This is plumbing, not judgement
Questions
What does it need to run?
An n8n account, plus your own Google Drive, Postgres and Telegram accounts. You connect your own accounts after importing it; none are included.
What starts it?
It starts on another system calling it.
Does it use AI?
No. Every step is fixed logic or a call to a service, so it does the same thing every time.
How long does it take to set up?
Take your time. At 29 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 29 steps before you point it at anything that matters.