Appearance
Placeholders
Placeholders are written in double braces, such as {{case.reference}}, in letter templates, and in the subjects and messages of emails sent by actions, rules and public form acknowledgements. Each is filled in from the case when the letter is made or the email is sent.
Admin → Letter templates → Placeholders you can use lists them for a chosen case type, with what each becomes.
For any case
| Placeholder | Becomes |
|---|---|
{{case.reference}} | The case's reference, such as ENQ-2026-00042 |
{{case.title}} | The case's title |
{{case.type}} | The kind of case |
{{case.status}} | The case's status |
{{case.opened}} | The date the case was opened |
{{case.assignee}} | The name of the person the case is assigned to, or its lead when there are several |
{{case.assignees}} | Everyone the case is assigned to, as Ada Lovelace and Grace Hopper |
{{case.departments}} | The departments the case is in, as Legal services and Complaints |
{{today}} | Today's date, such as 12 October 2026 |
{{user.name}} | The name of the person creating the document |
{{user.email}} | The email address of the person creating the document |
{{organisation.name}} | The organisation's name |
{{user.*}} cannot be used in emails sent by rules, because nobody acts when a rule fires.
From the case type
| Placeholder | Becomes |
|---|---|
{{field.<key>}} | A detail, as people read it |
{{role.<key>.name}} | The full name, or the organisation's name, of whoever holds the role |
{{role.<key>.names}} | Everyone in the role, as "Ada Lovelace and Grace Hopper" |
{{role.<key>.firstName}}, .lastName | First or last name |
{{role.<key>.organisation}} | Their organisation |
{{role.<key>.email}}, .phone | Email address or phone number |
{{role.<key>.address}} | Address with postcode, over several lines |
{{role.<key>.postcode}} | Postcode |
{{clock.<key>.dueOn}} | A time limit's due date |
{{keyDate.<key>.date}} | A key date, such as 12 October 2026: the next one of that kind not yet done, or else the latest |
{{keyDate.<key>.time}} | Its time, such as 10:30am |
{{keyDate.<key>.location}} | Where it is |
Questions a template asks
| Placeholder | Becomes |
|---|---|
{{input.<key>}} | The answer to one of the template's questions |
Sections
Paragraph markers keep or drop parts of a Word letter:
| Marker | Meaning |
|---|---|
{{#if <placeholder>}} | Keep what follows when the placeholder has a value that is not "No" |
{{#if <placeholder> = "value"}} | Keep it when the value, or the text shown, is this |
{{#unless <placeholder>}} | The opposite of #if |
{{else}} | What to keep otherwise |
{{/if}} | The end of the section |
Each marker must be a paragraph on its own. See Letter templates.
Checking
Every placeholder in a template is checked when its file is uploaded and when its details change, against the case types it is for. Placeholders in emails are checked when the case type is saved. A typo is found by an administrator, never in a sent letter.
In emails, values are filled in as plain text: a value can never add formatting or markup.