Notification variables: Dynamic content in messages
Use variables like {{product.name}}, {{product.price}}, and {{customer.location}} to insert dynamic content into your notifications. Variables automatically pull real data from your store.
How Variables Work
- Variables = placeholders for real data
- Format:
{{variable.name}} - Example:
{{product.name}}shows actual product name - Click variable buttons to insert automatically
Variables by Notification Type
Recent Orders:
Variable | Shows | Example |
|---|---|---|
| Customer name | "Sarah" |
| Customer city | "New York" |
| Customer country | "United States" |
| Time since purchase | "2 minutes ago" |
| Product name | "iPhone 14" |
| Product price | "$999" |
| Product image URL | (image) |
Top Selling Products:
Variable | Shows |
|---|---|
| Product name |
| Number of sales |
| Product price |
| Product image URL |
Product Views:
Variable | Shows |
|---|---|
| Product name |
| View count |
| Product price |
| Product image URL |
Add to Cart:
Variable | Shows |
|---|---|
| Product name |
| Product price |
| Product image URL |
Static/Browser Data:
Variable | Shows | Example |
|---|---|---|
| Visitor's city | "New York" |
| Visitor's country | "United States" |
| Current time | "2:30 PM" |
| Current date | "January 15, 2024" |
Example Messages with Variables
{{order.customerName}} from {{order.city}} just bought {{product.name}}
🔥 {{product.name}} - {{product.salesCount}} sold today!
👁️ {{product.views}} people viewed {{product.name}} recently
Welcome from {{browserData.city}}!
- Use 2-3 variables per message (not too many)
- Combine variables with your text
- Test to ensure variables work correctly
- Preview shows example data
- Using wrong variable for notification type
- Too many variables (message becomes cluttered)
- Not testing if variables display correctly
- Misspelling variable names
Next Steps:
- Edit campaign → Enter Message tab
- Click variable buttons to insert
- Preview to see example data
- See "How do I customize my notification message?" for more
Updated on: 03/01/2026
Thank you!