Data types
Intempt supports six data types for attributes: text, number, date, boolean, array, and object. Each data type has its own set of filter operators.
Supported data types
Intempt supports six data types for attributes: text, number, date, boolean, array, and object. The data type an attribute has determines which operators you can use to filter and segment on it in Managing attributes and across Intempt.
Text
-
Alphanumeric value, e.g. Plan Type = "Free", Artist Name = "Bruno Mars"
-
Intempt treats any attribute value that doesn't match another data type as text.
Text operators
| Operator Name | Description |
|---|---|
| is | Checks if the attribute exactly matches a value. |
| is not | Checks if the attribute does not match a value. |
| contains | Searches within the attribute for a value. |
| does not contain | Confirms the attribute does not include a value. |
| has any value | Validates that the attribute has any value. |
| has no value | Checks if the attribute has a blank or null value. |
Number
- Numeric (integer or decimal) value, e.g. Cost = 15.00, Quantity = 5
Number operators
| Operator Name | Description |
|---|---|
| equals | Checks if the attribute is equal to a specified number. |
| doesn't equal | Checks if the attribute is not equal to a specified number. |
| is greater than | Verifies if the attribute is greater than a specified number. |
| is less than | Verifies if the attribute is less than a specified number. |
| is greater than or equal | Checks if the attribute is greater than or equal to a specified number. |
| is less than or equal | Checks if the attribute is less than or equal to a specified number. |
| has any value | Validates that the attribute has any numerical value. |
| has no value | Checks if the attribute has no assigned value or is null. |
Date
- A timestamp value, e.g. Last Purchase, Last Login.
Date operators
| Operator Name | Description |
|---|---|
| since | Checks if the date occurred on or after the specified date. |
| before | Checks if the date occurred before the specified date. |
| in the last | Checks if the date occurred within the specified time frame up to now. |
| between | Checks if the date falls within a specified range of dates. |
Boolean
- Intempt treats an attribute as a boolean if the value is either the JSON constant true or false, e.g. Favorited = true, Bookmarked = false.
Boolean operators
| Operator Name | Description |
|---|---|
| is true | Indicates the attribute is true. |
| is false | Indicates the attribute is false. |
Array
-
A list of values as a JSON array, e.g. Favourite Genres =
["Folk","Alternative"]or Favourite Numbers =[1, 5, 10] -
An array can also hold objects instead of plain values, e.g. Teams =
[{"name":"Growth","id":"1"}, {"name":"Sales","id":"2"}]. Each object in the array shares the same set of fields. -
For an array of text, number, or boolean values, pick any in the list or all in the list, then apply the matching operator for that value's own data type (Text, Number, or Boolean) to check each element.
-
For an array of objects, pick any in the list or all in the list, then filter on the object's own fields. Each field uses the operators for its own data type. For example, on the Teams array above, you'd filter where name is "Growth".
Array operators
| Operator Name | Description |
|---|---|
| any in the list | Checks if any of the specified values are present in the attribute array. |
| all in the list | Checks if all of the specified values are present in the attribute array. |
Object
-
Arbitrarily nested JSON key-value pairs, e.g. Company =
{"name": "Intempt", "plan": "Enterprise"} -
An object doesn't have its own operator set. You filter on its individual fields instead, and each field uses the operators for its own data type: a text field uses Text operators, a number field uses Number operators, and so on.
Use cases
-
Text. Segment on Plan Type to target only "Enterprise" customers with a renewal journey.
-
Number. Filter where Lifetime value is greater than 500 to build a high-value customer segment.
-
Date. Filter where Trial Started is in the last 7 days to trigger an onboarding journey.
-
Boolean. Filter where Favorited is true to build a segment of users who saved an item.
-
Array. Filter where Teams any in the list has name "Growth" to reach everyone on that team.
-
Object. Filter on a field inside an object attribute, like Company's plan field, using the Text operators.
The Glossary
A reference of terms used across the Intempt platform. Terms are defined as they behave in Intempt specifically.
Integrations
Integrations connects Intempt to the sources that send you data, the platforms you sync data with, and the destinations you send data to, plus the custom domains your booking pages and tracking links run on.
