Series: Architect tutorial for advanced users

Advanced lesson: Obtain the caller’s phone number


You can create a menu that confirms the caller’s phone number, and allows the caller to enter a different number if necessary.

Note: In this lesson, you learn about building audio sequences, creating reusable menus, and using task actions to collect input or update data from the caller. You also incorporate a transfer action into a task.

For more information about obtaining details from a phone number, see About the phone number data type.

Objectives:

Create a menu and build an audio sequence that automatically collects the caller’s phone number, reads the number back to the caller for confirmation, and gives the caller the option of entering a different phone number.

Estimated time to complete: 15 minutes

Prerequisites

  • Review Work with tasks.
  • Create a practice flow that includes a main menu.
  • Ensure that your organization has at least one configured queue in which to transfer a call. For more information on creating queues, see Queue administration or the Suggested content.

Additional resources



Updated image coming soon

Confirm Phone Number task

ConfirmPhone

Re-Enter Phone Number task

ReEnterPhoneNumber

Tasks


  1. Open the practice flow.
  2. From the Toolbox, expand the Menu category and drag a Menu action to the Reusable Menus area.
  3. Name the menu Get Phone Number and set up the audio sequence:
    1. In the Menu Prompt area, click the Edit Audio Sequence button. The Edit Audio Sequence button opens.
    2. In the Text to Speech box, type I see that you are calling from.
    3. Click the Add Data button and in the Data list select the Call.Ani variable.
    4. In the Select Options list that appears, select As phone number.
    5. Click the Add TTS button and in the Text to Speech box, type If this is the number listed on your account please say “yes” or press one to confirm, otherwise say “no” or press two to enter the correct number.
    6. Click Close.


  1. From the Toolbox, expand the Task category and drag a Task action into the Get Phone Number reusable menu.
  2. Name the task Confirm Phone and complete the following steps:
    1. Select a DTMF of 1.
    2. Add Yes as a speech recognition term.
    3. Click Edit Task.


  1. In the task editor’s Toolbox, expand the Data menu and drag an Update Data action into the task editor, just below the Start box.
  2. In the Update Data design area, complete the following steps:
    1. Name the action Get Phone Number.
    2. Click Add update statement and from the menu that appears, select String.
    3. In the Variable Name box, type Flow.PhoneNumber.
    4. In the Value To Assign box, type Call.Ani.
  3. From the Toolbox, expand the Task category and drag a Jump to Menu below the Get Phone Number action. 
  4. In the Name box, type Jump to Main Menu.
  5. In the Menu list, select Main Menu.
  6. Click Return to Overview.


Practice tasks



  1. Drag a Task action into the Get Phone Number reusable menu.
  2. Name the task Reenter Phone Number and do the following:
    1. Set the DTMF to 2.
    2. Add No as a speech recognition term.
    3. Edit the task.


  1. Drag a Collect Input action into the task editor, just below the Start box.
  2. In the Collect Input design area, name the action Enter Phone Number and complete the following steps:
    1. Add the following TTS as input audio: Please enter the ten-digit phone number associated with your account.
    2. Add Flow.PhoneNumber as the input data name box.
    3. Ensure that the number of digits is set to exactly 10.
    4. Leave the remaining settings unchanged.
  3. Drag a Jump to Menu below the Enter Phone Number action’s Success path, call the action Jump to Main Menu, and choose to jump to the Main Menu.
  4. Expand the Transfer category, drag a Transfer to ACD action into the Enter Phone Number’s Failure path, and complete the following steps:
    1. Name the action Transfer to Customer Service.
    2. Add the following TTS as pre-transfer audio: Let me transfer you to a team member.
    3. Select a pre-configured queue, such as Customer Service.
    4. Leave the remaining settings unchanged.
  5. Drag a Disconnect action into the bottom of the task sequence.
  6. Click Return to Overview, and then validate and save the flow.


 


:Previous Suggested Article Next Suggested Article: Advanced lesson: Perform a bulk prompt import