Documentation

DocsAdvanced FeaturesBranch Conditions Reference

Branch Conditions Reference

Reference for all field scopes and operators available in branch and webhook response branch conditions.

Field Scopes

ScopeExample FieldDescription
contact.*contact.emailCore contact fields
contact.attributes.*contact.attributes.company_sizeCustom JSONB contact attributes
engagement.*engagement.openedEmail engagement signals (opened, clicked, replied)
webhook_response.statusCodewebhook_response.statusCodeHTTP status code from webhook response
webhook_response.body.*webhook_response.body.scoreDot-notation path into webhook JSON response

Operators

OperatorDescription
equalsExact string match
not_equalsNegated exact match
containsSubstring match
existsField is present and non-null
is_trueBoolean true (useful for engagement fields)
is_falseBoolean false
Contact Attribute Branch Example
{
  id: "n3",
  type: "branch",
  label: "Enterprise or SMB?",
  branches: [
    {
      condition: {
        field: "contact.attributes.company_size",
        operator: "equals",
        value: "enterprise"
      },
      nextNodeId: "n4_enterprise"
    }
  ],
  nextNodeId: "n4_smb"   // default path
}