Reply Templates
Templates are ready-made replies that go into the reply field in a couple of clicks or with a command. A template can contain variables, which are filled with the customer's and the ticket's data when the template is inserted.
Creating a Template
Open “Templates” in the main menu and click “Create”. “Name” and “Content” are required, while “Quick-reply command” and “Tags” (comma-separated) are optional. Files go into the “Attachments” block — you can also drag them in or paste with Ctrl+V. Variables are written in double curly braces and can be inserted with a click from the “Available Variables” block. See Templates: Variables for details.
The templates page has two layouts, switched in the header: “Knowledge-base layout” (the default: a full-width list, a tag filter, a template opens full page) and “List and editor side by side”. The choice is remembered in this browser. Search looks at the name, the text and the tags. You can sort by date, name or usage.
Several messages in a template
A template can hold several messages, up to 10. That way a long guide with screenshots can be laid out step by step: the customer gets each message separately, with its own text and its own files. To add a message, click “+ Message” under the last one. With two or more messages, each one has a “Message N” title, “Move up” and “Move down” buttons to change the order, a delete button, a text field of its own with the formatting toolbar and the variables, and files of its own. “Preview” shows every message in order.
A message holds up to 2048 characters. The N / 2048 counter by the field counts what the customer sees: a [text](address) link counts as its text only, HTML tags don't count, and formatting marks (**, _, ~~) count as typed. A line break is one character, an emoji counts the way Telegram counts it, usually two. A variable such as {{contact.name}} counts as typed: its value goes in when the template is inserted. Above 2048 the counter turns red and the template can't be saved until the message is shorter. An empty message can't be saved either: the first one needs text, the others text or a file.
Each message has files of its own, up to 10, with a limit of 256 MB per file. A Telegram group contains at most 9 photos and 10 files in total. The remainder goes as another group or a single file. Files go in the order they stand in the message. Several files picked at once line up in the order you picked them, and you can move a file with the “Move left” and “Move right” arrows on its thumbnail. Saving becomes available once all files have uploaded. Retry or remove any failed upload.
A long text, such as a template saved before the limit came in, doesn't need cutting by hand. Under an overflowing message there's a “Split into messages” button: the text is cut at paragraphs, then lines, sentences and words into pieces of up to 2048 characters, and the files stay with the last piece. If that would make more than 10 messages, the button is unavailable — shorten the text or delete a message. Links, variables and formatted blocks stay whole. If a single block itself exceeds 2048 characters, the editor asks you to divide it manually. After the split the template saves as usual.
In the list of templates such a template is marked “N messages”, and in the “/” quick replies “N msgs”. The number by the paperclip counts the files of all its messages.
Template Example
Name: Greeting
Command: /hello
Text:
Hello, {{contact.name}}!
Thank you for contacting {{workspace.name}} support.
My name is {{operator.name}}, and I will help you with your question.
Regarding your request #{{ticket.id}} — we have already started working on it.
Expect a reply within the business day.Using a Template
In a ticket, press Ctrl+/ or the “Templates” button above the reply field (or the bookmark icon below the field) to open the list with a search by name and command. The most used templates come first. Pick a template with the mouse, or with the arrow keys and Enter: the text goes into the reply field with the variables already filled in, and the template's files are attached to the reply, marked “from template”. You can edit the text before sending.
The quickest way is the command: in an empty reply field type / and the start of the command, e.g. /hello, and a “Quick replies” list filtered by commands and names appears. ↑/↓ to move, Enter or Tab to insert, Esc to close. A command is a single word of Latin or Cyrillic letters, digits, hyphens and underscores. Case doesn't matter. If you don't set a command, the first word of the name is used.
While you edit a message that has already been sent, templates don't open — neither with the button, nor with “/”, nor with Ctrl+/: a template goes into a new reply.
How a template of several messages goes out
In a chat — Telegram, VK, WhatsApp, the website widget, the API — the template's first message goes into the reply field as usual, with its files. The others wait in a queue above the field, headed 2 more messages from “Name”. Each queued message shows a line of its text, its number of files and a cross to take it out of the queue, and “Remove all” on the right clears the queue. The variables are filled in in every message already. While messages wait in the queue, the next template you pick joins its end whole, and the field and its files stay as they are: otherwise its first message would go before the waiting ones.
“Send” sends the field's message first, then the queue one by one, each as a separate message in the ticket. While the chain goes out, “Sending 2 of 3” shows above the field and the send button is unavailable. The greeting and signature from your operator templates aren't added to the queued messages: they're in the field already. In Telegram, the reply rating buttons come only under the chain's last message.
In an email ticket, in a BILLmanager ticket or one linked to it, and in an internal note the template goes in as one message: the texts of its messages are parted by a blank line, the files of all messages follow in order. There's no queue then.
The queue is a reply to the customer. A note sent while the queue isn't empty goes alone, and the queue waits for the reply. Scheduled sending isn't available with a queue: a chain goes right away, message by message. The queue is kept in the ticket's draft together with the files, in this browser: if you move to another ticket or close the tab mid-chain, whatever hasn't gone stays in place.
If a message didn't go out
A message counts as gone once the server accepted it and the channel didn't refuse it. The chain stops at the first one that didn't go, and the next ones aren't sent. “Message 2 of 3 didn't go out: reason. The rest weren't sent.” appears above the field, with the reason in the server's or the channel's words, such as “no connection to the server” or Telegram's answer. The message that didn't go and everything after it stay in the queue.
“Retry” sends the message that didn't go again, the whole of it, and goes on with the chain. If the connection dropped, it goes again with the same key, so if the server did get it after all, there won't be a second copy in the ticket. If the channel refused it (the message is marked “Not delivered” in the ticket), the retry goes as a new message.
“Skip” doesn't send it again and goes on with the next one. Use it when part of the message already reached the customer: the reason starts with “Part 2 of 3” or “Attachment could not be read”, or the text arrived and the photos didn't. “Retry” would send the part that arrived a second time. When nothing arrived, “Retry” is the one.
“Remove” takes the template's messages out of the queue. Your own message from the field, if it went first and didn't go out, comes back into the field with its files — and so it does with its cross in the queue or with “Skip”. A message you type into the field while a chain that didn't go waits goes first: “Send” sends it, then retries the waiting messages.
Formatting: links, bold, italic
Above the “Content” field there's a formatting toolbar: bold, italic, strikethrough, inline code, code block, list and link. Select text and click a button — the toolbar inserts the markup. The “Preview” block below shows the message the way the customer will see it, with sample values in place of the variables.
**bold** — bold
_italic_ — italic
~~old price~~ — strikethrough
`vless://…` — monospace
[Happ channel](https://t.me/happ_proxy/133) — link
- item — list (each item on its own line)
1. item — numbered list
- sub-item — nested list (indent with three spaces)
# Heading — a bold lineA template with a link:
You can switch the region or install the [Incy](https://apps.apple.com/ru/app/incy/id6756943388) app.
More on the situation in the [Happ channel](https://t.me/happ_proxy/133).HTML tags work too: <a href="https://…">text</a>, <b>, <i>, <u>, <s>, <code>. Underline is only available as a tag.
How the customer sees a link:
- Telegram, the website widget, email — the link text is clickable.
- WhatsApp and VK — the text with the address in brackets: “Happ channel (https://t.me/happ_proxy/133)”.
- BillManager — a link in BillManager's markup, clickable in the panel and in the email to the customer.
Other formatting shows in full in Telegram, the widget and email. WhatsApp shows everything except underline. VK gets the message without formatting.
- Use a full link address starting with https:// (or http://), otherwise the customer gets only the text.
- Single asterisks (*text*) also make bold, not italic. Italic uses underscores (_text_).
- Headings (#) and quotes (>) don't render in chats, nor do other tags (<p>, <div>, <h1>, <img>, etc.): the customer sees them as text. For a paragraph leave an empty line.

