Prompt
How do I target in-app messages by plan, role, or lifecycle stage?
Latest observation
To target in-app messages by plan, role, or lifecycle stage, you generally need to use user attributes/properties in your messaging tool, then build the audience/segment from those attributes.
1) Set the right user attributes
Make sure your app or backend sends values like:
- plan:
free,pro,enterprise - role:
admin,manager,member - lifecycle_stage:
new,activated,trialing,paid,at_risk
These are usually stored as custom user properties or traits on the user profile.
2) Create segments based on those attributes
In your in-app message targeting rules, define conditions such as:
- Plan is
pro - Role is
admin - Lifecycle stage is
trialing
You can also combine them, for example:
plan = proANDrole = adminlifecycle_stage = trialingORlifecycle_stage = at_risk
3) Apply the segment to the in-app message
When creating the in-app campaign, choose the audience/targeting section and select:
- a saved segment, or
- direct rules using those properties
Then your in-app message only appears to users who match the criteria.
4) Keep the data current
If a user upgrades plans, changes roles, or moves lifecycle stages, update the property immediately so targeting stays accurate.
Example targeting logic
You might show a message only to:
- users on the Pro plan,
- who are admins,
- and are in the trialing lifecycle stage.
That would look conceptually like:
plan = "pro" AND role = "admin" AND lifecycle_stage = "trialing"
If you tell me which platform you’re using for in-app messages, I can give you the exact steps and syntax.