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.

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.
Required fields
Section titled “Required fields”| Field | The function |
|---|---|
| Label | What humans see in the picker and column header. Can be edited at any time. |
| Key | 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 type | Determines the input widget and value semantics. Cannot be changed after creation. |
Display type
Section titled “Display type”| Type | Stored as | Input widget | Note |
|---|---|---|---|
| Text | string | single-line input | Short label, ID |
| Long text | string | multi-line textarea | Notes, description |
| Number | numeric | number input | Quantity, score |
| Boolean | true/false | toggle | Flag |
| Date | YYYY-MM-DD | date picker | Date of birth, birthday |
| Date & time | ISO 8601 | datetime picker | Appointments |
| Single select | option key | dropdown | Gold/Silver/Bronze |
| Multi select | option key array | chips with “Add” | Interests, products |
| URL | string | URL input → displayed as link | Profile link |
| string | email input → mailto link | Secondary email | |
| Phone | string | tel input → tel: link | Secondary number |
| Currency | {amount, currency} | number + ISO code | Lifetime value |
Optional metadata
Section titled “Optional metadata”- 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/phoneonly. 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.
API access (writability triplet)
Section titled “API access (writability triplet)”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.
Archive vs Delete
Section titled “Archive vs Delete”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.
Using Attributes in the /contacts
Section titled “Using Attributes in the /contacts”Column chooser
Section titled “Column chooser”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.
Filter builder
Section titled “Filter builder”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:
| Type | Operator |
|---|---|
| text | equals, not equal, contains, starts with, ends with, exists, empty |
| url/email/phone | equals, not equal, contains, exists, empty |
| long text | contains, 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 choice | contains, contains any of, contains all of, exists, empty |
Saved views
Section titled “Saved views”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.
Inline edit
Section titled “Inline edit”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.
Bulk edit
Section titled “Bulk edit”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.
Using Attributes in the Inbox
Section titled “Using Attributes in the Inbox”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.
Best Practices
Section titled “Best Practices”- Naming. Choose keys carefully — they are permanent. Use full words (
customer_tiernottier). - 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_requiredis 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.
Troubleshooting
Section titled “Troubleshooting”| Symptoms | Possible cause | Solution |
|---|---|---|
| New attribute does not appear in the column chooser | SWR cache; reload the page | Reload, or wait ~60 seconds |
| Inline edit does not respond | agent_writable=false or cell renderer has not loaded yet | Check the attribute API access tab |
| ”Unknown attribute key” during import | CSV column mapped to a non-existent key | Check the key spelling in settings |
| 409 on PATCH | is_unique conflict — another contact already has this value | Find the duplicate or relax the constraint |
| Filter does not return the expected rows | Inconsistent values (capitalization/spacing) from old imports | Use 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_list | Enable Show in List (show_in_list) on the attribute |