If calls satisfy the setup conditions in this section, they will be forwarded to the specified destination.You can create more than one condition for a branch. Finish one and create another.To set up, please follow the steps below:
Step 1: Select [Set Condition] > Save:
![](https://dynacloud.asia/wp-content/uploads/2021/11/Set-Condition-1024x458.png)
![](https://dynacloud.asia/wp-content/uploads/2021/11/Set-Condition1-1024x761.png)
Step 2: Click [Next Step(s)] to configure:
![](https://dynacloud.asia/wp-content/uploads/2021/11/Set-Condition2.png)
Step 3: Configure:
Process order:
Give your condition a process order.
- The lower value will be processed first.
- For example: if you have 3 conditions A, B, C with the value from 1 to 3, the order to process is A > B > C.
![](https://dynacloud.asia/wp-content/uploads/2021/11/Set-Condition3.png)
Condition Types:
- Match Pattern: caller’s number matches a predefined pattern.
- In Date Range: Any call made within this time range will meet this condition.
- In Time Range: Calls within the set date range will satisfy this condition.
- Upload Numbers: calls from numbers existing in the uploaded number list will satisfy the condition.
- Validate Expression: this condition will be based on the previous blocks’ data or the customer’s integrated system (e.g, Webhook).
- Otherwise: go to this block if the call does not match with any condition above.
![](https://dynacloud.asia/wp-content/uploads/2021/11/Set-Condition4.png)
Callers whose numbers match a predefined pattern will satisfy this condition.
**IMPORTANT NOTE: Country code will also be counted. For example, the length of Singapore number is 10 (+65 9876 5432)
![](https://dynacloud.asia/wp-content/uploads/2021/11/Set-Condition5.png)
Calls within this time range will satisfy this condition.
Calls from the uploaded number list will satisfy this condition.
Data that matches the Expression Template will satisfy this condition.
Format:
- Equal: {{$.variablename}}===’data’
- More than: {{$.variablename}}
>
‘data’ - Less than: {{$.variablename}}
<
‘data’ - More than and equal to: {{$.variablename}}
>=
‘data’ - Less than and equal to: {{$.variablename}}
<=
‘data’
*Variablename must be predefined in Advanced Settings at the previous steps.
NOTE: To avoid conflicts between conditions, please contact us for more instruction if you want to use <=, >= for each specific case.
Example:
Auto Attendant is integrated into Webhook. When a call comes in > Auto Attendant posts data to Webhook endpoint > Webhook responses to Auto Attendant > If it matches the expression, go to the next block settings.
![](https://dynacloud.asia/wp-content/uploads/2021/11/Set-Condition9.png)
**Click HERE for Webhook instructions.
Demonstration:
![](https://dynacloud.asia/wp-content/uploads/2021/11/Set-Condition11.gif)