Lesson 12 – Designing User-Friendly Applications

Objectives

Lesson 12 briefly explains some additional features available in VoiceObjects for creating successful phone applications with respect to what is called a good Voice User Interface (VUI) design. These features improve the design of the application with respect to its usability and its hear and feel.

After completing this lesson you will know

·          roughly what is meant by Voice User Interface design,

·          what is meant by standard and custom navigation,

·          how to specify custom navigation,

·          what random prompting is and how it is specified.

Voice User Interface Design

While there are many important elements in a phone application, the Voice User Interface (the portion of the system that callers hear and speak to) has potentially the greatest impact on its ultimate success or failure. Callers will only use phone applications that both meet their needs and are easy to use. Voice User Interface design covers areas like the designing of the dialog flow logic, prompt design (i.e. the composing of the verbiage), audio design (i.e. the non-speech audio), and the persona presenting the prompts.

VoiceObjects provides several features, which help you to easily create well-designed applications. One has already been introduced in Lesson 7 with the event handling strategies, which specify how to proceed within a dialog in cases of exceptions. Another one is standard and custom navigation, which enables the caller to control the dialog flow.

Random Prompting, the playing of variations of a given prompt, is yet another technique provided for a good Voice User Interface design. It helps to make the dialog more lively.

For further information on Voice User Interface design refer to Appendix A – Voice User Interface Design in the Design Guide.

Standard and Custom Navigation

Standard and custom navigation commands enable the caller to control the dialog flow.

Standard navigation provides basic dialog flow navigation, like going back or forward in the dialog. The different types of navigation commands can only be defined in Module objects.

With custom navigation commands the Web concept of hyperlinks is available in voice applications. By using an application specific voice or DTMF command, the caller can, for example, jump back to the main menu, pause the application, or be transferred to a call center agent. These hyperlinks can be accessed throughout the application (through inheritance) or within defined sections of it. Custom navigation commands may or may not undergo a confirmation step, i.e. the Hyperlink object can be configured such that the caller either needs to confirm the activation of the hyperlink (e.g. Do you really want to leave the application?), or the target of the hyperlink is processed without confirmation.

For further details on standard and custom navigation refer to Navigation in the Object Reference.

In the case of the Life Insurance application custom navigation will be specified in order to skip several dialog steps and jump to an agent immediately.

Specifying Custom Navigation

Custom navigation can be defined in Module objects as well as in other objects expecting input from the caller. Hyperlinks defined in any Module object are inherited by the objects in the sequence of that Module object. So in order to enable the caller to jump to an agent from any point in the dialog flow the respective hyperlink needs to be defined in the Module object.

Open the Life Insurance Module object, switch to the Navigation tab and expand the Custom Navigation section.

 

Each custom navigation command consists of an embedded hyperlink definition, which is structurally simpler than the autonomous Hyperlink object.

To specify a hyperlink for the Life Insurance application, do the following:

1.     In the Hyperlink section, add the Simulate agent transfer Exit object to the Object field by browsing for it via the context menu. In case the Mode is being set to Process object (the default) the Object field specifies the object to be processed when the hyperlink command is activated by the caller.

2.     In the Continuation field, set continuation to Do not return since the caller is not going to return to the dialog after being transferred to an agent.

3.     In the Activation Grammar section enter agent in the text field as the command that activates the hyperlink.

The Custom Navigation section of the Life Insurance Module object looks like this now:



4.     Switch back to the Definition tab of the Life Insurance Module object.

5.     Expand the Welcome Message section and enter something like If you want to talk to an agent just say agent. in the text field (behind the linked Welcome Output object) to point the caller to this opportunity.

6.     On the toolbar of the Module editor, click Save and Close.

Dialog Flow 11

You have now added a hyperlink to the Life Insurance application, which allows the caller to interrupt the dialog flow and directly talk to an agent.

After redeploying your service in the Control Center, call it and test this behavior.

The following dialog flow shows an example dialog for the Prime Life Insurance service you have created so far:

Object – Caller

Dialog Flow

Welcome to the Prime Life Insurance service! If you want to talk to an agent just say agent.

To help me calculate …


Caller

Agent.

Hi! My name is Ray MacArthur. I understand you're interested in life insurance. How can I help you?
 [ Silence of 60 second ]
< Disconnect the call >

Random Prompting

Another valuable technique for good Voice User Interface design is called random prompting. Random prompting means the playing of variations of a given prompt in a randomized way, which means that when it comes time for the application to play a given prompt, there are multiple versions of that prompt for the system to select from. Each time the application needs to play that particular prompt, a different variant will be selected until all have been exhausted. By this the typical robotic character of a phone application is minimized.

Prompts can vary either in their wording or simply in the way they are spoken.

Random prompts can be achieved by simply providing multiple Output items with the same language layer, occurrence level, channel, custom layer (defined in the Layer field), and input mode setting.

For further details on random prompting refer to Output in the Object Reference and to Appendix A – Voice User Interface Design in the Design Guide.

In the case of the Life Insurance application random prompts will be specified for the Welcome Output object embedded in the Life Insurance Module object.

 

Specify random prompts

The Welcome Output object already contains three Output items differing in their time-dependent custom layer condition specified by the Time of day Layer object. To achieve random prompting we will next add two more Output items for the layer state morning with exactly the same layer settings than the one already defined.

1.     Open the Welcome Output object and add another Output item to the Output section.

2.     Link the Time of day Layer object into the Layer field of the new Output item, selecting the layer state morning as its value (see Lesson 9 – Using Layers).

3.     In the text field add a welcome message that differs from the one in the first Output item with layer state morning, e.g. Good morning, this is Prime Life Insurance.



4.     Add a third Output item with layer state morning again with a different welcoming prompt.



On the toolbar of the Output editor, click Save and Close.

Since all three Output items with the layer state morning have the same settings the system will now pick up one of these welcoming messages randomly when calling the Life Insurance application in the morning. True randomizing ensures that all available prompts are played before a repetition occurs.

As an exercise, you may also add random prompts for the layer states afternoon and evening.

After redeploying your service in the Control Center, call it and test this behavior.

What Comes Next

Next, and finally, you will add a Log object to the Life Insurance application to store dialog data into a file for analytic purposes.

Lesson 13 – Logging the Results