AckdbObserveTraitCondition

A condition on a registered entity trait. `traitKey` is whitelisted against the field catalog; the operator must be legal for the trait's valueType.

Properties

typestringrequired
"trait"
traitKeystringrequired
operatorstringrequired
"eq""neq""gt""gte""lt""lte""contains""in""is_null""is_not_null"
valueone of

Scalar or array depending on the operator. Omitted for is_null/is_not_null.

Option 1
string
Option 2
number
Option 3
boolean
Option 4
array of
one of
Option 1
string
Option 2
number

Example

AckdbObserveTraitCondition example
{
  "type": "trait",
  "traitKey": "hubspot_lifecycle_stage",
  "operator": "eq",
  "value": "string"
}