How replacement variables work

Replacement variables are accessible across the Bottle platform. In order to use replacement variables, you take the name of the variable and put it in between {{{ and }}} brackets.


Video Overview:


List of possible (but not all) replacement variables:

Customer's display name:
{{{name}}}

User object:
{{{name}}}
{{{first_name}}}
{{{last_name}}}
{{{phone}}}
{{{email}}}
{{{referral_code}}}
{{{account_credit}}}

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}}}

 Message object:
{{{message.body}}}

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