Receiving no user input notification
VoiceAI Connect can send an event message to the bot if there is no user input for a user-defined duration. The message indicates how many times the timeout expired ('value' field).
The event message is sent only if the sendEventsToBot
parameter is configured to noUserInput
(see Controlling events sent to bot).
To configure no user input settings, see No user input notifications and actions.
The syntax per bot framework of the noUserInput
event message is shown below:
This message is sent as a noUserInput
event. The number of times that the timeout expired is sent as the value of the event.
Example:
{ "type": "event", "name": "noUserInput", "value": 1 }
This message is sent as a noUserInput
event. The number of times that the timeout expired is sent as the value of the event.
Example:
{ "type": "event", "name": "noUserInput", "value": 1 }
This message is sent as a noUserInput
event. The number of times that the timeout expired is sent as the value of the event. See Receiving notifications from VoiceAI Connect.
This message is sent as a noUserInput
event. The number of times that the timeout expired is sent as the value of the event. See Receiving notifications from VoiceAI Connect.
Example:
{ "type": "event", "name": "noUserInput", "value": 1 }
This message is sent as a noUserInput
event. The number of times that the timeout expired is sent in the value
event parameter.
Example:
{ "queryInput": { "event": { "languageCode": "en-US", "name": "noUserInput", "parameters": { "value": 1 } } } }
For Dialogflow CX, the fields are also sent inside the event-noUserInput
session parameter, and can be accessed using a syntax such as this:
$session.params.event-noUserInput.value
This message is sent as a noUserInput
event. The number of times that the timeout expired is sent in the value
event parameter.
Example:
{ "queryInput": { "event": { "languageCode": "en-US", "name": "noUserInput", "parameters": { "value": 1 } } } }