The flow
Starts it 2Model 8Logic 4Service 8
The steps in the order they run, from what starts it.
- 1On form submissionForm triggerStarts it
- 2Embeddings OllamaEmbeddings OllamaModel
- 3Default Data LoaderDocument Default Data LoaderModel
- 4Ollama Chat ModelLm Chat OllamaModel
- 5Embeddings Ollama1Embeddings OllamaModel
- 6Telegram TriggerTelegram triggerStarts it
- 7IfIfLogic
- 8Postgres PGVector StoreVector Store PGVectorModel
- 9Question and Answer ChainChain Retrieval QaModel
- 10Postgres PGVector Store1Vector Store PGVectorModel
- 11Form1FormService
- 12FormFormService
- 13No Operation, do nothingNo OpLogic
- 14Send a text messageTelegramService
- 15Vector Store RetrieverRetriever Vector StoreModel
- 16SwitchSwitchLogic
- 17No Operation, do nothing1No OpLogic
- 18Extract from FileExtract From FileService
- 19Extract from File1Extract From FileService
- 20Extract from File2Extract From FileService
- 21Extract from File5Extract From FileService
- 22Extract from File4Extract From FileService
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
- Telegram
- Model
- a local model
- 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 Telegram account, and a key for a local model. 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 a local model. 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.