Skip to main content
All CollectionsCustomer Emails
Use variables to insert relevant information into customer emails
Use variables to insert relevant information into customer emails

How to configure variable data values in customer emails

Maggie avatar
Written by Maggie
Updated over a year ago

โœ… The ability to edit reward emails are available on a Smile paid plan

Introduction

In Smile, we use placeholder text to make it easier to understand our email notification previews. In this tutorial we will go over these variables and what you will see in the Notifications section.

๐Ÿ“‹ Note: you will see the variables appear in test emails. However, when the live email is sent to your customers they will see the correct content in place of the variable.

Overview


What is a variable?

A variable is a value that can change depending on conditions or on information passed to the program.

Our previous variables were displayed in code, which could sometimes be difficult for the user to interpret or understand.

We've updated our placeholder text to reflect more simplified language for better understanding of what will appear in a users emails depending on what variables were used.

Here is a list of variables, and the placeholder texts that represent them in email notifications.

๐Ÿ“‹ Note: In your notification templates - please add {{ }} around the variable for it to work correctly. If you see the placeholder text show up in the preview - you have added the variable correctly. For example - {{customer.email}}

Points Earned

Smile will send this notification any time a customer performs an action for which points can be rewarded. Joining the program, purchases from your store, or social sharing are the most common activities that will generate an email of this type. See an example here.

Reward Redeemed

Customers who spend their points on a reward, whether a $ or % of coupon, free product (โœ… available on specific Smile Paid Plans), or any other reward you've configured will receive an email of this type. See an example here.

Variable

Example

Placeholder text

{{customer.email}}

(customer email)

{{customer.first_name}}

Batman

(customer first name)

{{customer.next_vip_tier.id}}

2

(next VIP tier level)

{{customer.next_vip_tier.name}}

Gold

(next VIP tier name)

{{customer.points_balance}}

1000

(points balance)

{{customer.points_balance_formatted}}

1000 Points

(points balance with currency name)

{{customer.referral_url}}

(referral link)

{{customer.vip_milestone_description}}

Earn 500 more Points to reach Gold!

(amount until next tier)

{{customer.vip_tier.id}}

1

(VIP tier level)

{{customer.vip_tier.name}}

Silver

(VIP tier name)

{{reward_fulfillment.action_text}}

View Product

(reward CTA)

{{reward_fulfillment.action_url}}

(reward URL)

{{reward_fulfillment.code}}

XXXX-YYYY-ZZZZ

(reward code )

{{reward_fulfillment.name}}

$5 off discount

(reward name)

{{reward_fulfillment.source_description}}

Spent 500 points

(action completed)

{{reward_fulfillment.usage_instructions}}

Use on your next subscription order and save!

(reward instructions)

{{reward_fulfillment.terms_and_conditions}}

Reward can only be used on subscription products.

(reward terms and conditions)

{{points_purchase.points_spent_formatted}}

500 points

(redemption amount with currency name)


Birthday Reward

Celebrate your customers special day! This email will be sent out on their birthday and can be redeemed like any other reward any time after it is issued. See an example here.

Points Expiry - Warning

If you have points expiry turned on (we recommend that you do -- learn how here) this email will go out well before the points expire for your customer (30 days is the default). See an example here.

Points Expiry - Last Chance

If you have points expiry turned on (we recommend that you do -- learn how here) this email will go out just before the points expire for your customer (3 days is the default). See an example here.

Reward expiry

If you have reward expiry turned on (recommended โ€” find out how here) your customer will get this email to notify them if one of their rewards is about to expire. See an example here.

Referral Shared through Smile

Referrals are a great way to build your customer base. This email is sent to all your customers friends when they send out their referral link. See an example here.

Friend Received Referral

This email is sent to a friend when theyโ€™ve claimed a referral reward sent to them by your customer. See an example here.

Referral Completed

When your customers friend has made a purchase using their referral reward code your customer who referred that friend will get this email notification. See an example here.

VIP Tier Achieved

If you've implemented a VIP program (โœ… available on specific Smile Paid Plans) this email is sent to your customer when theyโ€™ve achieved a higher VIP tier. See an example here.


What's next?

Customer email overview
โ€‹
โ€‹Learn more

Did this answer your question?