Telegram ticket card
For Admins

Telegram ticket card

The project's bot posts a card for every new ticket in the team's Telegram group and keeps it updated while the ticket is alive.

Cards cover tickets from every channel — the widget, email, VK, WhatsApp, BILLmanager and Telegram itself. While the card is in the group, the bot edits it instead of posting new messages.

Turning it on

  • Connect a Telegram bot in “Settings → Channels” and fill in Group ID on the channel — the ID of the group or channel the bot is in.
  • Cards are sent unless the Forward to group toggle is switched off in the bot builder (“Settings → Channels → Telegram bot”, Settings step).

Card contents

  • Header: a new ticket shows its place in the queue and how many tickets are in progress, while others show the ticket number.
  • Subject, the customer and their contact, department, the pre-chat topic and form answers (if any), the source channel, creation time.
  • While nobody has taken the ticket — how long it has been waiting. After 15 minutes the line gets an alarm mark (the threshold is adjustable).
  • Who took the ticket and when, how long it is snoozed for, when it was resolved and how long that took, the customer's star rating.
  • A status line at the bottom and the 💬 open-chat button, which opens the ticket in SupportHub and switches to the right project.

Times on the card are shown in the project's time zone (Work Hours → Timezone), marked with the zone: MSK for Moscow, otherwise the UTC offset, e.g. UTC+2.

When the card changes

The card changes along with what it shows: on pickup and assignment (by hand, in bulk, by a macro, by Take over from a colleague, by an operator's first reply to an unassigned ticket or by the bot's instant assignment), a transfer to another department, status changes, closing and reopening, snoozing and waking, and the customer's rating. The queue waiting time refreshes every minute while the ticket waits for an assignee. If the card is already in the group, it's also edited by the project's auto-assignment (Settings → Auto-assignment), an automation rule that changed the department, a subject rename, answers to the topic's fields that came after the ticket was created, the visitor closing the conversation in the widget and the customer moving to another channel. New customer messages alone don't change the card. Four hours after a ticket is closed or resolved its card is deleted from the group. Cards of snoozed tickets stay.

Telegram lets a bot delete its message only within 48 hours of sending it, but lets it edit at any age. So a card nearing 48 hours is deleted before its 4 hours are up, and an older one is not deleted but shortened by an edit to a single line — “Ticket #1a2b3c4d closed”, no buttons, no details (the wording is editable in Settings → Texts). The card of a ticket reopened from BILLmanager or deleted is taken out of the group the same way.

Customizing

The Admin-chat Notifications step of the bot builder sets the text of each line with placeholders (such as {ticket_id}, {subject}, {operator}), the headers for new, taken and closed tickets, the status line, the long-wait alarm threshold and prefix (0 turns it off) and the button text. Each placeholder works only in its own line, and the new-ticket header takes only {queue_position}. An empty field falls back to the default text, except the button text (button_text) and the alarm prefix (alarm_prefix): those stay empty.

The card is not the same as “Also post to Telegram group” in the notification rules: rules send separate messages about the chosen events to the same group, and only where that switch is on. It's off by default.
Was this page helpful?