Telegram AI Bot 2025 | Voice, Images, Memory, Chat & Automations with Make + xAI + ChatGPT · published 16 November 2025
Play at 15:52 Watch on YouTube Telegram
What order should the memory modules run in a Telegram AI bot?
I read the long-term notes first, then the last exchange, then the assistant answers, and only after that do I save.
The order on the text path is Telegram, Get content of a document, the AI that searches that doc, Get a record for the key short memory, then the assistant. The assistant sees my new text, the last thing I said, the last thing it said, and whatever the doc search returned. An API call has no chat history of its own, so without the data store a follow-up like “yes, write the description” has nothing to continue.
After the reply I always write the short memory: my message and the assistant answer, same key, override the old record. The long-term doc is written only when the decision AI says yes. Google Docs needs the Google connection from the earlier setup. Microsoft is easier to connect if I do not want that.