Recall that each contact is assigned attributes, called contact fields, that hold values such as their names, phone numbers, and any other individual information you want to include. Contact fields are divided into two types, default fields and custom fields, and they can hold three types of values: text, numeric, or date & time.
Creating Custom Contact Fields Manually
You can easily create a customized contact field by navigating to the "Contacts" tab in your account. From there, click "Manage Fields".
You'll be brought to the Manage Contact Fields page:
Note that the manage field dialog is also another way to know how to refer to a field value in a message or flow, i.e. the field value for "Address" is @contact.address.
You can make a contact field appear at the top of your contact's contact page by making it "featured". Do this by clicking on the contact field and checking the "Featured field" box. You can also choose the field type, such as text, number, date & time, state, district, or ward.
Editing a Contact's Custom Fields
Custom fields, while created via the "Manage Fields" button on the contacts tab, can be edited via the "Custom Fields" dialogue also located within each contact's profile page. To access the custom dialogue, navigate to a contact's profile page, click the ☰ menu icon, and select the "Custom Fields" option from the settings menu:
The custom fields you've added to your account will be listed in the dialogue, where each contact's individual values will appear. To edit these values, simply select the custom field you'd like to change, then update the value & click "Save Changes". The example below, we've chosen to edit the custom field "Age":
Creating a Custom Contact Field in a Flow
You can create new custom contact fields or update existing ones in a flow using the Update the Contact action. In the flow above, we've asked new contacts for their name. Once we collect that information in the Wait for Reply action, we'll update the contact:
We'll enter a value for this new field using @results.[field_name], which we can use later in our flow to reference this field.
You can choose an already existing field to update or create a totally new field by simply typing the name of the field you'd like to make:
For a more detailed guide to using this action in a flow, check out our article on how to add and update contact fields here.