Contact attributesMenu
On this page

Contact attributes

Store custom customer details and use them in segments, personalisation and journey triggers.

View as MarkdownOpen in ClaudeOpen in ChatGPTUpdated

Attributes store customer details beyond standard fields such as name, email and phone. Use a plan, city, loyalty tier or birthday to build relevant segments, personalise messages and trigger journeys.

Attribute types

Type Example
Text city: “Lisbon”
Number orders_count: 12
Yes / no vip: yes
Date birthday: 1990-04-18, or --04-18 for a date with no year
Multiple values diet: vegetarian, gluten-free

Attribute names can use letters and numbers in any language, plus dots, - and _, up to 64 characters, such as ville or 会员等级.

Dates are calendar dates written as YYYY-MM-DD, or --MM-DD when the year doesn’t matter.

How attributes get onto contacts

You don’t need to create attributes in advance. They’re added as data arrives:

  • Imports: map a column to Keep on the contact. See Import contacts.
  • Signup forms: a form field can save to an attribute.
  • By hand: open a contact, choose Edit, and add or change values under Custom attributes. See Edit a contact.
  • Your app: a developer can set attributes through the API. It uses the API’s identify call.
  • Journeys: an Action step can set an attribute. See Build a journey.

To remove an attribute from one contact, edit the contact and remove it.

See every attribute in your workspace

Go to Data and switch to Attributes (its other tabs cover events). You’ll see every attribute your contacts have, in name order, with its type, how many Contacts have it and its description. If contacts hold different kinds of value under the same name, the type shows as Mixed. Keep each attribute to one type so segments and personalisation behave as you expect.

Search by name or filter by Type to find one. An import’s attributes show at once; one added on a single contact takes up to five minutes. Choose Values to see an attribute’s values; a hidden attribute’s values aren’t shown.

A single contact’s attributes are on their profile, in the Attributes panel.

Describe an attribute

A description says what an attribute means, such as Loyalty tier, from the till system, so everyone building segments and messages reads it the same way. Kiro AI reads it too, when it drafts a segment or answers a question about your contacts. Admins and the owner choose the edit button beside an attribute, write the Description (up to 255 characters), then choose Save changes. Clear it to remove it.

Your developers can also describe attributes through the API, with an API key that can Describe attributes.

Use attributes

In segments. Add a condition on the attribute, under Custom fields, for example loyalty_tier equals gold, or birthday is within the last 7 days. See Segments.

In messages. Add an attribute as a merge tag in an email or push, with a fallback for contacts who don’t have it:

Code
Hi {{ contact.firstName | fallback: "there" }}, your {{ contact.attributes.favourite_dish | fallback: "favourite dish" }} is back on the menu.

The email designer has a picker for these, so you don’t have to type them. See Merge tags and personalisation.

In journeys. Start a journey when an attribute changes, or when a date in an attribute arrives, such as a birthday or a renewal date. See Date triggers. Filters and splits inside a journey can check attributes too.

Hide sensitive attributes

Admins and the owner can hide attributes, such as a date of birth or an internal score, from members, authors, developers and viewers.

  1. Open Settings › Workspace › Users.
  2. Under Hidden attributes, enter the attribute’s name as it appears on a contact.
  3. Choose Hide from members. You can hide up to 50 attributes.

Members, authors, developers and viewers then see the value as Hidden and can’t use it in conditions. In their previews and test sends, the merge tag’s fallback shows instead. Admins, the owner, exports, real sends and API keys still use the real value, except a key a developer created or last rotated, which sees Hidden, as the developer does. See If you’re a developer.