Loading
联系中心
为 WhatsApp 设置语音回复

为 WhatsApp 设置语音回复

当您的客服人员打开具有自适应响应格式的消息传递连接时,Agentforce 默认打开语音消息回复。使用此任务验证设置或关闭语音消息回复。

所需的 Edition

查看支持的版本。
复选标记 本文适用于: 增强 WhatsApp 渠道
X 图标 本文不适用于: 增强应用程序内聊天、增强 Web 聊天 v1、增强 Web 聊天 v2、增强 Facebook Messenger、标准和增强 SMS、增强 Apple Messages for Business、增强 LINE 和自带渠道
所需用户权限
要设置 WhatsApp 渠道: 配置消息传递和查看设置与配置
要创建 WhatsApp 渠道:

系统管理员和配置消息传递

或者

拥有配置消息传递、自定义应用程序、管理身份验证提供商、查看设置和配置,以及修改所有数据的权限

确认这些要求:

  • 设置 WhatsApp 消息传递渠道。
  • 连接 WhatsApp 公司帐户。
  • 确认消息传递和数字参与已打开。
  • 将MessagingSession.id映射到上下文变量名称RoutableId。
  • 在 Agentforce Builder 中创建客服人员不支持在原有生成器中创建的客服人员。
  • 请确认客服人员使用 Atlas 推理引擎。默认情况下,在 Agentforce Builder 中创建的客服人员使用 Atlas。
  • 测试客服人员是否回复 WhatsApp 上的短信。语音消息首先需要工作文本对话。

配置客服人员的消息传递连接,以控制语音消息回复。

备注
备注 无需单独的组织权限。
  1. 从应用程序启动程序中,输入客服人员,选择 Agentforce Studio,然后单击客服人员。
  2. 选择要配置的客服人员。
  3. 在资源管理器面板中,展开连接。
  4. 检查消息传递连接是否列在“连接”下。如果未列出消息传递连接,请单击 + 添加连接。
  5. 选择消息传递作为连接类型。
    选择消息传递作为连接类型
  6. 单击添加到客服人员。
  7. 打开自适应响应格式。
  8. 切换到脚本视图,并查找connection_messaging块。确认messaging_audio包含在response_actions和response_formats列表中。

    默认情况下,新消息传递连接包含messaging_audio。如果您在语音消息支持可用之前创建了连接,它可能丢失。如果是,请将messaging_audio添加到response_actions和response_formats。

    response_actions:
        messaging_audio: @response_formats.messaging_audio
    response_formats:
        messaging_audio:
            label: "Audio Response"
            description: "A response action that replies to the user with an audio note (voice
            message). Use this to send the response as spoken audio when the user communicated
            with an audio note."
            target: "system://MessagingAudio"

    在客服人员脚本中粘贴代码后,connection_messaging块如下所示。脚本视图中的 connection_messaging 块,在 response_actions 和 response_formats 中包含 messaging_ audio

    提示
    提示 要改为关闭语音留言回复,请从response_actions和response_formats中删除messaging_audio。客服人员仍会转录和处理传入语音消息,但会使用文本回复。

在response_actions和response_formats中包含messaging_audio后,客服人员会在 WhatsApp 用户发送语音消息时自动使用语音消息回复。

 
正在加载
Salesforce Help | Article