SilentChat

Configure conditions

Last updated: September 9, 2026

Conditions determine whether a workflow is executed. All conditions must be met (AND logic).

Condition Structure

Each condition consists of:

{
  "field": "message_content",
  "operator": "contains",
  "value": "billing"
}

Available Fields

Conversation Fields

FieldDescriptionExample Values
conversation_statusCurrent statusopen, assigned, closed
conversation_priorityCurrent prioritylow, normal, high, urgent
widget_idWidget ID"1", "5"
department_idDepartment ID"2", "3"
assigned_user_idAssigned agent"10", "" (empty = not assigned)

Message Fields (only for message.received)

FieldDescriptionExample Values
message_contentMessage textFree text
sender_typeSender typevisitor, agent, bot

Custom Fields

Additional fields can be checked via EventData (e.g., visitor metadata).

Operators

OperatorDescriptionExample
equalsExact match (case-insensitive)priority equals "high"
not_equalsNot equalstatus not_equals "closed"
containsContains substringmessage_content contains "help"
not_containsDoes not containmessage_content not_contains "spam"
starts_withStarts withmessage_content starts_with "Urgent:"
ends_withEnds with—
is_emptyField is emptyassigned_user_id is_empty
is_not_emptyField is not emptydepartment_id is_not_empty

Multiple Conditions

All conditions are linked with AND. If you need OR logic, create separate workflows with different conditions.

Example: "Message contains 'billing' AND priority is not 'urgent'"

[
  {"field": "message_content", "operator": "contains", "value": "billing"},
  {"field": "conversation_priority", "operator": "not_equals", "value": "urgent"}
]

No Conditions

If you do not define any conditions, the workflow will be executed every time the trigger event occurs.

Configure conditions — Help Center — SilentChat | SilentChat