Skip to content

Custom Attributes

Custom attributes are tenant-defined fields added to contacts and conversations. Use them to track anything the platform does not model out of the box — customer tier, account number, escalation reason, latest NPS score, lifetime value, anything.

Contact custom attribute/property settings
Contact custom attribute/property settings

Two scopes:

  • Contact attributes persists on the contact and follows the person across every conversation.
  • Conversation attributes lives on a single conversation. Useful for ticket-style metadata (escalation_reason, disposition_code, csat_score_followup).

Once defined, the attribute appears in every relevant place: contact list (as a column and filter), contact detail page, inbox sidebar, and the API.

Defining an Attribute — /settings/custom-attributes

Section titled “Defining an Attribute — /settings/custom-attributes”

Open Settings → Custom Attributes. Two tabs at the top: Contacts and Conversations. Click New Attribute.

FieldThe function
LabelWhat humans see in the picker and column header. Can be edited at any time.
KeyStable identifier used by the API (customer_tier, member_id). Cannot be changed after creation. Lowercase letters, numbers, underscore; max 64 characters; must not start with hs_, intercom_, cw_, or mhd_system_.
Display typeDetermines the input widget and value semantics. Cannot be changed after creation.
TypeStored asInput widgetNote
Textstringsingle-line inputShort label, ID
Long textstringmulti-line textareaNotes, description
Numbernumericnumber inputQuantity, score
Booleantrue/falsetoggleFlag
DateYYYY-MM-DDdate pickerDate of birth, birthday
Date & timeISO 8601datetime pickerAppointments
Single selectoption keydropdownGold/Silver/Bronze
Multi selectoption key arraychips with “Add”Interests, products
URLstringURL input → displayed as linkProfile link
Emailstringemail input → mailto linkSecondary email
Phonestringtel input → tel: linkSecondary number
Currency{amount, currency}number + ISO codeLifetime value
  • Description — displayed as a tooltip.
  • Required — marks the attribute as expected. Currently informational only; the backend does not reject contacts that leave it empty.
  • Unique — only valid for text/email/url/phone/number. Enabling schedules index creation in the background; from then on, two contacts cannot have the same value (HTTP 409 on conflict).
  • Regex Pattern — for text/url/email/phone only. PCRE-compatible.
  • Regex Hint — short text shown when editing fails the regex.
  • Default value — applied when a contact is created without this attribute.
  • Show in List — the attribute appears as a column in the contact list and can be sorted.
  • Show in inbox — visibility flag, enabled by default. Currently the inbox sidebar shows every attribute that an agent can edit or that already has a value, regardless of this flag; editability in the inbox is controlled by Agent writable.
  • Sort order — a number; lower numbers appear first.

Each attribute has three independent flags:

  • API writable — whether an external HTTP client can set this attribute. Enabled by default.
  • SDK writable — whether the JS or mobile SDK can set it via setCustomAttributes({...}). Disabled by default.
  • Agent writable — whether agents can edit it from the portal/inbox. Enabled by default. Disable for attributes that should only be set programmatically.

Attribute can archived but not deleted. Archive when operators no longer use an attribute, while existing values are retained.

  • The attribute disappears from the picker, column chooser, and filter builder.
  • Contacts that already have a value still display it (in gray, with an “archived” badge).
  • Unarchive at any time to restore it.

Top-right corner of the contacts toolbar. Two groups:

  • Built-in — Name, Phone number, Email, Tags, Last updated.
  • Custom — all non-archived attributes. Check to add/remove. Reset to default restores: built-in + all checked attributes show_in_list.

Popover Filter lets you stack rules (AND only). Each row:

  • Pick a custom attribute — only non-archived custom attributes are available here. Built-in fields (name, phone, email, tags) are filtered via the search box and tag dropdown in the toolbar, not in the filter builder.
  • Pick an operator — the list adapts to the attribute’s display type.
  • Provide a value (or not, for ada / kosong).

Operators per type:

TypeOperator
textequals, not equal, contains, starts with, ends with, exists, empty
url/email/phoneequals, not equal, contains, exists, empty
long textcontains, exists, empty
number/currency=, not equal, >, >=, <, <=, between, exists, empty
boolean=, exists, empty
date/datetime=, before, after, between, last N days, exists, empty
single choice=, not equal, in, exists, empty
multiple choicecontains, contains any of, contains all of, exists, empty

Once you have a useful combination of columns + filters + sorting, Save view as…. The view can be:

  • Personal (default) — only you can see it.
  • Shared — admins can enable the toggle when saving; all team members can load and pin it.

Click a custom attribute cell in the table. The cell turns into an input matching its type:

  • Text/Number/URL/Email/Phone: inline input. Enter to save, Escape to cancel.
  • Boolean: toggle.
  • Date/Datetime: built-in date/time picker.
  • Single choice: dropdown.
  • Multiple choice: chips with a button Tambah.
  • Currency: currency code dropdown + amount input.

A red border + tooltip appears if the value fails server-side validation. Inline edit only works when agent_writable active.

Check the row checkbox to enter selection mode. The bulk toolbar displays:

  • Edit attribute — select an attribute, set a new value (or click Clear value), apply to all selected. Maximum 1000 contacts per invocation.

Open any conversation. The right sidebar displays two panels:

  • Contact attributes — values follow the person across every conversation.
  • Conversation attributes — values are scoped to this conversation only.

Each panel has a ⋮ menu:

  • Show / Hide archived — show archived attributes.
  • Manage attributes — quick link to /settings/custom-attributes.
  • Naming. Choose keys carefully — they are permanent. Use full words (customer_tier not tier).
  • Limit the schema. 20–50 active attributes per scope is ideal, 200 is the practical limit. Above that, archive aggressively.
  • Must not be the same as enforced. Flag is_required is informational only. If hard enforcement is needed, add a regex.
  • Saved views over filters. Filters used only once are fine; recurring filters are worth turning into a saved view.
  • Conversation attributes for ticket metadata. Anything that describes interaction (disposition, escalation reason) belongs to the conversation. Anything that describes the person belonging to the contact.
  • Do not store secrets in custom attributes. Visible to every agent. Use the credential profiles system for API tokens.
SymptomsPossible causeSolution
New attribute does not appear in the column chooserSWR cache; reload the pageReload, or wait ~60 seconds
Inline edit does not respondagent_writable=false or cell renderer has not loaded yetCheck the attribute API access tab
”Unknown attribute key” during importCSV column mapped to a non-existent keyCheck the key spelling in settings
409 on PATCHis_unique conflict — another contact already has this valueFind the duplicate or relax the constraint
Filter does not return the expected rowsInconsistent values (capitalization/spacing) from old importsUse mengandung instead of sama dengan
Sort on a custom column shows a toast (“Enable ‘Show in list’ on this attribute to sort by it.”)Attribute not yet enabled show_in_listEnable Show in List (show_in_list) on the attribute