Custom fields
Store extra details on a contact, such as their city, and insert them into broadcast and template messages.
On this page
A custom field is an extra detail you keep on a contact, such as their city, plan or order number. Each contact has its own set of fields. You can use a field in a broadcast or template message so that each person gets their own value.
Add a custom field to a contact
- In the sidebar, under Work, click Contacts and click the contact's name.
- Under Custom fields, find the empty row.
- In the left box (field_name), type the name of the field, for example
city. - In the right box (Value), type the value for this contact, for example
Denver. It can be up to 500 characters. - Click Save contact.
The field is saved and a new empty row appears, ready for the next one. To add several fields, add one, save, and repeat.
How field names are tidied
When you save, the name is changed to lowercase, spaces become underscores, and any character that is not a letter, a number or an underscore is removed. Order No. becomes order_no.
Use the same field name on every contact, so that one placeholder works for all of them.
Change or remove a field
- To change a value, edit it and click Save contact.
- To remove a field, clear its name box and click Save contact.
Use a field in a message
Wherever you fill in the values of a template, type the field name between double curly brackets, for example {{city}}. This works in the values of a broadcast and in Send a template in the inbox. When the message is sent, each contact gets their own value.
These placeholders are always available, without creating a field:
| Placeholder | Becomes |
|---|---|
{{name}} | The contact's full name, or "there" if they have none |
{{first_name}} | The first word of their name, or "there" |
{{phone}} | Their phone number |
{{email}} | Their email address |
See Send a broadcast and Send a template from the inbox.
Common problems
The placeholder came out empty
The contact has no field with that name, or the name is spelled differently. A placeholder with no matching field is replaced with nothing. Open the contact and check the field name.
My field name changed after saving
Names are tidied as described above. Use the saved form of the name in your placeholder.
Custom fields are missing from my export or import
The CSV export and import do not include custom fields. Fill them in on the contact's page.
I cannot build a segment from a custom field
Segments filter by tags, source and dates only. Use a tag for anything you want to segment by. See Build segments.