What are replacement variables and how should I use them?

Replacement variables let you insert a variable into a conversation or within an automation. For example, let's say you wanted to send a scheduled message to customers and include their name. When composing that message to you'd set it up as follows:

Hey, {{{name}}}!

List of replacement variables:

Here are a list of many - but not all - replacement variables.

For the User object:

{{{name}}}
{{{first_name}}}
{{{last_name}}}
{{{email}}}
{{{referral_code}}}
{{{account_credit}}}
{{{user.phone}}}

You can also invoke anything you've created as an attribute. For instance, if you create a "city" attribute, you can use that attribute's value in a message by inputting: 

{{{city}}}

For the Message object:

{{{message.body}}}

For the Order object:

{{{order.subtotal}}} 
{{{order.tax_amount}}} 
{{{order.tip_amount}}} 
{{{order.delivery_amount}}} 
{{{order.refund_amount}}} 
{{{order.discount_amount}}} 
{{{order.total}}} 
{{{order.full_name}}} 
{{{order.address1}}} 
{{{order.address2}}} 
{{{order.city}}} 
{{{order.state}}} 
{{{order.zip}}} 
{{{order.delivery_address}}} 
{{{order.line_items_quantity}}} 
{{{order.delivery_date}}} 
{{{order.day_before_delivery_date}}} 
{{{order.link}}}
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us