AskCaller (SMS Scripts)

要求 CXone SMS 联系人提供信息。例如,使用此操作可让联系人向您提供账号、姓名或其他有用信息。

Supported Script Types

The icon for the SMS script type - a smart phone with a chat bubble coming out of it.

短信

The Askcaller action can also be used in scripts with the digital or chat type.

Input Properties

这些属性定义操作在执行时使用的数据。

属性

说明

Caption

输入在脚本中唯一标识此操作的短语。标题显示在脚本画布上的操作图标下方。The default is the action name.

Message 执行此操作时发送到所选目标的文本。您可以使用此字段中的变量。
ResultVar 创建并保存返回信息的变量名称。例如,如果联系人将其帐号输入为 123456,则该变量保留 123456
TimeoutSec 操作在超时之前等待执行的秒数。该值必须介于 060 The contact has this amount of time to enter information into their chat window.

Result Branch Conditions

结果分支条件允许您在脚本中创建分支,以在执行操作时处理不同的结果。

条件

说明

Default 除了脚本满足条件要求其接受其他分支的情况之外,所要采用的路径。如果未定义操作的其他分支,也会执行此操作。
Timeout 在指定的秒数内没有响应时所采用的路径。
CallerResponded 联系人提供响应时采用的路径。
Error 操作无法正确执行时所采用的路径。例如,出现连接不良、语法错误等意外问题时。_ERR 变量以单个下划线字符填充,应包含对问题的简要解释。

Script Example

此示例并非完整的脚本。要使用此操作,需要额外的脚本编写工作。

In the following script, the AskCaller action requests an account number from the contact. If the contact provides an account number, they are passed on to an agent through the Reqagent action. If the contact does not respond, the interaction is looped back to the account number prompt. This occurs up to the number of times specified in the Loop action. Each loop sends a message explaining that the system did not receive a response from the contact. If no response is received after the specified number of loops, a different message is sent to inform the contact that no account number was received, then the interaction ends.

Example script that includes ASKCALLER SMS

Would you like to download this script?