User Guide for Defining Chip Conditions

Introduction

This guide will help you understand how to define conditions for chips using a simple web interface. A condition consists of two parts: a left operand and a right operand, along with an operator that determines how these operands interact.

Components of a Condition

1. Operands

Operands can be:

You can switch between constant and variable operands by clicking on the folder icon in the interface.

2. Operators

Operators define the relationship between the operands. Here are the types of operators you can use:

3. Creating a Condition

To create a condition, follow these steps:

  1. Select Operands:
    • Choose your left operand (constant or variable).
    • Choose your right operand (constant or variable).
  2. Choose an Operator:
    • Select the appropriate operator from the list based on how you want the operands to interact.
  3. Using Variables in Constants:
    • You can include variables within constant operands. To do this, enclose the variable path in double parentheses (( )). For example, if you want to include a user attribute, you might write: User((UserName)).

Example

Let’s say you want to check if a message contains a specific keyword. You would:

This condition would evaluate to true if the message includes the word “Hello”.