ASKCALLER

Requests information from a chat contact. For example, use this action to have them provide you with an account number, their name, or any other useful information.

Supported Script Types

Chat

Properties

Message
The text to be communicated to the contact. For example, "Please enter your account number."
ResultVar
The variable name that will be created and hold the information provided by the contact. For example, if the contact enters their account number as '123456,' then the variable will hold '123456.'
TimeoutSec
The number of seconds the script will wait for the contact to enter information in their chat window.

Branches

Default
The branch the script will take if an outcome branch is not defined; i.e., no onTimeout or OnCallerResponded branch is set.
OnTimeout
The branch the script will take if a no response is provided to the request.
OnCallerResponded
The branch the script will take if the contact provides a response.
OnError
The branch the script will take if an error occurs.

Chat Script Example Using ASKCALLER

In this script, ASKCALLER requests the account number from the contact. If the contact provides the information, the script will request an agent (REQAGENT) to handle the chat. However, if the contact does not provide the information, a LOOP will occur three times with a text message each time notifying them that no response has been received. On the fourth no response, the LOOP will send a different text message and end the contact.

Would you like to download this script?