> For the complete documentation index, see [llms.txt](https://aican.gitbook.io/aican/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aican.gitbook.io/aican/aican-system/menu/settings/access-channels/website-chat.md).

# 网站对话

## 简介

「网站对话」用于建立网站客服对话入口，让访客可以从您的网站进入对话。

完成渠道建立后，您可以取得对话链接或接入代码，并针对不同网站渠道设置提示语、信息收集、访客留言、图标样式及对话窗口等内容。

***

## 页面内容

#### 渠道列表

用于取得网站对话链接。

<figure><img src="/files/Xp04whaovhG1ln7a4kNP" alt=""><figcaption></figcaption></figure>

您可以选择：

* 直接获取
* 客服链接设置

「客服链接设置」可以指定部门、客服人员、访客语言或自定义域名，并产生对应的专属对话链接。

#### 聊天设定

<figure><img src="/files/6fdoac8tSxXjT2dA6D5x" alt=""><figcaption></figcaption></figure>

用于调整网站对话的个性化设置。

包含：

* 提示语
* 信息收集
* 访客留言
* 图标样式
* 对话窗口
* 常见问题
* 对话控制
* 聊天机器人

***

## 操作说明

### 建立网站对话渠道

{% stepper %}
{% step %}

#### **步骤一：进入网站对话**

进入 AICAN Pro 后台 > 设置 > 渠道列表 > 网站对话。

系统建立团队时，会自动建立一个名为「**系统预设**」的网站对话渠道。若无需新增渠道，可直接前往步骤三取得对话链接。
{% endstep %}

{% step %}

#### **步骤二：新增对话渠道**

如需建立其他网站对话渠道，点击【新增对话渠道】，填写渠道信息后完成建立。

<figure><img src="/files/8NqJGtwntqcIOHKUBBoA" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### **步骤三：取得对话链接**

进入渠道的「渠道接入」，依需求选择对应的方式。

**直接获取**

系统会依照分配规则，将访客自动分配给目前在线的客服。

<figure><img src="/files/V984Vj6QrI74QKbMUXZZ" alt=""><figcaption></figcaption></figure>

**客服链接设置**

设置部门、客服人员、访客语言或自定义域名后，系统会产生对应的专属对话链接。

<figure><img src="/files/onhgFNI3qdSxq6q0br06" alt=""><figcaption></figcaption></figure>

完成设置后，复制对话链接或接入代码，并配置至您的网站。
{% endstep %}
{% endstepper %}

***

### 聊天设定

进入渠道的个性化设置页面后，可以针对该网站渠道调整以下内容。

<figure><img src="/files/gO0MBbgIo1DomPFyMVox" alt=""><figcaption></figcaption></figure>

***

#### 提示语

<figure><img src="/files/r4guiUDyn1nJmi2PCp1k" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/IhQ77QEoDJdORUSjWpkM" alt=""><figcaption></figcaption></figure>

设置访客咨询过程中不同阶段显示的提示消息，包含：

* 开场提示
* 欢迎语
* 结束提示
* 客服忙碌提示
* 访客超时提示
* 自动结束提示

***

#### 信息收集

<figure><img src="/files/rbiVjIGBbD8zc4kmS6pQ" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/7lzZmOImLmlkqiTR0I77" alt=""><figcaption></figcaption></figure>

设置访客进入对话前需要填写的信息，并将收集到的资料显示在客服页面。

{% hint style="warning" %}

#### 提醒

开启自动同步后，访客再次填写信息时，将覆盖原有资料。
{% endhint %}

***

#### 访客留言

<figure><img src="/files/6vAUxKrenwdVKdkLgjm0" alt=""><figcaption></figcaption></figure>

当客服离线或无法接待时，可以让访客留下联系方式、问题内容及其他资料，方便后续联系与处理。

您可以设置：

* 留言提示语
* 留言信息
* 问题分类
* 上传图片
* 验证码

***

#### 图标样式

<figure><img src="/files/2AGk3jOB3B7O8lA5WSWb" alt=""><figcaption></figcaption></figure>

设置网站上的客服图标外观。

您可以分别调整 PC 与移动端的：

* 图标样式
* 图标颜色
* 图标位置
* 距离页面边缘的位置

{% hint style="warning" %}

#### 提醒

使用**接入代码**前，<mark style="color:red;">请先至</mark> <mark style="color:red;"></mark><mark style="color:red;">**设置 → 信任网站**</mark> <mark style="color:red;"></mark><mark style="color:red;">新增允许使用的网域</mark>，否则网站将不会显示客服图标。
{% endhint %}

***

#### 对话窗口

<figure><img src="/files/v4oVdr7lHkuDuA87YB66" alt=""><figcaption></figcaption></figure>

设置访客看到的聊天窗口画面。

您可以分别针对 PC、移动端及接入代码页面设置：

* 主题颜色
* 网站标题
* 上方横幅内容
* 左侧或右侧边栏

设置完成后，可以通过右侧预览查看显示效果。

***

#### 常见问题

设置访客在聊天窗口中可以查看的常见问题及对应回答。

<figure><img src="/files/Z2sthwBXmM4PIFYTLuXS" alt=""><figcaption></figcaption></figure>

访客点击问题后，系统会自动发送对应答案。

<figure><img src="/files/bEfZGclyHe3zsaxSmaWC" alt=""><figcaption></figcaption></figure>

***

#### **导入与导出**

用于批量管理常见问题内容，提高新增与维护效率。

<figure><img src="/files/KviZ64JsVRd2ML8urZgs" alt=""><figcaption></figcaption></figure>

点击「导入」后，可先下载 Excel 模板，依照模板格式填写或修改常见问题内容，再上传 XLSX 文件完成批量导入。

点击「导出」后，系统会立即将目前的常见问题资料导出为 Excel 文件，方便备份、编辑或大量调整后再次导入。

{% hint style="info" %}

#### **提醒**

* 导入前请先下载系统提供的模板，并依模板格式填写资料。
* 仅支持上传 **XLSX** 格式文件。
* 若导入的**问题名称**相同，系统将以新资料覆盖原有内容。
* 问题名称、回复内容不得为空，排序须为 **1** 以上的数字。
  {% endhint %}

***

#### 对话控制

设置该渠道可以使用的对话功能及规则，例如图片、影片、文件等消息类型。

<figure><img src="/files/bSNwgxO1QHwLA88JM22r" alt=""><figcaption></figcaption></figure>

***

#### 聊天机器人

可设置聊天机器人于真人客服接手前自动接待访客，并依据问答资料库回复常见问题。

同时可自定义机器人头像、名称、欢迎语、未匹配回复、自动结束对话、自动转接真人客服及转真人客服按钮等功能，提升接待效率并减少客服负担。

<figure><img src="/files/Ua2f77o6zGU760tFEQ34" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}

#### 提醒

使用聊天机器人前，请先在「问答资料库」中新增一个问答，否则机器人将无法保存并启用。
{% endhint %}

***

#### 下一步

完成网站对话设置后，即可前往「渠道列表－第三方渠道聊天设定」，管理第三方渠道的聊天设置。

***


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://aican.gitbook.io/aican/aican-system/menu/settings/access-channels/website-chat.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
