Dynamic Content
When you send to contacts from an address book, you can personalise each message with details saved for that contact. Type a field code in the message, and each person receives their own details in its place.
Navigate: Campaign > Create New or Send SMS
$_first_name: replaced with the contact's First Name.$_last_name: replaced with the contact's Last Name.$_company: replaced with the contact's Company.$_custom_1to$_custom_4: replaced with Custom 1 to Custom 4.
Field codes work in campaigns, in Send SMS when the receivers come from an address book, and in templates. If your account has message templates, the Insert customer field buttons under the message add the codes for you.
Example
An address book contact has these details:
- Number: 61491570006
- First Name: John
- Last Name: Doe
- Company: Acme Pty Ltd
- Custom 1: Premium +
- Custom 2: 23/05/2024
The message is written as:
Hi $_first_name $_last_name. Your $_custom_1 subscription for $_company is set to expire on $_custom_2. Thank you.
John receives:
Hi John Doe. Your Premium + subscription for Acme Pty Ltd is set to expire on 23/05/2024. Thank you.
⚠️
Check the contact details first. If a field is empty for a contact, it is left out, so "Hi $_first_name," becomes "Hi ," for someone with no first name. Only the codes above work: anything else, such as {first_name} or [name], is sent exactly as typed.
Field codes also change the length of each person's message, so a long name can add an extra SMS part.
Sending through the API? These field codes only work in the SMS portal. The SMS API does not fill them in: a single send delivers
$_first_name exactly as typed, and a bulk send refuses the message. To personalise API messages, use {{first_name}} placeholders instead.