Skip to content

Custom Attributes

Custom attributes are tenant-defined fields that can be 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, and so on.

Two scopes:

  • Contact attributes persist on the contact and follow the person across every conversation they have with you.
  • Conversation attributes live on a single conversation only. Useful for ticket-style metadata (escalation_reason, disposition_code, csat_score_followup).

Once defined, attributes appear everywhere relevant: the contact list (as columns and filters), the contact detail page, the inbox sidebar, and the API.

Defining attributes — /settings/custom-attributes

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

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

FieldFunction
LabelWhat humans see in the picker and column header. Can be edited at any time.
KeyA stable 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 widgetNotes
Textstringsingle-line inputFor short labels, IDs
Long textstringmulti-line textareaNotes, comments, descriptions
Numbernumericnumber inputQuantities, scores
Booleantrue/falsetoggleFlags
DateYYYY-MM-DDdate pickerBirthdays, reminders
Date & timeISO 8601datetime pickerLast seen, appointments
Single choiceoption keydropdownOne of several options (Gold/Silver/Bronze)
Multiple choicearray of option keyschips with an “Add” buttonMany of several options (interests, products)
URLstringURL input → displayed as a linkProfile URLs, document links
Emailstringemail input → mailto linkSecondary email
Phonestringtel input → tel: linkSecondary phone
Currency{amount, currency}amount + ISO codeLifetime value, latest invoice total
  • Description — shown as a tooltip; explain what the attribute means and when to set it.
  • Required — marks the attribute as expected. Currently informational; the backend does not reject contacts that omit it (this lets you add the attribute to existing contacts gradually).
  • Unique — only applies to text/email/url/phone/number. Enabling it schedules a job CREATE INDEX CONCURRENTLY in the background; from then on, two contacts cannot have the same value (HTTP 409 on collision).
  • Regex Pattern — only for text/url/email/phone. PCRE compatible. The regex is validated when the definition is saved.
  • Regex Hint — short text shown when editing fails the regex (Format harus ABC-1234).
  • Default value — applied when a contact is created without setting this attribute. The format depends on its type.
  • Show in List — when enabled, the attribute appears as a column in the contact list by default and can be sorted.
  • Show in inbox — if enabled, the attribute can be edited in the inbox sidebar.
  • Sort order — integer; lower numbers appear first in the picker and panel.

Each attribute has three independent flags:

  • API writable — can an external HTTP client (public REST API) set this attribute? Enabled by default.
  • SDK writable — can the JS or mobile SDK set it via setCustomAttributes({...})? Disabled by default; enable it for attributes intended to be filled from the user’s device.
  • Agent writable — can agents edit it from the portal/inbox? Enabled by default. Disable it for attributes that may only be set programmatically (e.g. tier_calculated_at).

Add one option per line: Label (which you see) and Value (what is stored — auto-slugged from the label, editable). Color optional. Drag rows to reorder.

When you delete an option, contacts that have that value still keep it (it is just rendered without styling). Better than deleting: open the option editor, edit the label, or Archive the entire attribute and create a new one.

Attributes can be archived but not deleted. Archive when you no longer want operators to use the attribute, but still want existing values to remain stored on the contact.

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

In the top-right corner of the contacts toolbar. Two groups:

  • Built-in — Name, Phone number, Email, Tags, Last updated.
  • Custom — any non-archived attribute. Check to add/remove. Reset to default restores: defaults + every starred attribute show_in_list.

Popover Filter lets you stack rules (AND only — nested OR is deferred). Each row:

  • Pick an attribute (built-in or custom).
  • Pick an operator — the list adjusts to the attribute’s display type.
  • Provide a value (or not, for terisi / kosong).

Operators per type:

TypeOperator
text/url/email/phoneequals, not equals, contains, starts with, ends with, is filled, is empty
long textcontains, is filled, is empty
number/currency=, not equal, >, greater than or equal, <, less than or equal, between, is filled, is empty
boolean=, is filled, is empty
date/datetime=, before, after, between, in the last N days, is filled, is empty
single choice=, not equals, in, is filled, is empty
multiple choicecontains, contains any of, contains all, is filled, is empty

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

  • Private (default) — only you can see it.
  • Shared — admins can enable the toggle when saving; once shared, every team member can load and pin it.

Click any custom attribute cell in the table. The cell turns into the corresponding input:

  • Text/Number/URL/Email/Phone: inline input. Press Enter to save, Escape to cancel.
  • Boolean: toggle.
  • Date/Datetime: native date/time picker.
  • Single choice: dropdown with options.
  • Multiple choice: chips with a button Tambah button to pick from the remaining options.
  • Currency: currency code dropdown + amount input.

A red border + tooltip appears if the value fails server-side validation (regex, unique, type). The cell reverts to its previous value on failure.

Check a row checkbox to enter selection mode. The bulk toolbar at the top shows the count and exposes:

  • Edit attribute — choose an attribute, set a new value (or click Clear value) and apply it to all selected.

Bulk edit is limited to 1000 contacts per call.

Open any conversation. The right sidebar displays two panels:

  • Contact attributes — values follow the person across every conversation. Editing here is the same as editing on the /contacts/[id].
  • 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.

Use Contacts → Import (CSV/XLSX). The wizard guides you:

  1. Upload — file max 10 MB (CSV) or 25 MB (XLSX).
  2. Match by — telepon or email. Determines whether existing contacts are updated based on phone number or email.
  3. Column mapping — for each CSV column, choose the destination:
    • Default: name, phone_number, email, tags (comma inside the cell).
    • Custom attribute: ca:<key>. Only non-archived attributes are listed.
  4. Confirm and run — the import task is queued and processed asynchronously.

CSV expectations:

  • The first row is the header. Headers are matched against the column mapping.
  • Empty cells skip that field (does not overwrite existing values with blank).
  • Multi-select values: comma-separated within a cell, or a JSON array (["gold","silver"]).
  • Currency value: JSON {"amount":1000,"currency":"IDR"} or just a number (treated as the primary currency).
  • Date / datetime: ISO 8601 (2026-04-25 or 2026-04-25T10:00:00Z).
  • Boolean: true / false / yes / no / 1 / 0.
SymptomsPossible causeSolution
New attribute does not appear in the column pickerSWR cache; reload the pageReload, or wait ~60 seconds for revalidation
Direct edit does nothingAttribute agent_writable=false or cell renderer has not loaded yetCheck the attribute API access tab
”Unknown attribute key” during importCSV columns mapped to ca:foo but there is no attribute with that key fooCheck the key spelling in /settings/custom-attributes
409 when PATCH /api/contacts/{id}Collision is_unique — another contact already has this valueFind the duplicate or relax the unique constraint
Filter on a custom attribute does not return the expected rowsValues may have inconsistent casing or spacing from old importsUse mengandung instead of sama dengan, or run bulk_upsert to normalize
Sorting on a custom column shows the “Enable Show in list” toastAttribute does not have an expression indexEnable show_in_list on the attribute; wait ~30 seconds for the index build