Skip to main content

ConditionInput

Input type for a folder condition, which defines the logic for filtering conversations.

input ConditionInput {
id: ID
operator: ConditionOperator!
param: ConditionParam!
sourceId: ID
value: String
}

Fields

ConditionInput.id ● ID scalar common

The existing condition id.

ConditionInput.operator ● ConditionOperator! non-null enum common

The logic operator to use, for example EQ.

ConditionInput.param ● ConditionParam! non-null enum common

The conversation field to filter by, for example STARRED.

ConditionInput.sourceId ● ID scalar common

The id of the source that should be linked to this condition. Only require when the param is CUSTOM_FIELD. Note the only source types currently supported is [Crm::CustomField]

ConditionInput.value ● String scalar common

The value to match against, for example true. Required for most operators except for operators like IS_NULL where no value is needed.

Member of

FolderCreateInput input ● FolderUpdateInput input