SENDSMSPAYLOAD

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

Icon of SMSSendv2: green speech bubble with a play arrow

对于使用ACD的digital channels,此操作管理 SMS 交互已处理的框架。 该框架称为文本中心,且每次交互都在该中心内的“房间”中进行。

SendSMSPayload 在单个操作中囊括了整个 SMS Messaging 交互。 这包括创建、管理和终止文本中心会话,以及在启用该功能时生成和保存转录。 您可以将 SendSMSPayload 放置在您希望其支持 SMS 交互的任何类型脚本中的任何位置。

您还可以在 SMS 或非 SMS 脚本中使用 SendSMSPayload,以在交互结束时向联系人发送一条消息。 例如,电话脚本中的OnRelease 操作可能会触发一个 SendSMSPayload 操作,该操作会向联系人发送交互后调查 URL。

支持的脚本类型

其中一条分支线通向其他三个正方形的正方形。

Icon of gray-green envelope

深绿色对话气泡图标

Icon of purple telephone handset

Icon of rust-colored voicemail symbol of two circles joined by a line

Icon of pink document with lines of text

绿色手机图标,屏幕上有一个语音气泡

通用

Email 聊天 电话 語音邮件 工作项目 短信

输入属性

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

属性

说明

添加说明文字

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

至号码

要接收 SMS 消息的电话号码。

发件号码

发送 SMS 消息的电话号码。 输入电话号码或从下拉列表中选择一个。

如果电话号码要求 E164 格式,请输入号码和加号( + )。 从下拉列表中选择数字不会添加所需的格式。 这是对欧洲和北美以外其他地区号码的要求。

消息

SMS 消息内容。

当事方类型

从下拉列表中选择一个相关方。

保存记录文本

布爾。 是否保存消息文本的转录。

结果分支条件

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

条件

说明

默认 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.

Error

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.

ErrorSMSMessageTooLong

当 SMS 消息的长度超过指定的字符数量时所采用的路径。

NeedsRetry

需要重试时所要采用的路径。

InvalidTransportCode

允许您为特定错误条件创建分支。

TimeoutWaitingForResponse

如果在指定的秒数内出现“无响应”情况,则采用的路径。