Operations (sample payloads)

Main operations
Copy

Boolean condition
Copy

A list of evaluations, each with two values and a comparison type to perform.

Sample Input

1
{
2
"conditions": [
3
{
4
"value1": "apple",
5
"comparison_type": "===",
6
"value2": "apple",
7
"is_case_sensitive": true
8
},
9
{
10
"value1": 10,
11
"comparison_type": ">",
12
"value2": 5
13
},
14
{
15
"value1": "hello",
16
"comparison_type": "starts with",
17
"value2": "he",
18
"is_case_sensitive": false
19
}
20
],
21
"strictness": "All"
22
}

Sample Output

1
{
2
"branch_name": "true"
3
}

Property exists
Copy

Check if a property exists (has been declared AND has a value).

Sample Input

1
{
2
"property": "$.user.email"
3
}

Sample Output

1
{
2
"branch_name": "true"
3
}