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""not_contains""in""is_null""is_not_null""in_last_days""more_than_days_ago""in_next_days"
valueone of

Scalar or array depending on the operator. Omitted for is_null/is_not_null. For in_last_days, more_than_days_ago and in_next_days, a positive integer day count on a date field, at most 36500 days.

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"
}