Skip to main content
Where to find this: Open any email and look at the Available Template Variables card in the form editor, or click Shortcodes in the Advanced Editor.

How shortcodes work

Shortcodes are placeholders that Yuko replaces with the customer’s real data when the email is sent. Wrap the key in double curly braces, for example {{ first_name }} or {{ points_balance }}. Spaces inside the braces are optional. Each email only supports the shortcodes for its own event. The editor lists exactly the ones you can use, so copy them from there. The tables below show which emails support each shortcode.
Shortcodes are rendered with Liquid, so you can also use simple conditions. For example, {% if current_tier_name == "Gold" %} ... {% endif %} shows a block only to Gold members.

Customer

Available in every loyalty, referral and membership email.

Loyalty: points and balance

The *_as_cash values convert points to money using your points-to-cash rate.

Loyalty: event details

Loyalty: rewards

Available in Points redeemed, Reward expiry reminder and Reward expired.

Referral

Membership

Available in Membership created, upgraded, downgraded and cancelled.

Redemption

Added to every email.
Use {{ redemption_link }} as the CTA URL in points-earned or points-expiring emails so customers can turn points into a reward in one click.

Best practices

Copy shortcodes from the editor. The Available Template Variables card only lists shortcodes that work in the email you’re editing. A shortcode from another email will print nothing.
Plan for empty values. {{ first_name }} is empty when Shopify has no first name, and {{ next_tier_name }} is empty for top-tier customers. Write copy that still reads well, or wrap it in a Liquid {% if %} block.
Send a test after editing. Tests use sample data, so you can check the layout without waiting for a real event.

FAQs

No. Use double curly braces: {{ first_name }}.
Yes. A Send Email node in a workflow gets the shortcodes for the workflow’s trigger, plus the Redemption group.
Not in loyalty, referral or membership emails. Type your store name directly, and use the CTA URL for links.

Loyalty Emails

Points earned and redeemed, tier unlocked, expiry, birthday and anniversary.

Referral Emails

Referrer welcome, friend reward unlocked and referrer reward issued.

Membership Emails

Membership created, upgraded, downgraded and cancelled.

Template Editor

Edit content and delays, send a test, or use the Advanced Editor.

Shortcodes Reference

Every shortcode by group, including redemption links.

Email Settings & Custom Domains

From name, Reply-To, default From address and your own sending domain.

Book a Free Setup Call

Talk to our team for personalised setup help.Time: 30 minutes

Contact Support

Visit our support hub for help articles, live chat and ticket submission.

Browse the Guides

Documentation across loyalty, referrals, memberships and more.

Install Yuko

Add Yuko to your Shopify store from the Shopify App Store.