AskCaller (SMS Scripts)

此帮助页面适用于 Desktop Studio。 此信息也适用于 Studio。

支持的脚本类型

" \"SMS"

短信

Askcaller 操作也可以在数字或聊天类型的脚本中使用。

输入属性

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

属性

说明

标题

输入在脚本中唯一标识此操作的短语。 标题显示在脚本画布上的操作图标下方。 默认值为操作名称。

消息 The text of the message you want to send. You can use a variablefor this field.
ResultVar The variable name that is created and holds returned information. For example, if the contact enters their account number as 123456, then the variable holds 123456.
TimeoutSec 该操作在超时之前等待执行的秒数。该值必须介于 0 和 60 之间。联系人在此限期内在聊天窗口中输入信息。

结果分支条件

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

条件

说明

默认 Path taken unless the script meets a condition that requires it to take one of the other branches. It is also taken if the action's other branches are not defined.
超时 Path taken if there is no response for the number of seconds specified.
CallerResponded Path taken if the contact provides a response.
错误 Path taken when the action fails to execute properly. For example, when there is an unexpected problem such as poor connectivity, syntax errors, and so on. The _ERR variable, with a single underscore character, should be populated with a condensed explanation of the problem.

脚本示例

这是一个示例,说明如何在脚本中使用此操作。 它并不是一个完整的脚本。 可能还需要编写其他脚本。

在以下脚本中,AskCaller 操作会向联系人请求账号。 如果联系人提供了账号,则会通过 Reqagent 操作将其转接给坐席。 如果联系人没有响应,交互将循环返回到账号提示。 这种循环将持续执行,直至达到 Loop 操作中指定的次数。 每次循环都会发送一条说明系统没有收到联系人回应的消息。 如果超过指定的循环次数仍无响应,则会发送一条不同的消息,通知联系人未收到账号,随后交互结束。

包含 ASKCALLER SMS 的示例脚本

您想下载这个脚本吗?