# 收件箱设置：逐个标签页说明

每个收件箱都有自己的设置页面。打开 **Settings → Inboxes**，找到收件箱并点击它的设置图标。页面会打开在 **Settings** 标签页，旁边还有更多标签页；你能看到哪些取决于渠道。本页逐一说明。

![收件箱设置页面的标签页](../../.gitbook/assets/guides/inbox-settings-tab.jpg)

| 标签页 | 显示于 |
| --- | --- |
| **Settings**、**Collaborators**、**Business Hours**、**CSAT** | 所有收件箱 |
| **Pre Chat Form** | 网站在线聊天 |
| **Configuration** | Website、Email、API、SMS、LINE 和 WhatsApp API 收件箱 |
| **Bot Configuration** | 所有收件箱，账号启用了 agent bot 时 |
| **Templates**、**Account Health** | WhatsApp API（官方号码） |
| **Connection Status** | 通过二维码连接的 WhatsApp Business 应用 |
| **Comment Replies** | Facebook、TikTok 和 Instagram 主页 |
| **Utility Templates** | Facebook Messenger，启用了 Messenger blasting 的账号 |
| **Calls**、**Voice** | 开启通话的 WhatsApp API 号码，以及语音收件箱 |

如果渠道断开了连接，页面顶部会有一条横幅说明，并带有该渠道的 **Reconnect** 按钮。先处理它；收件箱重新连接后，下面的标签页才能正常使用。

## Settings

收件箱的基本设置，按渠道支持的内容分组。

* **Inbox Name** 和 **Channel Avatar**：收件箱在侧边栏中的显示方式，以及在支持的渠道上向客户显示的方式。
* **Webhook URL** 和 **Webhook Secret**（API 收件箱）：你自己的系统接收这个收件箱事件的地址，密钥旁有 **Copy** 和 **Reset**。
* **Enable channel greeting** 和 **Channel greeting message**：客户开始会话并发送第一条消息时自动发送问候语。
* **Website Domain**、**Widget Color** 和 **Set Reply time**（**In a few minutes**、**In a few hours**、**In a day**）：仅在线聊天。回复时间会显示在聊天组件上。
* **Help Center**：挂接你的某个帮助中心门户，让聊天组件可以推荐其中的文章。**Remove Help Center** 取消挂接。
* **Conversation Routing**：已有已解决会话的联系人再次发来消息时怎么处理。**Reopen same conversation** 延续之前的会话；**Create new conversations** 每次新建一个。
* **Sender name**（网站和邮件）：**Friendly** 把回复的客服姓名放在公司名前面；**Professional** 只用公司名。**Configure your business name** 设置这个名称。
* **Enable email collect box**（网站）：新会话开始时向访客索取邮箱。
* **Enable conversation continuity via email**（网站）：访客离开网站后，如果知道其邮箱，就通过邮件继续会话。付费套餐可用。
* **Allow messages after conversation resolved**：允许客户继续在已解决的会话里发消息，而不是被拦住。
* **Hide from All Conversations**：让这个收件箱不出现在 All Conversations、团队、标签和文件夹视图以及搜索中。改从侧边栏的 Channels 分组打开它。
* **Outbound only**：这个收件箱只用来发送；客户发来的消息在到达任何人之前就被丢弃。参见[只发送的收件箱](/settings/send-only-inboxes)。
* **Share history across inboxes**：这个收件箱里的会话是否显示客户在你其他收件箱中的消息。参见[跨渠道查看客户历史](/conversations/customer-history-across-channels)。
* **Widget features**（网站）：**Display file picker on the widget**、**Display emoji picker on the widget**、**Allow users to end conversation from the widget**、**Use inbox name and avatar for the bot**。

点击 **Update** 保存。页面底部，管理员可以 **Delete** 收件箱；需要输入收件箱名称确认，它的会话也会一起删除。

## Collaborators

谁在这个收件箱里工作，以及新会话如何分派。

* **Agents**：添加或移除能在这个收件箱里查看和回复的同事。
* **Teams**：授权整个团队访问；被授权团队的成员可以查看并处理其中的会话。
* **Conversation Assignment**：**Enable automatic conversation assignment** 把每个新会话交给收件箱的某位客服。默认规则是 **Earliest created conversations first** 和 **Round robin distribution**；**Auto assignment limit** 限制一位客服同时最多持有多少个来自这个收件箱的会话。**Customize with assignment policy**、**Link existing policy**、**Create new policy** 和 **View all policies** 把收件箱切换到一个策略，策略有自己的 **Assignment Order**（**Earliest created** 或 **Longest waiting**）和 **Assignment Method**（**Round robin** 或 **Balanced assignment**）。策略在 Business 套餐中提供。

![Collaborators 标签页](../../.gitbook/assets/guides/inbox-collaborators-tab.jpg)

参见[自动分配会话](/settings/automatic-conversation-assignment)。

## Business Hours

开启 **Enable business availability for this inbox**，在 **Select timezone** 选择时区，然后设置每周：为每一天勾选 **Enable availability for this day**，选择 **All-Day** 或具体时段。在这些时段之外，在线聊天组件会显示你的 **Unavailable message for visitors**，并仍可收集聊天前表单。点击 **Update business hours settings** 保存。其他"在营业时间内"生效的功能，例如开启了 **Trigger only during business hours** 的在线聊天 blasting，读取的也是这些时段。

![Business Hours 标签页](../../.gitbook/assets/guides/inbox-business-hours-tab.jpg)

## CSAT

开启 **Enable CSAT**，在会话解决时发送满意度调查。设置 **Display type**、**Message**、**Button text** 和 **Language**，并查看 **Message preview**。在 **Survey rule** 下，可以选择只在会话 **contains** 或 **does not contain** 你选定的任一标签时才发送调查。每个会话只发送一次。

在 WhatsApp API 收件箱上，调查以模板形式发出，因此需要 Meta 审核：标签页会显示 **Needs WhatsApp approval**、**Pending WhatsApp approval**、**Approved by WhatsApp** 或 **Meta rejected the template**。提交前点击 **Check utility fit**，看看 Meta 更可能把这条消息归为 **Likely Utility** 还是 **Likely Marketing**，并用 **Use this rewrite** 采用建议的措辞。之后修改调查文字会生成新模板并重新走一遍审核。结果显示在 **Reports → CSAT** 下；参见 [CSAT 与 SLA 报告](/reports/csat-and-sla-reports)。

![CSAT 标签页](../../.gitbook/assets/guides/inbox-csat-tab.jpg)

## Pre Chat Form

仅在线聊天。**Enable pre chat form** 在聊天开始前向访客收集信息。填写 **Pre chat message**，需要的话勾选 **Visitors should provide their name and email address before starting the chat**，并在字段表格里设计表单：每一行有 **Label**、**Placeholder**、**Key**、**Type** 和一个 **Required** 开关，你也可以把联系人属性加为字段。点击 **Update Pre Chat Form Settings** 保存。

## Configuration

这个标签页的内容取决于渠道。

* **Website**：要粘贴到网站里的 **Messenger Script**，**Allowed Domains**（只有你列出的网站可以嵌入聊天组件；组件在 iOS 或 Android 应用里运行时勾选 **Enable widget in mobile apps**），以及带 **Secret Key** 和 **Require identity validation for all conversations** 的 **Identity Validation**。开发者细节在开发者网站上，可通过 **View documentation** 打开。
* **API**：**Inbox Identifier**、你的系统推送消息的 **Inbound Webhook URL**、**Payload Format**，以及 **Enforce User Identity Validation**。请求格式见开发者网站。
* **Email**：把你的邮箱转发到的 **Forward to Email** 地址，然后是 **IMAP**（**Enable IMAP configuration for this inbox**、**Address**、**Port**、**Login**、**Password**、**Enable SSL**、**Authentication**）和 **SMTP**（**Enable SMTP configuration for this inbox**、**Address**、**Port**、**Login**、**Password**、**Domain**、**Encryption** 选 **SSL/TLS** 或 **STARTTLS**、**Authentication**）。SMTP 需要先设置好 IMAP。
* **SMS** 和 **LINE**：要粘贴到服务商控制台的回调 URL。
* **WhatsApp API**：收件箱的 **API Key** 及 **Update API Key**，通过 Meta 注册流程连接的号码会有 **WhatsApp Embedded Signup** 和 **Reconfigure**，**Switch to Manual Setup**（**Phone Number ID**、**Business Account ID**、**API Key**）可把号码改到你自己的 Meta 应用上运行，还有 **Webhook Verification Token**，以及从 Meta 拉取最新已审核模板的 **Sync Templates**。参见[连接 WhatsApp 收件箱](/settings/connecting-a-whatsapp-inbox)和[把现有 WhatsApp 号码迁移到 Mampu AI](/settings/migrating-an-existing-whatsapp-number)。

## Bot Configuration

**Select an agent bot** 把这个收件箱的首次回复交给用开发者 API 构建的机器人，然后 **Update**；**Disconnect bot** 移除它。Flow 智能体的连接方向相反，在智能体自己的收件箱列表里完成；参见[测试并连接智能体](/flow-agents/testing-and-connecting-an-agent)。

![Bot Configuration 标签页](../../.gitbook/assets/guides/inbox-bot-configuration-tab.jpg)

## Templates

仅 WhatsApp API。这个号码的消息模板及其类别和状态（**Approved**、**Pending**、**Rejected**，被拒时附 Meta 的原因）。**Create template** 打开编辑器，每一行有 **Edit template** 和 **Delete template**，**Sync** 从 Meta 刷新列表，**Manage in library** 打开账号级的模板库。参见[创建 WhatsApp 消息模板](/settings/creating-whatsapp-message-templates)和 [WhatsApp Templates 模板库](/settings/whatsapp-template-library)。

## Account Health

仅 WhatsApp API。**Manage your WhatsApp account** 显示 Meta 报告的号码状态：**Display phone number**、**Business name**、**Display name status**（**Approved**、**Pending Review**、**Available Without Review**、**Rejected**、**Declined**）、**Quality rating**、**Messaging limit tier**（从 **250 customers per 24h** 到 **Unlimited customers per 24h**）和 **Account mode**（**Sandbox** 或 **Live**）。当消息无法到达收件箱时，**Webhook Configuration** 会以 **Webhook not configured** 或 **Webhook URL mismatch** 提醒，**Register Webhook** 可以修复。**Go to Meta Business Manager** 打开 Meta 自己的设置。各等级和质量评级的含义见[普通 WhatsApp 与 WhatsApp Cloud](/platform/connect-to-social-media-channels/normal-whatsapp-vs-whatsapp-cloud)。

## Connection Status

仅通过二维码连接的 WhatsApp Business 应用。**WhatsApp Connection Status** 显示 **Connected** 或 **Disconnected**、**Phone Number**、**Connected Since** 和最近一次状态更新，**Refresh** 可重新检查。手机断开连接时，**Reconnect** 会生成新的二维码供扫描。**Re-link WhatsApp** 主动把号码登出并生成二维码，比如要把收件箱换到另一部手机；点击 **Sign out and generate QR** 确认。参见[连接 WhatsApp 收件箱](/settings/connecting-a-whatsapp-inbox)。

## Comment Replies 和 Utility Templates

**Comment Replies** 存放自动回复 Facebook、TikTok 或 Instagram 帖子评论的规则；参见 [Facebook 评论回复](/settings/facebook-comment-replies)和 [TikTok 评论回复](/settings/tiktok-comment-replies)。**Utility Templates** 存放 Facebook 主页用于 blasting 的已审核 Messenger 模板，仅在开启了 Messenger blasting 的账号上出现。

## Calls 和 Voice

* **Calls**（已开通通话的 WhatsApp API 号码）：**Enable WhatsApp Calling** 让客服直接在浏览器里用 **Business phone number** 拨打和接听 WhatsApp 电话；**Allow incoming calls** 决定客户能否打给你，**Call permission request message** 是联系人同意接听前看到的内容。
* **Voice**（语音收件箱）：**Enable Voice Calling** 需填写服务商凭证，另有 **Allow incoming calls**；关闭时来电会被拒接且不会创建会话，客服仍可拨出。

## 相关文章

* [收件箱与渠道](/settings/inboxes-and-channels)
* [自动分配会话](/settings/automatic-conversation-assignment)
* [只发送的收件箱](/settings/send-only-inboxes)
* [连接 WhatsApp 收件箱](/settings/connecting-a-whatsapp-inbox)
* [CSAT 与 SLA 报告](/reports/csat-and-sla-reports)

---
Source: https://help.mampuai.com/zh/settings/inbox-settings-tabs
