Give your team a simple HR helpdesk in Telegram. Staff send questions by text or voice and get fast answers from your internal policy documents. It cuts repetitive work and speeds up support for common requests.
Policy PDFs are downloaded, converted to text, and split into small parts. Each part is turned into vectors with OpenAI and saved in PostgreSQL using PGVector. When a message arrives, a switch checks if it is text or voice. Voice notes are fetched from Telegram and transcribed before going to an AI agent. The agent uses the vector store and chat memory to find the right policy text and write a clear reply. A fallback sends a kind message if the content type is not supported.
To set it up, connect Telegram, OpenAI, and PostgreSQL. Add your HR and IT policy PDFs, run the setup once to build the knowledge base, and then enable the Telegram trigger. Expect faster answers, fewer email tickets, and more consistent guidance for topics like onboarding, leave rules, device use, and password support.