Skip to main content

RuleConditionInput

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

input RuleConditionInput {
id: ID
operator: RuleConditionOperator!
param: RuleConditionParam!
sourceId: String
value: String
}

Fields

RuleConditionInput.id ● ID scalar common

The existing condition id.

RuleConditionInput.operator ● RuleConditionOperator! non-null enum common

The logic operator to use, for example IS.

RuleConditionInput.param ● RuleConditionParam! non-null enum common

The conversation field to filter by, for example STARRED.

RuleConditionInput.sourceId ● String 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]

RuleConditionInput.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

RuleCreateInput input ● RuleUpdateInput input