Formatting email notifications with Liquid

Plan requirement

Subscription Any plan
Access Admin

Email templates carry the frame around every message. Liquid there decides what appears for whom, across your whole account.

Where the template lives

Admin Center, under the email channel settings. There is an HTML version and a plain text one, and both are sent, with the recipient's mail client choosing. Changing only the HTML leaves half your recipients on the old wording.

What Liquid is used for there

  • A brand's logo and colours, switched on the ticket's brand.
  • A footer per language.
  • Legal text that only applies to some markets.
  • Hiding the thread in some circumstances and showing it in others.

The template applies to everything

This is what makes it powerful and what makes a mistake expensive. A broken condition in the template affects every notification your account sends, from every trigger, immediately.

Keep a copy of the working template before you edit it. There is no version history and no undo. A copy in a document takes ten seconds and is the difference between a quick revert and rebuilding under pressure.

Test in real mail clients

What renders correctly in a browser preview does not always survive Outlook. Send to at least a desktop client, a webmail account and a phone before you consider it done.

Change it rarely

The template is infrastructure. Wording that varies per situation belongs in the triggers, so that a change affects one message rather than all of them.

See also

Was this article helpful?

0

Still stuck?

Our support team will take a look with you.

Comments

0 comments

Article is closed for comments.