Below you can find a list of standard service variables that you can use when creating email templates and sending campaigns.
IMPORTANT: All variables should be in “lowerCamelCase” format. Only Latin letters allowed. No underlines, special symbols, etc.
- lowerCamelCase (part of CamelCase) is a naming convention in which a name is formed of multiple words that are joined together as a single word with the first letter of each of the multiple words (except the first one) capitalized within the new word that forms the name.
Note: use YYYY-MM-DD format for date values (example: “userBirthDate” => “1900-01-01”)
Variable | Description |
{{name}} | Subscriber’s name from the contact list which will be used as a From_name in your emails |
{{email}} | Email address will be used as a From_email |
{{phoneNumber}} | Addressee phone number to send SMS. Should be valid E.164 phone number. |
{{contactCreatedAt}} | The recipient’s subscription date |
{{userId}} | The recipient’s user id in system |
{{host}} | Website domain name from your From_email address |
{{currentDate}} | Current date in “dd-mm-yyyy” format |
{{currentMonth}} | The current month |
{{currentYear}} | The current year |
{{campaignName}} | Campaign title |
{{triggerName}} | Trigger title |
{{dripName}} | Drip campaign title |
{{scenarioName}} | Scenario name |
{{listName}} | Displays the contact list name |
{{segmentName}} | Displays the segment name. Doesn’t work with triggers and drip campaigns. |
{{companyName}} | Company name linked to your contact list |
{{companyEmail}} | Company email address linked to your contact list |
{{companyPhone}} | Company phone number address linked to your contact list |
{{companyAddress}} | Company physycal address linked to your contact list |
{{companyCity}} | Company location city linked to your contact list |
{{companyCountry}} | Company location country linked to your contact list |
{{unSubscribeUrl}} | You can use this variable in template to provide your users a way to unsubscribe from email list |
{{webVersionLink}} | You can use this variable in template to provide your users a link to web version of the message |
{{ telegramBot_yourBotName }} | You can use this variable in template to provide your users a link to to subscribed to Telegram Bot linked with SmartSender |