Chat with users on Telegram using AI in real time. Users can type or send a voice note. Key details are saved in Airtable so replies get smarter over time.
When a message arrives, Telegram collects the update. Text goes straight into a text field, and voice notes go to OpenAI for transcription. Past notes are pulled from Airtable and combined with the new input. An AI Agent powered by an OpenAI chat model writes the answer. The agent can use a calculator for quick math and Wikipedia for quick facts. It can also save a short 140 character memory back into Airtable for future context. The reply is sent back to Telegram right away.
You need a Telegram bot, an OpenAI API key, and an Airtable base with a Memory table. The setup uses the Telegram chat id to keep separate memory per user, which helps with many concurrent chats. Expect faster replies, less manual typing, and clean records of user needs. Good for student help, internal knowledge help, or pre sales Q and A on Telegram.