开始使用 Studio

This help page is for Desktop Studio.This information is also available for CXone Studio.

此页面为您提供了首次进行 Studio 时需要了解的信息。

新用户

对于新的 Studio 用户,以下列表是了解应用程序的建议方法。

  1. 下载、安装登录Studio
  2. 请阅读本帮助页面中有关使用 Studio 的介绍。
  3. 游览 Studio 界面。
  4. 阅读基础知识帮助页面。它提供了有关开始使用 Studio 页面上介绍的基本概念的更深入信息。
  5. 阅读脚本操作基础帮助页面,其中介绍了有关脚本和使用 Studio 中的操作编写脚本的基本概念。
  6. 按照教程创建您的第一个脚本。
  7. 请阅读脚本编写最佳实践页面。
  8. 浏览脚本指南部分。这些页面介绍了在 Studio 中编写脚本的各方面技术细节。其中包括变量、命令、格式化日期和时间、函数和自定义编码。

使用 Studio 进行脚本编写

Studio 具有一个图形界面,可以让您只需具备最低限度的脚本语言知识就能创建基本的脚本。

本节深入地介绍在 Studio 中编写脚本的基础知识。您也可以在 Studio 中按照本教程创建基本脚本。有关更深入的信息,请参阅联机帮助的脚本部分。

脚本媒体类型

Studio 中有不同的脚本类型。每种类型对应于 CXone 中的一种渠道关闭 联系人与坐席或机器人交互的一种方式。通道可以是语音、电子邮件、聊天、社交媒体等。。在创建新脚本时,必须选择正确的脚本类型。有些操作只适用于某些脚本类型。例如,ASR关闭 允许联系人通过说话、按手机按键或两者的结合来响应录制的语音提示。 操作与电话脚本一起工作。Studio 脚本类型有:

The icon for a Generic script type - a rectangle with < and > symbols inside it.

The icon for the Email script type - a large @ symbol in a diamond.

The icon for the Chat script type - a chat bubble with an ellipsis inside (...), in a diamond shape.

The icon for the Phone script type - an old-style phone handset with curved lines indicating sound coming out of it.

The icon for the Voicemail script type - a symbol that looks like a cassette tape - two circles sitting on a horizontal line.

The icon for the Work Item script type-a piece of paper with one corner folded down and a bullet list on it.

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

The icon for the Digital script type - a computer monitor with a smartphone next to it.

通用

电子邮件 聊天 电话 语音信箱 工作项目 短信 数字

操作

Studio 脚本的基本构建块称为操作。操作是向脚本添加特定功能的方式。Studio 中有数百种操作。联机帮助的“操作”部分包含大多数操作的主题。通过选择操作并按下键盘上的 F1,您可以直接从 Studio 访问某个操作的联机帮助。

您可以在操作基础知识页面了解更多关于操作和如何使用操作的信息。

分支

当一个操作有两种或两种以上可能的结果时,就会使用分支。它们将脚本划分为联系人可能遵循的路径,并帮助您创建组织所需的工作流。

连接器

连接器是链接操作和创建脚本流的方式。在画布上,连接器显示为细线,上面有连接两个操作的箭头。您可以折弯和弯曲连接器,以便在画布上的其他操作周围移动它们。

音频提示

音频提示是许多脚本的一个基本方面。这些是脚本播放的音频文件,用于向联系人提供信息或要求联系人做出选择或使用他们的手机输入信息。您可以在 Studio 中了解 有关提示的更多信息,包括使用文本到语音转换或录制自己的音频提示以便在脚本中使用。

代码片段脚本编写语言

Snippet 是一种适用于 Studio 中所有自定义脚本编写需求的内部脚本编写语言。自定义脚本不是必需脚本,但是可以帮助您微调脚本,以实现组织所需的工作流。如果您需要使用代码片段自定义脚本,可以了解一下自定义代码片段。有关在 Studio 中使用 Snippet 编写脚本的其他参考信息,请参阅在线帮助的脚本指南部分。

Studio 中的文件存储

需要的权限ACD > Studio > 文件浏览器 > 查看 ACD > 存储 > 浏览 ACD 文件 > 查看 创建、编辑或删除所需的附加权限

CXone 中,文件存储在您的 租户关闭 用于管理 CXone环境的技术支持、计费和全局设置的高级组织分组 环境中。这包括您的脚本文件以及脚本中使用的所有音乐和提示文件。您在脚本中使用的任何其他文件也必须位于您的 CXone 文件存储中。例如,ReadfileWritefile操作关闭 在 Studio 脚本中执行一个过程,如收集客户数据、播放消息或音乐或将联系人转接给坐席。从位于文件存储中的文件读取数据或者将数据写入到这些文件中。

您可以通过 CXoneStudio 访问所有这些文件:

测试和调试脚本

所需权限ACD > Studio > 脚本 >调试

在完成一个脚本之前,需要进行测试和调试:

  • Check for Syntax Errors: You can check your script for syntax errors.Anything found by this tool appears on the Script Errors tab in Studio.When you save a script, a syntax check automatically runs.Warnings indicate things that you should look at and consider fixing.Errors are critical issues that prevent the script from working.You won't be able to save your script until you correct all errors.
  • Test with Simulated Interactions: You can test scripts by simulating interactionssimulating interactions in Studio.This allows you to see how the script performs in action, as well as to diagnose problems that need to be fixed.You can run traces on simulated interactions, which gives you insights into what's happening within the script.
  • Trace Scripts: Tracing scriptsTracing scripts allows you to view what happens as a script runs.You can use it with live or simulated interactions.The Trace Output tool shows you the actions in a script and how the output changes as the script progresses.You can see the variables present in the script and the values they hold.You can also see the properties of an action, including how they're configured in the script you're tracing.
  • Debug Code and Check Syntax in Snippets: The Snippet editor window has two features that you can use to check the code you're working on.The Debugger window works like a mini-trace, allowing you to step through the code line by line.You can see each variable and the value it holds at that point in the code.