Message Variables
- Updated
Jump to:
- What are Message Variables?
- Using Message Variables in a Campaign
- Empty Message Variables in a Message
- Adding Message Variables to Templates
- Using Message Variables in Message Hub
What are Message Variables?
Message Variables allow you to dynamically add custom information into your messages, making them personalized for each contact that receives them. When creating a message or template, you can include information like a contact’s name or other custom attributes that you have stored on that contact in your Voxie team. These Message Variables will populate the information directly in the message and will autofill for every contact.
Using Message Variables in a Campaign
When building a campaign, you can add Message Variables to the message body.
-
In the Create Campaign Message page, select the box labeled "Body," where you will write your message content
-
Type what you want your message to read.
-
Place the cursor and click where in the message you want to insert a Message Variable.
-
Click on the blue i icon:
-
A new popup called Message Variables will appear.
-
In the popup, you can select the Message Variable(s) you want to insert into the text.
-
When clicked, the Message Variables will insert into the message body where your cursor was placed. You will see syntax indicating the Message Variable type, as well as the specific variable inserted, between two curly brackets (e.g., {{contact=>first_name}}. Do not modify this syntax.
Once you have written the message body of your text and added in your Message Variables, you can preview what the text will look like to specific contacts. Use the See It Live button to access this preview.
-
Click the See It Live button indicated in the screenshot above. A new popup modal will appear.
-
In the first box, begin typing a contact name or phone number; contacts matching your typing will begin to appear. Select the contact you want to preview the message for.
-
Once you select the desired contact, the text will appear in the second box, populating any included Message Variable(s) with their relevant information. If the Message Variable(s) are not included in the message correctly or are blank for that contact, they will not appear, and you should edit the message to only include information dynamically that each contact receiving the message will have available to them.
-
To close the See It Live modal, click Done.
-
If you do not like how the text looks, you can edit the message at this time.
-
You can click the See it Live button and try different contacts as many times as you would like until you are satisfied with text.
-
Once you are happy with the text and any included Message Variable(s), click Create Message in the bottom right-hand corner.
Empty Message Variables in a Message
If a contact receiving a message does not have information stored in a Message Variable used, or a Team Custom Attribute is used but empty, these Message Variables will appear as a space in the message. An example of how a contact would receive a message that includes the sentence "Hey, {{contact=>first_name}}!" if they do not have a first name stored on their contact in your Voxie team would be "Hey, !"
Adding Message Variables to Templates
You can also add Message Variables to your Templates for Message Hub.
- Create the Template and name it.
- In the Create Campaign Message page, select the box labeled "Body," where you will write your message content.
- Type what you want your message to read.
- Place the cursor and click where in the message you want to insert a Message Variable.
- Click on the blue i icon.
-
A new popup called Message Variables will appear.
-
In the popup, you can select the Message Variable(s) you want to insert into the text.
- In the popup, you can select the Message Variable(s) you want to insert into the text.
- When clicked, the Message Variables will insert into the message body where your cursor was placed. You will see syntax indicating the Message Variable type, as well as the specific variable inserted, between two curly brackets (e.g., {{contact=>first_name}}. Do not modify this syntax.
- Click Create Template to finish and save the new template.
Using Message Variables in Message Hub
When responding to a message, you can insert a Message Variable to personalize a message and include information about the contact dynamically.
In the Response Builder, click the curly bracket icon to select which Message Variables to use.
Select the Message Variable you would like to include in your message. When selected, the Message Variables will insert into the message body where your cursor was placed. You will see syntax indicating the Message Variable type, as well as the specific variable inserted, between two curly brackets (e.g., {{contact=>first_name}}. Do not modify this syntax.
Message variables in your message body in Message Hub will populate when you send the message.