Where to find it
Settings > Data (/dashboard/settings/data).
What a field is
A field holds one value per record. Contact fields hold one value per person (job_title, plan_tier); company fields hold one value per account, shared by everyone at that company (seats, renewal_owner).
Fields can come from two places, and the page shows both in the same list:
Pick the Contacts or Companies tab first (the Segments tab is covered below). Each tab lists that record’s fields with their type, source, AI description, how often the key has been seen, and a sample value.
Creating a field in Halo
Click New field, choose whether it belongs on contacts or companies, and give it a label. The key (what your code sends) is derived from the label —Job Title becomes job_title — and can be adjusted before saving. Keys never change after that; delete the field and create a new one to rename it.
Types:
A key can’t shadow a built-in column (
email, plan, domain, …) or a Halo-managed one (created_at, health_score, …). The dialog says which when it refuses a key.
Fields created here appear in segment filters, lead-capture and onboarding pickers, and routing rules right away. Keys that arrive from code appear there too; click an API row to give it a proper label, type and description.
Sending fields from code
The Contacts and Companies tabs each end with a Send these from your code section (it starts closed once the tab has fields; click it to open). It holds a code snippet built from that tab’s actual keys, in JS SDK and REST form, with your publishable widget key filled in. Any key you pass becomes a field; nothing has to be declared first.Describing fields for the AI
The AI sees your fields by name and value.acquisition_channel = paid is reasonably interpretable; tier = 3 is not — does 3 mean the third tier (high) or a level-3 trial (low)?
Click any description cell (or open the field) and write what a new teammate would need: “Customer acquisition channel — paid, organic, referral or partner”. Descriptions are injected into the AI’s prompt whenever it reasons about the field. Set them for anything with a non-obvious name, numeric fields where scale matters, and enum fields where the AI should know the allowed values.
Session context
The Session context tab lists keys your app passes withsetContext() or the context object: the current page, cart, recent activity. Context is read by the AI during the conversation and is not saved on the contact’s profile, so it can’t be filtered on. Descriptions work the same way as for fields.
Under the hood
- Field definitions live at
teams.settings.custom_fields(id,entity,label,key,type,options). They are written throughPOST /api/settings/data-fieldsandPATCH/DELETE /api/settings/data-fields/:id. - The key catalogue (seen counts, sample values, AI descriptions) is
discovered_attributes. Creating a field in Halo adds a row withseen_count = 0; the first identify call for that key starts counting. - Values live in
end_users.custom_fieldsandcompanies.custom_fields.
What’s not here
- Data retention policies — not surfaced as user-configurable settings
- Export controls — there’s no built-in CSV export for field data on this page
- Deletion requests — for GDPR-type asks, contact support
Where to go next
User Traits
The contact fields Halo recognizes natively.
Company Traits
The company fields Halo recognizes natively.
Context Entries
Structured context beyond simple fields.
Identify Users & Companies
How fields flow in via the SDK.