Templates: Variables
You can use variables in reply templates: when a template is inserted into the reply field, they are replaced with the customer's, the ticket's and your own data. The text in the field already contains the values, so you can see them and edit them before sending.
Available Variables
{{contact.name}} — customer name (without a name: @username, email or messenger ID)
{{contact.email}} — customer email
{{contact.telegram}} — customer's Telegram username, without @
{{ticket.id}} — ticket number (first 8 characters of the ID)
{{ticket.subject}} — ticket subject
{{ticket.status}} — ticket status as a system code: new, open, in_progress, pending, resolved, closed
{{operator.name}} — your name in this project (the account name if none is set, and the start of your email without it)
{{workspace.name}} — project nameIn the template editor, variables are inserted with a click — from the row above the “Content” field or from the “Available Variables” block. “Preview” shows the template filled with sample values.
Variables work in every message of a template of several messages. Each message has its own row of variables, and the “Available Variables” block inserts into the message you typed in last. When the template is inserted, the values go into every message at once — in the queue above the field they're filled in already.
A variable's value goes in as text. If a customer's name or a subject has asterisks, underscores, tildes, backticks or square brackets in it (“*Ivan*”, “_Peter_”), the customer sees them as they are — they don't turn bold, italic or into a link in Telegram, WhatsApp, BILLmanager or the widget. The template's own formatting (bold, italic, links) works as usual.
You set your name in a project under Profile → Personal details → Name in projects: one person can have a different one in each project. The name of the project the ticket is open in is filled in, and the same name goes into the signature of your replies (%SUPPORTUSER%). A message that has already been sent keeps the name it went out under.
Quick Usage
- In a ticket press
Ctrl+/or the “Templates” button — or type/in an empty reply field - Find the template by its name or command
- Pick the template — it goes into the field with the values already filled in
- Check the text, edit it if needed and send the reply
%USER% — customer name, %SUPPORTUSER% — the operator's name in the project (the same as {{operator.name}}), %PROJECT% — project name, %MESSAGE% — where the reply text goes. If the customer has no name, or only “--”, “-” or other punctuation in its place, the greeting goes without one: “Hello!”. Curly-brace variables don't work there.
