Use Expressions across InOne

Prev Next

Once an expression is created and published, its calculated attribute becomes available wherever attributes are supported in InOne. This article covers which modules support expressions, and how to reference them in dynamic content and segmentation.

Use expressions in segmentation

Calculated attributes from expressions are available as attribute filters in dynamic segments across all supported channels. They behave identically to any other attribute filter; you can apply equality, range, and comparison operators depending on the data type of the expression's output.

Expressions can be selected from the attribute list in any of these modules. If an expression named expression_name has a value of X for a profile, it can be referenced in any dynamic content block across your campaign when you select it from the dynamic content dropdown.

Example:

  • Expression: days_since_last_purchase is published and has a value of 30 on a given profile.

  • In the Segments step, select Attributes, then choose days_since_last_purchase from the attribute list.

  • Apply a filter such as is greater than 20. This profile qualifies and is included in the segment.

Use Expressions in Dynamic Content

A calculated attribute produced by an expression can be referenced as a dynamic content inside a campaign. When the campaign is sent, InOne resolves the dynamic content to the expression's value on each user's profile individually.

Suppose a profile is assigned the expression expression_name with a value of 30. To personalize an email with this data, simply select the expression_name attribute from the dynamic content dropdown within your campaign. The system will automatically display the correct value based on each user’s profile.

Expression-based content logic is currently available in the Email, Web Push and Architect products.

Current limitations

The following capabilities are not yet supported. Contact the Insider One team if you need further assistance:

  • Editing or deleting a published expression is not supported. To change an expression, create a new one.

  • Selecting PII-marked attributes as expression inputs is not supported.

  • Boolean logic within expressions is not supported. Expression formulas are limited to numeric and string operations.