Creating the Module for Reuse

Last Updated : Dec 23, 2021 |
In this example we will create a module that combines the Test Condition and Test User Variable actions previously added directly to the auto-attendant module. The new module will contain a number of Module Return actions. When the module is used in another callflow, these appear as connection results in that callflow.
The following is an image of a completed call flow:
Prolog information
  1. Add a new Modules called OpenHours.
  2. Add a Test Condition action.
    1. Click Conditions Actions, click Test Condition.
    2. Click the Details pane to place the action.
    3. Open the Properties for the new Test Condition.
    4. In the Specific tab, click the list box, select the Attendant condition.
    5. Click OK.
  3. Add a Test User Variable action.
    1. Click Conditions Actions, select Test User Variable.
    2. Click the Details pane to place the action.
    3. Open the Properties for the new Test User Variable.
    4. In the Specific tab, from the This action will return TRUE if the following variable list box, select Reception.
    5. In matches the value below, type open.
    6. Click OK.
  4. Do the following to add three-module return actions.
    1. Click Basic Actions, click Module Return.
    2. Click the Details pane to place the action.
    3. Right-click the new Module Return, select Rename. The New action name window opens. Type Reception Open.
    4. Click OK.
    5. Add a Module Return and rename it Reception Closed.
    6. Add a Module Return and rename it Out of Hours.
  5. Do the following to add a connection.
    1. Click Connection.
    2. Connect the Test Condition action's True result to the Test User Variable action.
    3. Connect its False result to the Module Return named Out of Hours.
    4. Connect the Test User Variable action's true result to the Module Return named Reception Open.
    5. Connect the Test User Variable action's true result to the Module Return named Reception Open.
  6. Click the Save & Make Live icon.
Next steps
  • We can now add the module to our existing auto-attendant module. Go to .