Voice: Collect Input (deprecated)

Allows collecting user input as DTMF keystrokes within the flow. The input may be of fixed length (example, 6 digit pins) or variable length followed by a # stroke. The user input can be stored in a variable for further processing in the flow. DTMF encryption is supported.

Using this node in a voice flow
For example, accepting a credit card number in a voice call from the user input.

📘

The older version of voice nodes are deprecated. If you are using an older version and wish to switch to the newer version, contact Customer Support.

The options of collect input node are:

Node OptionsDescription
COLLECT INPUTCollect input options helps you configure the keys to collect information, store, and terminate character.
PLAY OPTIONSPlay options help you configure a voice file to the node.
TIMER SETTINGSTimer options help you configure the time-out upon which the control is passed to the selected node.
NODE EVENTSNode options help you configure the events that you want to trigger on this node.

COLLECT INPUT

The collect input screen allows you to collect user responses in a voice call.

658

Following are the options of collect input screen:

  • DTMF Encryption: Select this option to encrypt the DTMF selection.
  • Number of keys to collect: Enter the number of keys to collect from the user's response.
  • Termination Char: Enter the termination character after which the user's response is not recorded.
  • Store collected value in: Select a session variable from the drop-down to store the values.

PLAY OPTIONS

The play options screen allows you to configure a voice file to the node.

653

To configure the play options, follow these steps:

  1. Select Type from the drop-down.
  2. Click Settings icon. A popup screen is displayed with additional configuration options.
*   **Session Variables**: If you select **static variable**, the text box is enabled to enter the value.
*   **Offset (Secs)**: Enter the offset time in seconds after which the voice will start playing.
*   **Duration**: Enter the time in seconds. The voice file will be played for the specified duration.
*   **User Assets**: Select this option to select the language and voice file. 
*   **+**: Click **+** option to configure additional options.
  1. Click x to close the screen.
  2. Click + icon to add additional options.

TIMER SETTINGS

The timer settings screen allows you to configure the time-out upon which the control is passed to the selected node.

656
TypeDescription
callThis option helps you terminate the flow from this node after the specified time-out seconds. To enter the time in seconds, follow these steps:
1. Select call from the Type drop-down.
2. Select static variable from the Value (in secs) drop-down.
3. Enter the value in seconds.
4. Click + icon to add other fields.
menuThis option helps you terminate a menu after the specified time-out seconds. To enter time in seconds, follow these steps:

1. Select menu from the Type drop-down.
2. Select static variable from the Value (in secs) drop-down.
3. Enter the value in seconds.
dtmfThis option helps you terminate a dtmf after the specified time-out seconds. To enter time in seconds, follow these steps:

1. Select dtmf from the Type drop-down.
2. Select static variable from the Value (in secs) drop-down.
3. Enter the value in seconds.

NODE EVENTS

The node events screen allows you to configure the events that you want to trigger on this node.

653
Event NameDescription
onplaycompleteThis event is triggered when the voice is played completely.
ondtmfcompleteThis event is triggered when dtmf is completed.
onnoinputThis event is triggered when an input is not provided.

Properties / Params configuration

Properties

PropertyDescription
LabelThe name of the node represented as a string.
A node can be renamed by changing the contents of the Label field.

Params

ParameterDescription
Session DataThe Session Data shortcut leads to the Session Data / Custom Logs configuration.

Session Data can set one or more Session Params upon entering or leaving the node.

Custom Logs can record one or more Session Params upon entering or leaving the node. This is useful for debugging purposes.