Turn Telegram support into owned, measurable Freshdesk work
Customers write to several personal Telegram accounts, but support agents work in Freshdesk. Copying messages by hand creates duplicate tickets, loses the source account and leaves customers unaware when an agent replies elsewhere.
The instruction
Every 10 minutes, list all connected Telegram accounts and process only messages after each account's saved cursor. Keep account_id, chat ID and source-message ID. Match the customer through a verified email, phone number or Freshdesk contact ID. Search Freshdesk and Entergram comments before creating. For a genuine unresolved request, deduplicate Telegram issues into the right ticket, assign the correct group, and synchronize approved public replies. Save the Freshdesk record ID in Entergram. On later runs, detect new public agent replies, request approval, send them through the original Telegram account, and store both message IDs. Every Monday, send Slack a seven-day report of volume, resolution, SLA risk and repeated causes by account.
What the team gets
Agents own work in Freshdesk; customers can continue in Telegram; managers get a weekly cross-account view. Every ticket and reply retains enough source data to trace, retry or suppress it safely.