Skip to content

What are Attributes and Why Do They Matter?

Attributes are user properties from your CRM that JustAI uses to deliver personalized content. They connect your existing customer data with JustAI’s variant selection, ensuring each user sees messaging tailored to their segment.

Without attributes, every user sees the same content. With attributes, JustAI can:

  • Target specific segments — Show different variants to different user groups.
  • Learn what works — Discover which messaging resonates with each segment.
  • Personalize automatically — Deliver the best-performing variant for each user’s attributes.

For example, a plan attribute with values like “free” and “premium” lets you test whether free users respond better to upgrade-focused messaging while premium users prefer feature announcements.

  1. Your CRM stores user data — Properties like plan type, location, or signup date.
  2. You pass attributes to JustAI — When requesting content, include relevant user attributes.
  3. JustAI matches variants — Variants tagged with matching attributes are considered for selection.
  4. The best variant wins — JustAI’s optimization selects the top performer for that segment.

For a deeper dive into how attributes fit into templates and variants, see Core Concepts: Attributes.

Hypersegments are functions that transform raw attribute values from your CRM into normalized categories that JustAI can use for targeting. This is useful when your CRM data doesn’t match the segments you want to target.

Map multiple input values to a single canonical name. Useful when your CRM has inconsistent data.

Raw CRM ValueMapped To
”vip”, “VIP”, “pro”, “premium”premium
”free”, “basic”, “starter”free

Match values using patterns. Useful for categorizing free-form text.

PatternMatchesMapped To
/iphone|ios/i”iPhone 14”, “iOS user”ios
/android/i”Android”, “android phone”android

Group continuous numbers into named ranges. Useful for metrics like age, spend, or tenure.

AttributeRangeBucket Name
years_experience0–1junior
years_experience2–5mid
years_experience6+senior

Group dates by how recent they are. Useful for recency-based segmentation.

AttributeAgeBucket Name
last_purchase< 7 daysrecent
last_purchase7–30 daysactive
last_purchase> 30 daysinactive

If you don’t specify an attribute value on a variant, it acts as a wildcard and matches any user. This is useful for:

  • Default content — A fallback variant that serves users who don’t match specific segments.
  • Broad testing — Test messaging across your entire audience before segmenting.

For example, if you have variants for plan: free and plan: premium, plus one variant with no plan attribute, users with an unrecognized plan value will receive the wildcard variant.

Each email service provider has different syntax for passing attributes to JustAI. See the integration guides for implementation details: