DTMF Response - Voice Node

Updated 

The DTMF Response - Voice node enables you to take input from the customer. This node is used when you want to take different paths/actions for different use cases in the voice bot. 

  • To take different actions based on different user inputs. For example - “Press 1 to know the status of your order. Or press 2 to talk to our customer care executive”. 

  • Gather fixed length information like 10-digit mobile numbers, etc., from the customer and store it in a variable to use it further in the bot like making external API calls, etc.

  • Gather variable length information like customer ID, order ID, etc., for example, "Please enter your customer ID followed by # key".

  • Gather Payment Card Industry Data Security Standard (PCI DSS) sensitive data from the customer like credit card number, CVV, PIN, OTP, etc.

  • Gather Personally identifiable information (PII) data from customers like social security number, date of birth, etc.

Note: Pre-requisite for configuring this node: Edit your Conversational AI application and slide the Enable Voice toggle to the right.

Here is an image of the sample configuration of this node.

Components

  1. Response Type: You have the option to define the response type as either DTMF, Speech, or both DTMF and Speech.

    Enablement note:

    The DTMF and Speech option is exclusively intended for utilization with Twilio. To learn more about getting this option enabled, please work with your Success Manager.

  2. Number of Input Digits: This field allows you to specify the desired number of digits that the bot should accept in a single input. In the example mentioned, the bot is configured to expect only 1 digit as input since the valid digits are limited to 1 and 2. In other example, if you need 10 digit mbile number, the value for this field will be 10.

  3. Valid Digits for Input Response: When ‘Number of Input Digits’ is 1, this picklist allows you to define the acceptable input digits for the bot to continue. For example, if the prompt instructs the user to "Press 1 for Returns or Press 2 for Complaint," the valid digits would include 1 and 2, while any other input would be considered invalid. if ‘Number of Input Digits’ has more than 1, this field will not come, in that case you need to define Process Variable field.

  4. Process Variable: When the "Number of Input Digits" is set to more than 1, this field becomes relevant. In this field, you provide name of the variable that will store the data entered by the user. This variable can then be utilized later in the bot for various purposes such as making external API calls, voicing out information, and more. For instance, you can gather the order ID from the user and fetch the order status from an external API using the stored variable.

    Collect the phone number for a callback and voice it out to the customer for confirmation.

    Note: Variable name must not start with any special characters(~,`,!,@,#.....) and numbers. Also there must not be any space in between the variable name.

  5. Speech Modal: If you choose the Speech or DTMF and Speech option, you can further specify the speech modal as Default, Numbers and commands, or Phone call.

    Default: This mode allows for general speech recognition, suitable for capturing a wide range of spoken responses.

    Numbers and Commands: In this mode, the system focuses on recognizing numeric values and specific command phrases, which can be useful for capturing digits or simple instructions.

    Phone Call: Selecting this mode optimizes the speech recognition for telephony-specific scenarios, enhancing accuracy for spoken responses typically encountered in phone conversations.

  6. Speech Variable: For Speech, you have the capability to include a variable to capture and store the collected value.

  7. Profanity Filter: You can activate this feature to automatically filter and remove offensive or inappropriate language from speech transcripts.

  8. Operator Says: Here you need to put the message which will be played to the user while asking for the input. For example - Press 1 for Sales, Press 2 for Service.

  9. Hints for English: You have the capability to enhance speech recognition accuracy by adding hints, including Alphanumeric Sequence, Alphabet Sequence, and Digit Sequence. Furthermore, you can supplement the recognition with custom words to cater to specific vocabulary or terminology.

  10. Sensitive Data checkbox:

    Pre-requisite for gathering PCI data in Sprinklr: The CDE (Cardholder Data Environment) server setup should be present in your environment. In order to enable PCI in your enviornment, raise a support ticket to tickets@sprinklr.com.

    This is designed to collect sensitive data from users. It is used when users are expected to enter personal or sensitive information such as credit card details or date of birth. There are two types of sensitive data that can be gathered:

    • PCI Sensitive Data - Enabling the PCI data checkbox ensures that the data entered by the caller is securely sent to a separate PCI secured environment (CDE). The encrypted data will be temporarily retained in the Redis cache for a limited time before being removed.

    • PII Data - When enabling this option, entered data will be masked everywhere on UI, so that agent or any user will not be able to see the data but the data will be stored at backend.

      Note: If the PII Process Variable will be voiced out then unencrypted data will be voiced out.

      What is PCI DSS?

      The Payment Card Industry Data Security Standard (PCI DSS) is a set of security standards by Visa, MasterCard, Discover Financial Services, JCB International and American Express. Governed by PCI SSC, the compliance scheme aims to secure credit and debit card transactions against data theft and fraud.

      PCI DSS certification

      PCI certification ensures the security of card data at your business through a set of requirements established by the PCI SSC. These include a number of commonly known best practices, such as:

      1. Installation of firewalls

      2. Encryption of data transmissions

      3. Use of anti-virus software

      4. In addition, businesses must restrict access to cardholder data and monitor access to network resources

      Common examples of PCI Data

      1. Complete Card Numbers (credit card, forex card, debit card)

      2. CVV

      3. Card Pin

      4. OTP

      5. Social Security (this is under PII data protection but should be masked for the agent)

  11. Wait for end of prompt to gather response: If this checkbox is enabled, the bot will only accept user input after the prompt has finished playing. Any key presses made before the prompt completion will be disregarded.

  12. DTMF Timeout: The value of DTMF timeout in seconds.

  13. Speech Timeout: The value of speech timeout in seconds.

  14. Add End Key: In scenarios where the number of digits in user input can vary, such as when entering an order ID, the "End Key" field allows you to define the key that signifies the end of user input. Rather than specifying the number of input digits, this approach enables the bot to capture the user's input until the specified end key is pressed. For example, "Kindly enter your order ID followied by # key".

  15. Number of times to play the message: In this field, you specify the number of times the prompt should be repeated if the user provides an invalid input or does not provide any input at all. For example, if you set it to 2, the language selection message will be played a total of 3 times (initial prompt + 2 retries) if the user enters an invalid input or remains silent.

    Note: If the number of retries exceeds the defined limit, the default path will be executed if it is enabled. However, if the default path is not enabled, the call will be disconnected.

  16. Add Default Path: If this is enabled, you include a default path in the bot configuration. If the user exceeds the retry limit, this default path will be executed. A separate leg is created through the node on selecting this checkbox to define the required path.

    Note: In the default path, you need to set the default language. If you do not select a default language, the first language in the list will be played by default. If the default path is not configured, the call will be disconnected after reaching the defined limit of retries.

  17. Timeout Message checkbox:

    • By enabling this, you can define a custom message to be played when the user does not provide any input within the set DTMF/Speech timeout duration. Upon checking this box, you can upload recorded prompts or enter your desired message in the "operator says" content box. For instance, you can add a message like "Sorry. I did not capture any input. Please try again."

  18. Invalid Input Message checkbox:

    Another condition that is possible is that the user gives an invalid input. In this case, you can enter a custom message to be played when user provides invalid input [works similar to the timeout message]. Upon checking this box, you can upload recorded prompts or enter your desired message in the "operator says" content box. For instance, you can add a message like "Sorry. This is an invalid input. Please try again."

  19. Next, you can add the bot reply nodes as needed.