Template Variables
Template variables take you one step closer to having your emails write themselves. There are two types of template variables: smart variables and custom variables.
Smart variables will automatically be filled in with information Mixmax can access - this includes any existing field on the Mixmax contact record. Variables based on information about the recipient will be auto-filled only if the recipient is added to the To: field before the template is added to the email.
Custom variables can be created as placeholders for when you are composing an email. You can easily tab through custom variables to quickly fill them out.
To add a variable while creating a template, click Insert variable in the toolbar at the bottom of the template editor, or just start typing {{
. If you want to use a smart variable, select it from the list that automatically appears. If you want to create a custom variable, just continue to type the text of your custom variable. Typing a closing }}
will close the variable editor.
Variables in Links
Both smart and custom variables also work directly in links.
If you want to send a personalized link to your recipient, simply include the variable directly in the URL, such as mycompany.com/offer?user={{email}}
. If your recipient's contact information includes a field with the variable name, it will resolve (fill automatically) from the recipient's contact information in Mixmax. Note that this will work for both naked links and regular links.
If Mixmax can't find a match for the variable within the recipient's contact information, you'll be able to resolve the variable manually as a custom variable.
Template variables are designed specifically for emails that are sent to a single recipient. If you are interested in using variables for emails you send to multiple recipients at once, then check out Sequences.