# What-If Node

**Category:** IVR Designer
**URL:** https://www.simtex.com.au/support/kb/ivr-designer/features-nodes/what-if-node
**Published:** 2025-10-16

Allows you to **branch** your call flow **based on a condition**&mdash;like checking if the caller&rsquo;s number has &ldquo;VIP&rdquo; in its name, or if a custom rule is met.
![image-20250305-074530.png](https://www.simtex.com.au/uploads/image_20250305_074530_320f7cfd5e.png)
# Basic Usage

- 
**Drag** it onto the canvas after some other node (e.g., Menu).

- 
**Configure** the condition you want to check (like &ldquo;Is caller&rsquo;s phone number on a VIP list?&rdquo;).

- 
**Wire** the two (or more) possible outcomes: typically **match** or **no-match**.

# Detailed Parameters
1. **Node Name**![image-20251016-072148.png](https://www.simtex.com.au/uploads/image_20251016_072148_206e6296b8.png)**What:** A label to identify the logic used (e.g. &ldquo;Anonymous Calls Filter&rdquo;).

- 
**Parameter**
![image-20251016-072609.png](https://www.simtex.com.au/uploads/image_20251016_072609_5917af6d1b.png)

**What**: Select the item you wish to evaluate against.

- 
**Parameters:**

*Caller ID Number*: The &lsquo;calling&rsquo; number or CLID.

- 
*Called Number*: Number your caller has called to land in this IVR.

- 
*Caller ID Name*: This won&rsquo;t usually be set, can sometimes exist for internal calls.

- 
*Dial Status*: Used to detect advanced call states after calling a ring group or single number.**You will need set your `Operator` to `Equals` one of the following to match&hellip;

`CHANUNAVAIL` endpoint not registered, or offline, trunk down

- 
`CONGESTION` similar to above

- 
`NOANSWER` timeout when trying to call, ie rang for 15 seconds then no answer

- 
`BUSY` called device reported a busy, or DND is enabled

- 
`ANSWER` the called device answered, the IVR usually ends so this is not applicable here

- 
*Device State*: You can check to see if an endpoint or extension is on a call, or offline before attempting to call it.
You will need to set your Operator to Equals one of the following to match&hellip;

`NOT_INUSE`

- 
`INUSE`

- 
`BUSY`

- 
`RINGING`

- 
`ONHOLD`

- 
`UNAVAILABLE`

- 
`INVALID`

- 
Extension **(Device State Only)
![image-20251016-073709.png](https://www.simtex.com.au/uploads/image_20251016_073709_b5db25cc0c.png)

**What**: Select the extension you wish to report the device state for

- 
**Operator**
![image-20251016-073736.png](https://www.simtex.com.au/uploads/image_20251016_073736_0121beae9b.png)

**What**: Select the comparison operator output true or false (match, no match)

- 
**Is Anonymous**: Select this along with `Caller ID Number` *Parameter*.**

- 
Value**
![image-20251016-073911.png](https://www.simtex.com.au/uploads/image_20251016_073911_4fe7393855.png)

**What**: The actual number or text you are trying to evaluate

- 
**Tip**: Numbers will always be in e.164 format without the +, ie 61894883344 or 61411222111 

#  Example Use Case

- 
**VIP Routing**: If &ldquo;VIP&rdquo; is detected in the caller ID, route them to a special ring group or priority queue. Otherwise, go to standard flow.

## Related

- Article: https://www.simtex.com.au/support/kb/ivr-designer/features-nodes/what-if-node
- Category: https://www.simtex.com.au/support/kb/ivr-designer
- Knowledge Base: https://www.simtex.com.au/support/kb
- Full AI reference: https://www.simtex.com.au/llms-full.txt
