Skip to main content
Smile provides several different notification types that get triggered by unique events from your loyalty program. Each notification type has a set of handlebar variables that can be leveraged to create rich, dynamic emails. This document outlines the handlebar variables that can be used in each notification type.

Points earned

VariableTypeDescription
customerCustomer objectCustomer information.
footerHTMLFull-width block of HTML containing stylized text and links required by anti-spam legislation. This variable contains HTML so it needs three curly braces instead of two (i.e. {{{footer}}}).
reward_fulfillmentReward fulfillment objectCompleted action and points received information.

Reward redeemed

VariableTypeDescription
customerCustomer objectCustomer information.
footerHTMLFull-width block of HTML containing stylized text and links required by anti-spam legislation. This variable contains HTML so it needs three curly braces instead of two (i.e. {{{footer}}}).
reward_fulfillmentReward fulfillment objectNew reward information.

Birthday reward

VariableTypeDescription
customerCustomer objectCustomer information.
footerHTMLFull-width block of HTML containing stylized text and links required by anti-spam legislation. This variable contains HTML so it needs three curly braces instead of two (i.e. {{{footer}}}).
reward_fulfillmentReward fulfillment objectBirthday reward information.

Points expiry - warning

VariableTypeDescription
customerCustomer objectCustomer information.
footerHTMLFull-width block of HTML containing stylized text and links required by anti-spam legislation. This variable contains HTML so it needs three curly braces instead of two (i.e. {{{footer}}}).
points_expiry_date_formattedStringA human readable date for when points will be expiring. (e.g. Dec 31, 2020)

Points expiry - last chance

VariableTypeDescription
customerCustomer objectCustomer information.
footerHTMLFull-width block of HTML containing stylized text and links required by anti-spam legislation. This variable contains HTML so it needs three curly braces instead of two (i.e. {{{footer}}}).
points_expiry_date_formattedStringA human readable date for when points will be expiring. (e.g. Dec 31, 2020)

Referral shared through Smile

VariableTypeDescription
advocate_customerCustomer objectReferral advocate information.
footerHTMLFull-width block of HTML containing stylized text and links required by anti-spam legislation. This variable contains HTML so it needs three curly braces instead of two (i.e. {{{footer}}}).
friend_rewardReward objectInformation on the reward available to the friend.
messageStringA personalized message from the referral advocate to the friend. (e.g. Check this store out!)

Friend received referral

VariableTypeDescription
advocate_customerCustomer objectReferral advocate information.
footerHTMLFull-width block of HTML containing stylized text and links required by anti-spam legislation. This variable contains HTML so it needs three curly braces instead of two (i.e. {{{footer}}}).
reward_fulfillmentReward fulfillment objectInformation on the reward given to the friend.

Referral completed

VariableTypeDescription
customerCustomer objectAdvocate customer information.
friend_customerCustomer objectReferred friend information.
footerHTMLFull-width block of HTML containing stylized text and links required by anti-spam legislation. This variable contains HTML so it needs three curly braces instead of two (i.e. {{{footer}}}).
reward_fulfillmentReward fulfillment objectInformation on the reward given to the referral advocate.

VIP tier achieved

VariableTypeDescription
customerCustomer objectCustomer information.
footerHTMLFull-width block of HTML containing stylized text and links required by anti-spam legislation. This variable contains HTML so it needs three curly braces instead of two (i.e. {{{footer}}}).

Reward expiry reminder

VariableTypeDescription
customerCustomer objectCustomer information.
footerHTMLFull-width block of HTML containing stylized text and links required by anti-spam legislation. This variable contains HTML so it needs three curly braces instead of two (i.e. {{{footer}}}).
reward_fulfillmentReward fulfillment objectExpiring reward information.