Skip to content
SleekSite AI Docs
On this page

Templates

Write the emails you send: a subject and a message with placeholders like {{ first_name }}, drafted by AI or by hand, previewed for any contact.

Site Admins and Editors

A template is the email itself: a subject line and a message, with placeholders like {{ first_name }} that are filled in for each person. Write it once, then send it as a broadcast, use it as a step in a series, or as a form reply.

Writing a template with AI#

Click + New template. Give it a name (only you see it) and say what the email is for and who gets it, like "A monthly update for customers about new glazes and the December open studio, warm and short."

Click Write it with AI. The AI Assistant writes it in your site's style, with AI personalization turned on, and the template appears in your list when it's done. Change anything you like before sending.

Prefer to write it yourself? Click Start from a blank template.

The template editor#

Template editor: Email Emails Home Broadcasts Series Contacts Templates Settings 1,240 of 5,000 emails this month ← Templates November news newsletter Email Preview Personalization · On Insert variable ▾ Unsaved changes Send me a test Save 1 --- 2 subject: News from the studio, {{ first_name | default: "friend" }} 3 --- 4 <p>Hi {{ first_name | default: "there" }},</p> 5 <p>The winter glazes are out of the kiln, and we've 6 put a few seconds aside for {{ city }} customers.</p> 7 <p><a href="{{ site.url }}/shop">See what's new</a></p> 8 <p>Thanks for reading,<br>Sam at {{ site.name }}</p> An unsubscribe link and your footer are added under every email automatically. 1 2 3 4 5 6
  1. The template's name, and an optional tag
  2. Email, Preview and Personalization
  3. Insert a contact field or site variable
  4. Send yourself a test, and Save
  5. The subject line, between the --- lines
  6. The message: HTML or plain text

The subject goes at the top, between two --- lines. The message follows, as HTML or plain text:

---
subject: News from the studio, {{ first_name | default: "friend" }}
---
<p>Hi {{ first_name | default: "there" }},</p>
<p>The winter glazes are out of the kiln.</p>
<p><a href="{{ site.url }}/shop">See what's new</a></p>

Variables#

Click Insert variable to add one where your cursor is.

Variable What it's filled with
{{ first_name }}, {{ last_name }} The contact's first and last name
{{ name }} Their full name
{{ email }} Their email address
{{ company }}, {{ city }}, … Any field the contact has
{{ site.name }}, {{ site.url }} Your site's name and address
{{ unsubscribe_url }} Their personal unsubscribe link

ImportantAdd a fallback to every variable a contact might not have. A broadcast skips anyone who's missing a value the email uses, so they don't get "Hi ,". Write {{ first_name | default: "there" }} and everyone gets it: people without a first name read "Hi there,".

The template list shows a fields badge on templates that need contact fields without a fallback.

Templates use the Liquid language, so you can also use conditions like {% if city == "Bath" %}…{% endif %}. If a template has a mistake, a red dot appears on the Email tab and the preview explains it in plain words.

Your footer and an unsubscribe link are added under every email automatically. To place the unsubscribe link yourself, use {{ unsubscribe_url }} in the template and it isn't added again.

Preview#

The Preview tab shows the email exactly as it will look. Use Preview as to see it filled in for any contact, or with sample data. If that contact is missing a value the email uses, the preview tells you which.

Send me a test#

Send me a test emails the template to you, from your connected mailbox. Tests count as one of the month's emails.

Organizing templates#

  • Tags group templates, like newsletter or welcome. Add one under the name; the template list then shows a chip for each tag. A template added to a series is tagged with the series' name if it has no tag
  • Each template shows how many people it's been sent to and when it was last edited
  • Delete a template from the ⋮ menu. A draft broadcast or series step using it will need another template. A template that has already been sent is kept in your contacts' email history

NoteEditing a template changes it for future sends only. People who already received it got the earlier version.

Was this page helpful?

Last updated November 18, 2026