Email Variables

Email variables are expressions that allow you to insert user data dynamically. Many of these variables are client-specific for all email types—​contact Customer Care for a list of your client-specific email variables.

For example:

Hello {{Associate.Name}},

It looks like there was an issue...

Any client can use the following list of default email variables.

Autoship Error Email Template

  • {{BackgroundColor}}: Sets the background color of the email. This variable uses the primary color added in the Advanced Settings. If this isn’t configured, the variable will use the color code #EFEFEF.

  • {{Company.Url}}: This variable is filled with the Cloudspark Login URL field entry on the General section of the Advanced Settings page.

  • {{Company.Name}}: Displays your company name.

  • {{Company.Domain}}: This variable is filled with the entry in the Website Domain field on the General section of the Advanced Settings page.

  • {{Company.EmailAddress}}: This displays the company’s email address. This email is called from the details of the Corporate Associate that is created during initialization. Generally, this Associate is named after your company.

  • {{ErrorDetails}}: Displays the details of any errors that occur during an Autoship order.

Welcome Customer / Distributor Email Templates

  • {{BackgroundColor}}: Sets the background color of the email. This variable uses the primary color added in the Advanced Settings. If this isn’t configured, the variable will use the color code #EFEFEF.

  • {{Company.Url}}: This variable is filled with the Cloudspark Login URL field entry on the General section of the Advanced Settings page.

  • {{Company.Name}}: Displays your company name.

  • {{Company.Domain}}: This variable is filled with the entry in the Website Domain field on the General section of the Advanced Settings page.

  • {{Company.EmailAddress}}: This displays the company’s email address. This email is called from the details of the Corporate Associate that is created during initialization. Generally, this Associate is named after your company.

  • {{Associate.Name}}: Displays the Associate’s name.

  • {{Associate.BackOfficeId}}: Displays the Associate’s Platform ID.

  • {{UserName}}: Displays the Associate’s username.

Order Receipt Email Template

  • {{BackgroundColor}}: Sets the background color of the email. This variable uses the primary color added in the Advanced Settings. If this isn’t configured, the variable will use the color code #EFEFEF.

  • {{Company.Name}}: Displays your company name.

  • {{Company.Domain}}: This variable is filled with the entry in the Website Domain field on the General section of the Advanced Settings page.

  • {{Company.EmailAddress}}: This displays the company’s email address. This email is called from the details of the Corporate Associate that is created during initialization. Generally, this Associate is named after your company.

  • {{Associate.Name}}: Displays the Associate’s name.

  • {{Associate.BackOfficeId}}: Displays the Associate’s Platform ID.

  • {{Order.Name}}: Displays the entry in the Ship To field of the Checkout page’s Shipping Address section.

  • {{Order.UsdTotal}}: Displays the total price of an order.

  • {{Order.ProductNames}}: Displays the products that were purchased in an order.

  • {{Order.LocalInvoiceNumber}}: Displays an order’s invoice number.

  • {{Order.OrderType}}: Displays the order type. The options are Standard, Autoship, or Enrollment.

  • {{Order.OrderDate}}: Displays both the date and time that the order was placed.

  • {{Order.OrderNumber}}: Displays the orders Order Number.

There are some variables for custom fields:

  • {{Order.CustomField1}}

  • {{Order.CustomField2}}

  • {{Order.CustomField3}}

  • {{Order.CustomField4}}

  • {{Order.CustomField5}}

For more information on custom fields, see Custom Fields.

  You can add more variables through Hooks. Depending on how your Hooks are configured, a base variable’s functionality can be impacted.
Was this article helpful?
0 out of 0 found this helpful
Previous Next

Comments

0 comments

Please sign in to leave a comment.