When Omnisend sends your loyalty emails, Appstle Loyalty sends Omnisend one event for each email, for example when a customer earns points. Each event carries properties such as the customer's name, points balance and discount code. This article lists those properties and what each one holds.
To connect Omnisend and turn on the events, see Connect Omnisend to send your loyalty emails.
Use a property in your Omnisend email
In the Omnisend email builder, add a property with a placeholder that starts with event., for example [[event.customer_first_name]]. Type the name exactly as shown: names are case-sensitive. A property that has nothing to show for that email comes out empty, or 0 for a number.
Customer and store
These properties are in every event. In the three referral emails (Send referral invite to new customer and the two Referral Acceptance Confirmation emails), the customer is the one who made the referral.
Property | What it holds |
| The customer's full name. |
| The customer's first name. In the referral emails, always "there". |
| The customer's last name. |
| The customer's referral code, the last part of their referral link. |
| Your store name. |
| Your store's domain only, for example |
Points, store credit and tier
These properties are in every event. In the two emails that go to a referred friend, Send referral invite to new customer and Referral Acceptance Confirmation for new customer, the balances are 0 and tierName is empty.
Property | What it holds |
| The customer's points balance, as a number. |
| The store credit balance, in your store's money format. |
| The points or store credit the email is about, as a number. |
| The customer's VIP tier. Empty when they have none. |
| Which email this is, as a code such as |
Rewards, discount codes and links
These properties are in every event, but most of them hold a value only in some emails. The next section shows which.
Property | What it holds |
| The code, reward, tier or message the email is about. |
| The name of the reward. |
| The discount code the customer redeemed. |
| The code's minimum order amount, for example $50. |
| The Claim Now Button Text, with its variables filled in. |
| Where the button takes the customer. |
What each email fills in
The properties in the table above, and points, change with the email. This table shows what each email puts in them, and the properties that only that email sends. Any that an email doesn't list are empty, or 0 for points, and redirectLink is your store home page.
claimNow holds your Claim Now Button Text in every email, or a default text where the Content view doesn't show that field. Dates show as year, month, day, for example 2026-11-27.
What it fills in | |
Point Earn |
|
Credits Earn |
|
Point Redeem |
|
Reward Available Reminder |
|
Discount Expiring Reminder |
|
Birthday | For a discount code, the same as the Discount Expiring Reminder, without |
Referral Acceptance Confirmation for new customer, and for existing customer |
|
Send referral invite to new customer |
|
VIP Tier Achieved |
|
VIP Tier Expiring Reminder |
|
VIP Tier Upgrade Reminder |
|
Welcome Email |
|
Account Creation Reminder |
|
Points Expiring Reminder |
|
Monthly Reward Reminder | Only the properties that every email has. |
Texts and logo from Email Templates
These properties are in every event. They hold what you set for the email in More → Email Templates: the fields of the Content view, and the Rewards available heading from the Global view.
Property | What it holds |
| The Subject, with your store name filled in. |
| The Heading, with its variables filled in. |
| The Message, with its variables filled in. |
| The Footer Text, as you typed it. |
| The Claim Now Button Text, as you typed it. |
| The Point Earn Button Text (Point Earn only). |
| The address of the Header image. |
| The Header image width, despite its name. |
| The Rewards available heading. |
| The same heading as |
Colors from the Design view
These properties are in every event. They hold the colors you set in the Design view of the email.
Property | Design view setting |
| Template Background Color |
| Heading Background Color |
| Heading Text Color |
| Content Text Color |
| Footer Background Color |
| Footer Text Color |
| Footer Link Color |
| Button Background Color |
| Button Text Color |
| Button Border Color (older email layout only) |
| More Ways to Earn/Redeem Heading Color |
Properties sent only in some cases
These properties are sent only when the setting or case in the table applies. The reward properties need Show redeem rules? and the earn rule properties need Show earn rules?, both in the Global view. The points label needs Show Available Points Label in the Content view (Show Available Store Credits Label in Credits Earn). It is not sent for an order whose points or store credit are still pending.
The lists hold your active rewards and ways to earn that are open to the customer, in the order of your lists, up to five of each. The number in a name starts at 0, so the first reward is reward_result_summary_0_note.
Property | What it holds |
| True when Show redeem rules? is on. |
| The name of each reward. |
| What each reward gives, for example "$10 off". |
| The minimum order amount of each reward, $0 when it has none. |
| The icon address of each reward. |
| True when Show earn rules? is on. |
| The Earn rules available heading from the Global view. |
| The name of each way to earn. |
| What each way to earn gives. |
| The icon address of each way to earn. |
| Point Earn and Credits Earn, when several ways to earn apply to one order: the message of each one. |
| True when Show Available Points Label is on. |
| That label's text, with its variables filled in. |
| The date the customer's points expire, when points expiry is on. Not sent in the two emails that go to a referred friend. |
Things to know
Appstle also keeps
availablePoints,availableStoreCreditsanddob(the birthday) up to date on the customer's Omnisend contact, if the contact already exists. There, the store credit balance is a plain number, such as 12.5.The values are filled in when Appstle sends the event. A balance is the balance at that moment.
Test Email in More → Email Templates sends the event with sample values, such as the name John Doe and 100 points, so your Omnisend email shows those instead of a real customer's.
Omnisend doesn't receive your Unsubscribe Text, or whether Enable RTL (Right-to-left) is on.
These properties are for loyalty emails. For the variables that Appstle's own emails use, and the codes that
emailSettingTypeholds, see Use variables in your loyalty emails.
FAQs
A property is empty in my Omnisend email. Why?
Check these causes:
The email doesn't fill that property. Check the table under What each email fills in.
The setting behind it is empty or off. The list properties need Show redeem rules? or Show earn rules? to be on, also in the Monthly Reward Reminder, whose Appstle email lists rewards without it.
The email goes to a referred friend. Those emails carry no balances, tier or dates, and
customer_first_nameis "there" in all three referral emails.The capital letters are different.
[[event.tierName]]works and[[event.tiername]]doesn't.
