Variables let you personalize customer emails with information such as a customer’s name, points balance, reward code, or referral link. When a customer email is sent, each variable is automatically replaced with the customer’s information.
You can use variables in the Subject, Title, and Description fields of your customer email templates.
Note: Variables appear as placeholder text in the email editor and in test emails. When a live customer email is sent, each placeholder is replaced with the customer’s actual information.
Insert a variable
To insert a variable:
- In Smile Admin, navigate to Settings > Customer Emails.
- Open the customer email you want to edit.
- Enter the variable using double curly braces (
{{ }}).
Example: {{customer.first_name}}
Tip: Copy and paste variables from the tables below to avoid typing errors. If the placeholder text appears in the preview, you’ve added the variable correctly.
Points earned
This email is sent when customers earn points through most earning activities. Sign up and social follow activities don’t send customer emails.
Reward redeemed
This email is sent when a customer redeems points for a reward.
Birthday reward
This email is sent when birthday points are issued to a customer.
Points expiry warning and last chance
These emails are sent before a customer’s points expire.
Reward expiry
This email is sent before a reward expires.
Referral shared through Smile
This email is sent when a customer shares their referral link with a friend, through the email share option.
Friend received referral
This email is sent to a referred friend (after they input their email address on your website) when they receive a referral reward from one of your customers.
Referral completed
This email is sent to the advocate after a referred friend completes a qualifying purchase.
VIP tier achieved
This email is sent when a customer enters a new VIP tier.