Skip to main content
Skip table of contents

10 - Get a Client ID

Previous tutorial 9 - Configure the Goodbye Message

In this tutorial, you can learn how to create a miniApp that confirms the caller’s client ID. For this purpose, we can create a Numeric miniApp. This can be used later to create more complex requests like getting the current exchange rates for US Dollar, announcing them to the caller, and asking if the caller needs more information before ending the call.

To achieve this the following steps must be taken, that are also explained in detail later:

  1. Create a Numeric miniApp

  2. Configure Welcome Prompts

  3. Configure Validations

  4. Configure Confirmations

  5. Configure Hold Functionality

Create a Numeric miniApp

  1. Open miniAppsManage menu.

  2. Click the +Create button.

  3. Select the Numeric miniApp type from the list and fill in the rest information accordingly. For example, name this miniApp GS_Ask_ClientID.

  4. Click the Create button to save the miniApp.

Configure Welcome Prompts

  1. Go to Welcome Prompts tab.

  2. Delete the default Welcome prompt. It is not required since we have an Intent miniApp GS_Intent that we will use to welcome the user in our application later.

  3. Edit the Initial prompts.

    • Prompt 1: “Please tell me your client ID.”

    • Prompt 2: “I need you to tell me your 7 digit client ID.”

  4. Click Save Changes.

The miniApp is ready to be used, however we need to validate user’s input.

Configure Validations

The validation we require for client ID has specific digits entry since in our case client IDs have 7 digits. To create a validation for this case follow the steps:

  1. Go to the Validations tab.

  2. Turn any default validation types Toggle button off.

  3. Turn the Max Length validation Toggle button on.

    1. Set Max Num Length to 7.

    2. Edit Prompt1: “You entered more digits than the acceptable threshold. Please tell me your client ID.”

    3. Delete all other prompts.

  4. Turn the Min Length validation Toggle button on.

    1. Set Min Num Length to 7.

    2. Edit Prompt1: “You entered less digits than the acceptable threshold. Please tell me your client ID.”

    3. Delete all other prompts.

  5. Click Save Changes.

Configure Confirmations

Confirmations are needed to ensure that the caller has provided the correct data and the app understood them correctly as well. When enabled they are triggered to repeat the input of the caller. It is recommended when asking for caller’s identification information like the client ID in this case.

  1. Go to the Confirmations tab.

  2. Turn the Confirmation Toggle button on.

  3. Set Trigger Confirmation. Select Always for our example. Select a confidence level if you want to avoid confirmation all the time.

  4. You can optionally edit the below. For more information read Confirmations Tab section for non-Intent miniApps:

    • Toggle Slow Confirmation.

    • Add a DTMF confirmation key.

    • Edit Nice Reactions.

    • Edit Confirmation prompts.

  5. Click Save Changes.

Configure Hold Functionality

Hold functionality is used in case the caller remains silent after the miniApp’s question or needs more time to provide necessary information. It gives the opportunity to wait or hold the call.

  1. Go to the Hold Functionality tab.

  2. Turn the Hold Toggle button on .

The Numeric app has been created and is ready to be used or combined with other miniApps.

Next tutorial 11 - Create a Web Service miniApp

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.