Turn Telegram support into owned, measurable Intercom work
Customers write to several personal Telegram accounts, but support agents work in Intercom. 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 stored Intercom contact ID. Search Intercom and Entergram comments before creating. For a genuine unresolved request, turn a Telegram question into a tracked conversation, preserve its customer context, and send an approved teammate reply back. Save the Intercom 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 Intercom; 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.