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 other dynamic data without manual customization. This article highlights some interesting and commonly used shortcodes in the AiTrillion email design editor and explains how they can help you create more engaging and personalized email campaigns.

Step 3: Now, Click on Blocks. Then drag and drop a text block in the design editor.
Step 4: Customize the text block according to your requirements, then click on Personalization to find the available shortcodes.
Note: If Used in Email / Workflow / Both is mentioned for a shortcode, it indicates whether the code is specific to Workflow or Email marketing templates; otherwise, it is used in both templates.These shortcodes pull customer-related information from AiTrillion and Shopify.
| Shortcode Name | Description | Shortcode |
|---|---|---|
| First name | Displays the customer’s first name |
{{first_name}}
|
| Last name | Displays the customer’s last name |
{{last_name}}
|
| Displays the customer’s email address |
{{email}}
|
|
| Phone | Displays the customer’s phone number |
{{phone}}
|
| Company name | Displays the customer’s company name |
{{company}}
|
| Note | Displays notes added to the customer profile |
{{note}}
|
| Customer tag | Displays customer tags |
{{tags}}
|
| Contact source | Shows how the customer was acquired |
{{contact_status}}
|
| Customer birthday | Displays the customer’s birthday |
{{lyt_cus_birthday}}
|
| Last seen | Shows the last activity date of the customer |
{{last_seen_date}}
|
| Sign-up date | Displays the customer registration date |
{{created_at}}
|
| Total spent | Shows the total amount spent by the customer |
{{total_spent}}
|
| First seen | Displays the date when the customer was first visited to store |
{{created_at}}
|
| Unique visit count | Shows the number of unique visits made by the customer |
{{web_session_count}}
|
| First order date | Displays the date when the customer placed their first order. |
{{created_at}}
|
Used to display order and purchase-related details.
| Shortcode Name | Description | Shortcode | Used in Email Campaign / Workflow/Both |
|---|---|---|---|
| Order count | Total number of orders placed |
{{orders_count}}
|
Both
|
| Last order date | Date of the most recent order |
{{last_order_date}}
|
Both
|
| Last order name | Name/reference of the last order |
{{last_order_name}}
|
Both
|
| Last order ID | Order ID of the most recent order |
{{last_order_id}}
|
Both
|
| Average order amount | Average value of customer orders |
{{avg_order_amount}}
|
Both
|
| Order tag | Displays order tags |
{{tags}}
|
Both
|
| Abandoned cart | Shows abandoned cart status (if available) |
{{cart_data}}
|
Workflow
|
These shortcodes track customer product interactions.
| Shortcode Name | Description | Shortcode | Used in Email/Workflow/Both |
|---|---|---|---|
| Visited product title | Displays the name of the last product viewed |
{{visited_product_title}}
|
Workflow
|
| Visited product handle | Displays the product handle |
{{visited_product_handle}}
|
Workflow
|
| Visited product image | Displays the product image of the last product viewed |
{{visited_product_image}}
|
Workflow
|
| Shortcode Name | Description | Shortcode | Used in Email/Workflow/Both |
|---|---|---|---|
| Loyalty point | Total loyalty points earned |
{{lyt_points_earned}}
|
|
| Points remaining | Available loyalty points |
{{points_remaining}}
|
|
| Points expire date | Expiration date of points |
{{lyt_points_expire_date}}
|
|
| Points expire days | Days remaining before points expire |
{{lyt_point_expire_days}}
|
|
| VIP tier | Customer’s assigned VIP tier |
{{tier_name}}
|
Both
|
| Current loyalty activity | Current loyalty activity name |
{{current_loyalty_actvity_name}}
|
|
| Current loyalty points earn | Points earned from the current activity |
{{current_loyalty_point_earn}}
|
Workflow
|
| Store credit given | Store credit awarded to the customer |
{{store_credit_given_in_order}}
|
Workflow
|
| Activity discount code | Discount code generated from loyalty activity |
{{refer_reward_discount}}
|
|
| Points redeemed | Displays the total loyalty points redeemed by the customer so far. |
{{lyt_points_redeemed}}
|
Both
|
| Points expire | Shows the number of loyalty points that have expired. |
{{lyt_points_expire}}
|
Both
|
| Current Loyalty Actvity Name | Displays the name of the latest loyalty activity performed by the customer |
{{current_loyalty_actvity_name}}
|
Workflow
|
Displays customer address details.
| Shortcode Name | Description | Shortcode |
|---|---|---|
|
Street 1
|
Primary address line
|
{{address1}}
|
| Street 2 | Secondary address line |
{{address2}}
|
| City | City of the customer |
{{city}}
|
| Province | State or province |
{{province}}
|
| Province code | Province/state short code |
{{province_code}}
|
| Zip | ZIP or postal code |
{{zip}}
|
| Country code | Country code |
{{country_code}}
|
|
Country
|
Country of the customer
|
{{country}}
|
Used to add store branding and links.
| Shortcode Name | Description | Shortcode |
|---|---|---|
| Shop name | Store name |
{{shop_name}}
|
| Domain | Store domain |
{{domain}}
|
| Shop logo | Displays store logo |
{{shop_logo}}
|
| Logo URL | Direct URL of store logo |
{{logo_url}}
|
| Logo alternate text | Alt text for store logo |
{{logo_alternate_text}}
|
These shortcodes display billing and plan details.
| Shortcode Name | Description |
|---|---|
| Billing address | Store billing address |
| Billing city | Billing city |
| Billing country | Billing country |
| Billing zip | Billing ZIP code |
| Billing type | Billing method type |
| Card name | Name on the billing card |
| Card ending number | Last four digits of the card |
| Plan renewal frequency | Subscription renewal cycle |
| Plan price | Current plan price |