Turn Telegram support into owned, measurable Jira Service Management work
Customers write to several personal Telegram accounts, but support agents work in Jira Service Management. 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 requester identity or stored Jira issue key. Search Jira Service Management and Entergram comments before creating. For a genuine unresolved request, convert an actionable Telegram incident into the correct request type, add diagnostic context, and notify the chat when its status changes. Save the Jira Service Management 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 Jira Service Management; 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.