Ask Janek AI with Janek

All questions

Telegram AI Bot 2025 | Voice, Images, Memory, Chat & Automations with Make + xAI + ChatGPT · published 16 November 2025

Play at 11:02 Watch on YouTube Telegram

How do I stop a Telegram bot from saving the same fact twice?

If the Google Doc already has that fact, I tell the decision AI to answer no. A second copy of the same meeting would only waste credits later.

Get content of a document runs near the start, so the bot can read the notes before it answers. A separate AI searches those notes for a match to the Telegram message. If it finds one, it returns that note. If it does not, it says there is no recorded memory on this topic. Asking when the meeting with my colleague is pulls the coffee-shop note from the doc.

The decision prompt has an extra rule. If a previous record already covers the topic, for example meeting, colleague, 1 September, the answer is no. The fact is important, but it is already written down, so Insert a paragraph must not run again.