---
title: "Message templates"
description: "Variables, filters and conditions in notification subjects and bodies, what the template checker refuses, and the time zone that dates in messages are shown in."
url: https://pluraprint.com/docs/automations/message-templates
---
# Message templates

Variables, filters and conditions in notification subjects and bodies, what the template checker refuses, and the time zone that dates in messages are shown in.

A message’s subject and body are templates: text with variables in double braces.

```liquid
{{ job.name }} is ready{% if pickup.binCode %} on shelf {{ pickup.binCode }}{% endif %}.
```

The **Insert variable** list shows what the trigger provides, such as `job.name`, `owner.username`, `pickup.binCode` or `restriction.endsAt`, and `recipient.name` for the person receiving it. Fields Pluraprint keeps private (access codes, printer addresses, serial numbers) are never offered.

## Tags and filters

| Tags | `if`, `unless`, `case`, `for`, `assign`, `capture`, `raw`, comments |
| --- | --- |
| Text | `capitalize`, `downcase`, `upcase`, `strip`, `truncate`, `truncatewords`, `replace`, `remove`, `append`, `prepend` |
| Absent values | `default`, as in `{{ owner.displayName \| default: "there" }}` |
| Dates | `date`, `datetime` |
| Numbers | `plus`, `minus`, `times`, `divided_by`, `round`, `ceil`, `floor`, `abs`, `at_least`, `at_most` |
| Lists | `join`, `first`, `last`, `size` |
| Counts | `pluralize`, as in `{{ pickup.daysOverdue }} {{ pickup.daysOverdue \| pluralize: "day", "days" }}` |

Bodies use simple formatting: `**bold**`, `_italic_`, links, headings and lists. A value inserted from a variable is shown as written, never as formatting.

## What the checker refuses

The editor checks a template as you type and a notification cannot be saved while it fails:

- A variable the trigger does not provide, or a misspelled one.
- A filter or tag outside the list above.
- A template that cannot be read, such as an unclosed `{% if %}`.
- A template that would be too long or loop too often.

The preview renders the message with real data, and **Send a test to me** sends it to you.

## Time zone

Dates and times in notifications use the subject site’s time zone, falling back to the [deployment time zone](https://pluraprint.com/docs/administration/settings#time-zone). Scheduled automations can also specify an explicit IANA zone for their action date templates. Daylight saving changes follow that zone’s rules.
