Shortcodes for SMS template

Shortcodes for SMS template

Introduction

When creating SMS campaigns, personalization plays a crucial role in improving engagement and response rates. Shortcodes allow you to automatically insert dynamic customer information—such as name, order details, points balance, or discount codes—directly into your SMS templates. In this article, you’ll learn which shortcodes work for SMS.

Notes
Note: Some shortcodes work only when the related AiTrillion modules (Example - Loyalty) are enabled.


Info
Note: To check Email marketing shortcodes, Click here.

To use shortcodes and make your AiTrillion SMS marketing easier than ever, follow the steps below:



Step 2: Click on the Create button.



Step 3: You can customize the text according to your needs. Also, you can check the list of below available discount code below:

Shortcode Name Description Shortcode Used in Email/Workflow/Both
First Name
Displays the customer’s first name
{{first_name}}
Both
Last Name Displays the customer’s last name
{{last_name}}
Both
Full Name Displays the customer’s Full name
{{full_name}}
Both
Domain Store domain
{{domain}}
Both
Order number Displays the order ID
{{order_number}}
Both
Order price Displays the order price
{{total_price}}
Both
Order link Displays the order details
{{order_status_url}}
Both
Order line item
Order title of all the item of the most recent order
{{order_line_item_title}}
Both
Product handle
Displays the product handle
{{product_handle}}
Workflow
Loyalty point
Total loyalty points earned
{{lyt_points_earned}}
Both
Point redeemed
Displays the total loyalty points redeemed by the customer so far.
{{lyt_points_redeemed}}
Both
Point Expire
Shows the number of loyalty points that have expired.
{{lyt_points_expire}}
Both
Point Remaining
Available loyalty points
{{points_remaining}}
Both
Current Loyalty activity name
Current loyalty activity name
{{current_loyalty_actvity_name}}
Workflow
Current Loyalty point earn
Points earned from the current activity
{{current_loyalty_point_earn}}
Workflow
Visited product title
Displays the name of the last product viewed
{{visited_product_title}}
Workflow
Visited product handle
Displays the last viewed product handle
{{visited_product_handle}}
Workflow
Visited product image
Displays the last viewed product image
{{visited_product_image}}
Workflow
First order date
Displays the date when the customer placed their first order.
{{first_order_date}}
Both
Last order date
Date of the most recent order
{{last_order_date}}
Both
Sign-up date
Displays the customer registration date
{{created_at}}
Both
Customer birthday
Displays the customer’s birthday
{{lyt_cus_birthday}}
Both
Store credit given
Store credit awarded to the customer
{{store_credit_given_in_order}}
Workflow
Refer rewards discount code
Reffered discount code
{{refer_reward_discount}}
Workflow




Important notes:

  • Some shortcodes will only work when the related AiTrillion modules (for example, Loyalty Rewards) are enabled in your account.

  • Make sure the selected shortcode is supported for SMS (Email-only shortcodes will not work in SMS templates).

  • If a shortcode value is unavailable for a customer (for example, no previous order), the field may appear blank in the message.

  • Keep SMS character limits in mind while using multiple shortcodes, as longer messages may be split into multiple SMS parts.

  • Workflow-specific shortcodes will only function when used inside automation workflows.

  • Ensure customer data (such as phone number and profile details) is properly synced before sending SMS campaigns.

    • Related Articles

    • Send mass SMS campaign

      Introduction: Use manual SMS marketing to engage with your customers when they are not in the store. Send offers, event registrations, and product campaigns directly to phones with AiTrillion's SMS marketing. Step 1. Go to SMS marketing >> Campaigns ...
    • SMS templates for Shopify Stores

      Introduction: AiTrillion offers a huge range of pre-made SMS templates for you to use. You can use these SMS templates on different occasions to run an SMS marketing campaign. Here are the steps to setup SMS template: Step 1. Go to SMS Marketing >> ...
    • Create a custom WhatsApp template

      Introduction Custom WhatsApp templates allow businesses to send pre-approved, structured messages to customers for notifications, reminders, marketing campaigns, and transactional updates. These templates help ensure consistent communication, improve ...
    • Send SMS notifications using Workflow Automation

      Introduction Send SMS messages automatically as a part of the AiTrillion Workflow Automation ?Note: To learn how to create workflow automation manually or to use a pre-created template check out this basic's article: The Basics of Omnichannel ...
    • Interesting Shortcodes for use with the new AiTrillion email design editor

      Introduction: Shortcodes in the new AiTrillion Email Design Editor allow you to add dynamic, personalized content to your emails with ease. By using shortcodes, you can automatically display customer details, order information, discount codes, and ...