Variable and Math Input Elements

Branch on Number is type of input to apply "Comparison" (=,!,>,<,>=,<=) on two numbers, the number can either be a Variable or user input number.

There are following Steps to add Branch on Number:



+Branch on Number



All the variables you have created in IVR will auto load in a list in Branch on Number. You can select either from them.

i.e the variable named "variable0" is loaded here.

Branch on Number first value



These operators (=,!,>,<,>=,<=) are available to apply on first and second number.

Note:! refers to !=

Branch on Number operator



Select the second variable from the list of available variables.

Branch on Number second value

While selecting numbers you can also ask user to input a number for both first and second variables. ICR Call Flow allows you to select a variable or to ask the user to input it.

Branch on Number input numbers



To make a full IVR call flow by using Branch on Number input

You are to

  1. Create a variable by Set Variable input
  2. Apply number comparison by selecting variables and values
  3. Set the flow if comparison result is true
  4. Set the flow if comparison result is false
Branch on Number example

Say Variable is type of input to "Play" the value of a variable in audio format.

There are following Steps to add Say Variable Input:



+ say variable



All the variables you have created in IVR will auto load in a list in Say Variable. You can select either from them to play it.

i.e the variable named "variable0" is loaded here.

say variable select variable

While selecting variable you can also ask user to input a number and play it.

say variable input number



To make a full IVR call flow by using Say Variable input

You are to

  1. Create a variable by Set Variable input
  2. Select it to play by Say Variable input. The entire created variable will load in variable list in Say Variable input, you can select any 1 from them
say variable example

Set Variable is type of input to add a"New" variable.

There are following Steps to add Set Variable Input:



+ set variable



When you add a Set Variable input, a new variable with default name is added, but you can change its name if required. You have to press the set name icon and add the name you want and then re-press the same icon to save this name.

set variable variable name



You can set the new variable value equal to any other variable or can ask user to input a number as its value.

set variable variable value




To make a full IVR call flow by using Set Variable input

You are to

  1. Create a variable by Set Variable input by setting its name and value
set variable example

Branch on String is type of input to apply "Comparison" (=,contains,starts With,ends With) on two strings, the string can either be a Variable or user input string.

There are following Steps to add Branch on String:



+Branch on String



All the variables you have created in IVR will auto load in a list in Branch on String. You can select either from them.

i.e the variable named "variable0" is loaded here.

Branch on String first value



These operators ((=,contains,starts With,ends With) are available to apply on first and second string.

Note:

= refers to String 1= String 2
contains refers to String 2 exists anywhere in String 1
start with refers to String 1 starting with String 2
end with refers to String 1 ending with String 2

Branch on String operator



Select the second variable from the list of available variables.

Branch on String second value

While selecting strings you can also ask user to input a string for both first and second variables. ICR Call Flow allows you to select a variable or to ask the user to input it.

Branch on String input strings



To make a full IVR call flow by using Branch on String input

You are to

  1. Create a variable by Set Variable input
  2. Apply string comparison by selecting variables and values
  3. Set the flow if comparison result is true
  4. Set the flow if comparison result is false
Branch on String example

Increment By One is type of input to "Increment" a variable value by 1.

There are following Steps to add Increment By One Input:



+ increment  by one



You can select any variable from the list of available variables to add 1 in its value.

increment  by one select variable




To make a full IVR call flow by using Increment By One input

You are to

  1. Create a variable by Increment By One input by setting its name and value
  2. Select it for increment by Increment By One input. The entire created variable will load in variable list in Increment By One input, you can select any 1 from them
increment  by one example

Reserve Variable is type of input to "Save" the current value of a variable.

There are following Steps to add Reserve Variable Input:



+ reserve variable



You can select any variable from the list of available variables to save its value.

reserve variable  select variable




To make a full IVR call flow by using Reserve Variable input

You are to

  1. Create a variable by Reserve Variable input by setting its name and value
  2. Select it to reserve by Reserve Variable input. The entire created variable will load in variable list in Reserve Variable input, you can select any 1 from them
set variable example

Set Many Variables is type of input to "Assign" values to multiple variables together, these variables can be Reserve variables or normal variables created by Set Variable input.

There are following Steps to add Set Many Variables input:



+ set many variables


You can write value for a variable or can select any other variable to assign its value to selected variable. You can set values for as many variables as much you want by clicking + sign in Set Many Variables input.

set many variables write value




To make a full IVR call flow by using Set Many Variables input

You are to

  1. Create variables by using Set Variables input
  2. Add Set Many Variables input
  3. Select the variables from the list and assign value to each one
set many variables example

Call Properties is type of input to "Save" current call properties (ANI,DNIS,Start Time,Elapsed (S) ) to variables together, these variables can be Reserve variables or normal variables created by Set Variable input.

There are following Steps to add Call Properties input:



+ call properties


You can assign any property value for current call to any variable in the list, yet it is best practice to assign 1 property to 1 variable, because if you assign multiple values to a single variable it will override the variable old value and you can get only the last value. You can set values for as many variables as much you want by clicking + sign in Call Properties input.

Note:
ANI refers to the caller number.
DNIS refers to the IVR DID Number/phone number /customer service number that is pointed to the call flow.
Start time refers to the time when call was started.
Elapsed refers to the time how much time call was connected.

call properties select variable




To make a full IVR call flow by using Call Properties input

You are to

  1. Create variables by using Set Variables input
  2. Add Call Properties input
  3. Select the variables from the list and assign call property to each one
call properties example

Increment Variable is type of input to "Increment/Decrement" the value of a variable (created by Set Variable input) by a number or by the value stored in any variable.

Note:
Increment Variable will auto load its adjacent variable (created by Set Variable input) to apply Increment/Decrement on it.

There are following steps to add Increment Variable input:



+ increment variable



increment variable set increment decrement



increment variable set value




To make a full IVR call flow by using Increment Variable input

You are to

  1. Create a variable by Set Variable input to apply increment/Decrement on it
  2. Add Parse Increment Variable input and set its name
  3. Select Increment/Decrement
  4. Write the Increment/Decrement value or select a variable
increment variable example

String Length is type of input to get "Length" (In words,In Chars) of any string stored in a variable. The length value will be stored in a new variable which is name of this input.

There are following steps to add String Length input:



+ string length


String length input can get the length in two formats either in Words or in Characters. You can select any format from the two (Words, Chars).

string length select type


All the variables you have created in IVR will auto load in a list in String Length input. You can select either from them to get its length.

string length select variable




To make a full IVR call flow by using String Length input

You are to

  1. Create a variable by Set Variable input
  2. Add the String Length input
  3. Select length format
  4. Select the variable to get its length
string length example

Parse Date/Time is input to get date and time "Components" from the current time or from the variable storing date-time value.

There are following Steps to add Parse Date/Time input:



+ parse date time


In Parse Date/Time input there is 1 default variable which holds current date time, you can select this one or can select any other variable which is storing time to get date and time components.

parse date time select variable


There are following components you can get from date-time variable:

M/d/yyyy
d/M/yyyy
yyyy-MM-dd
h:mm am/pm
h:mm:ss am/pm
seconds
minutes
hours (24h)
day of month
day of week
month number
month name
year
AM or PM
Unix time
You can check more detail regarding date time components from here

parse date time select component




To make a full IVR call flow by using Parse Date/Time input

You are to

  1. Add Parse Date/Time input and set its name
  2. Select current time variable
  3. Select the date or time component you want to get from current time
parse date time example

Evaluate Math is type of input to "Process" mathematical functions on data and get the result.

There are following Steps to add Evaluate Math input:



+ evaluate math


The list of supported math functions can be seen by pressing ? icon in Evaluate Math input, the help regarding each function is also available there.

evaluate functions help

And you can write math function in the following way

evaluate write function




To make a full IVR call flow by using Evaluate Math input

You are to

  1. Add Evaluate Math input and set its name
  2. Write math function with their appropriate values to get the result
evaluate example

Branch on Yes/No is type of input to get user "Affirmation" regarding a statement in form of Yes or No.

There are following steps to add Branch on Yes/No input:



+ branch yes no


You are to select the variable or to write the statement to get user response in yes or no, the variable should also save a statement.

branch yes no selact variable




To make a full IVR call flow by using Branch on Yes or No input

You are to

  1. Add Branch on Yes or No
  2. Select the variable or write the statement
  3. Set the flow if user answer is “Yes”
  4. Set the flow if user answer is “No”
branch yes no example

Concatenate is type of input to "Combine" the variables and strings in one variable.

There are following steps to add Concatenate input:



+ concatenate



concatenate select variables




To make a full IVR call flow by using Concatenate input

You are to

  1. Create variables by Set Variable input to concatenate them
  2. Add Concatenate input and set its name
  3. Write string values or select variables
concatenate example

Substring is type of input to get "Part" of a string from beginning to end.

There are following steps to add Substring input:



+ substring


You are to select the variable or to write the string to get sub-string from it.

substring select variable


You can specify string characters/words from start and end to get a sub-string from the string.

substring select set characters words




To make a full IVR call flow by using Substring input

You are to

  1. Add a Variable and set its value
  2. Add Substring input and set its name
  3. Select the Variable
  4. Set the length of words/characters to get from start
  5. Set the length of words/characters to get from end
substring example