Contact Properties

Contact properties are the attributes you store about your users. Use them to personalize messages and create targeted segments.

Standard Properties

These properties are built-in and recognized by Cueflow:

Identification

Property
Type
Description

id

String

Required. Unique identifier for the user

email

String

Email address

name

String

Full name or display name

phone

String

Phone number

avatarUrl

String

URL to profile image

Role & Plan

Property
Type
Description

role

String

User's role (e.g., "admin", "member", "viewer")

plan

String

Subscription plan (e.g., "free", "pro", "enterprise")

Timestamps

Property
Type
Description

signedUpAt

Date

When the user created their account

lastSeenAt

Date

Auto-updated on each page view

Setting Properties

Via Embed Script

Pass properties when initializing:

Update properties when they change:

Via Server API

Using Properties for Targeting

Properties enable powerful targeting rules:

Plan-Based Targeting

Show upgrade prompts to free users:

Role-Based Targeting

Show admin features to admins only:

Time-Based Targeting

Welcome new signups:

Target veteran users:

Engagement Targeting

Re-engage inactive users:

Property Types

Text Properties

String values for names, emails, plans, etc.

Operators available:

  • Equals / Not Equals

  • Contains / Not Contains

  • Starts With / Ends With

  • Is Set / Is Not Set

Date Properties

Timestamp values like signedUpAt and lastSeenAt.

Operators available:

  • Is Within (last X days)

  • Is Before (more than X days ago)

  • Is Set / Is Not Set

Best Practices

Consistency

  • Use consistent values (e.g., always "pro" not sometimes "Pro")

  • Define a schema for your team

  • Document expected values

Completeness

  • Always send id (required)

  • Include email for better profiles

  • Send signedUpAt for time-based targeting

Updates

  • Update properties when they change

  • Use Cueflow.update() for real-time updates

  • Keep plan/role in sync with your database

Naming

  • Use lowercase with underscores for custom properties

  • Be descriptive but concise

  • Avoid abbreviations

Example: Complete Profile

Next Steps

Last updated