> For the complete documentation index, see [llms.txt](https://academy.shade.inc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://academy.shade.inc/guides/guides-zh/zi-dong-hua/gao-su-ke-hu-ta-men-de-wen-jian-yi-zhun-bei-jiu-xu.md).

# 告诉客户他们的文件已准备就绪

右键单击一个文件夹，输入客户邮箱，Shade 就会创建共享链接并替你发送。

**结果：** 当交付文件夹准备好时，右键单击它，选择 **运行自动化**，然后输入客户的电子邮件。Shade 会为该文件夹创建一个下载链接并通过电子邮件发送给客户。

**适用于：** 每周手动发送“您的文件已准备好”邮件的制作人和编辑。

**时间：** 大约 15 分钟。

## 开始之前

* 构建 [你的第一个自动化](/guides/guides-zh/zi-dong-hua/ni-de-di-yi-ge-zi-dong-hua.md) 如果你还没有使用过自动化编辑器，请先。
* 检查该工作区的链接共享是否已在 **设置 > 共享**。如果管理员已关闭 **启用链接共享**，Shade 就无法创建链接。

## 工作原理

```mermaid
flowchart LR
  T["文件夹上的手动触发器，要求客户电子邮件"] --> L["生成文件夹共享链接"]
  L --> E["通过链接发送电子邮件"]
```

手动触发器是这里的正确选择，因为“准备发送”是一个人做出的决定。如果你从上传或集合更改开始，客户会在每个文件上都收到一封电子邮件。

## 步骤

{% stepper %}
{% step %}

### 为文件夹创建手动自动化

创建一个名为 `将交付发送给客户`的新自动化。选择 **手动触发器**.

* **运行于：** **文件夹**.
* **表单字段：** 添加一个 **文本** 字段标签为 `客户电子邮件` 并将其标记为必填。可选地添加一个 **长文本** 字段标签为 `备注`.

每次有人运行自动化时，Shade 会询问这些表单字段。
{% endstep %}

{% step %}

### 创建共享链接

添加 **生成文件夹共享链接**:

* **路径：** 输入 `{` 并从触发器中选择所选文件夹的路径。
* **角色：** 下载角色，这样客户可以查看和下载，但不能编辑。
* **密码：** 可选。如果你设置了一个，请单独发送给客户，不要放在同一封邮件中。
  {% endstep %}

{% step %}

### 发送电子邮件

添加 **发送电子邮件**:

* **收件人：** 该 `客户电子邮件` 来自触发器的表单字段。
* **主题：** 例如 `您的文件已准备好：` 后面跟着触发器中的文件夹名称。
* **正文：** 一条包含共享链接 **URL** 的简短消息，以及前一步中的 `备注` 字段，如果你添加了的话。邮件正文支持基本 HTML，例如 `<p>`, `<a>`，以及 `<strong>`.
  {% endstep %}

{% step %}

### 保存并激活

点击 **保存**，然后 **启用**。手动自动化只有在激活后才会出现在菜单中。
{% endstep %}

{% step %}

### 运行它

右键单击交付文件夹，选择 **运行自动化**，然后选择 `将交付发送给客户`。第一次输入你自己的电子邮件，以准确查看客户将收到什么。
{% endstep %}
{% endstepper %}

{% hint style="info" %}
每次运行都会创建一个新链接。之后你可以在以下位置查看、编辑或禁用每个链接： **共享链接** 在驱动器侧边栏中，例如添加到期日期或查看限制。参见 [已发布链接](https://academy.shade.inc/sharing-and-collaboration/published-links).
{% endhint %}

## 变体

* **改为从状态更改触发它：** 使用 **资产已更新** 带有特定字段和值，例如 **状态** 更改为 **已批准**，使用 **生成共享链接** 和 **发送电子邮件**。这会为每个文件发送一封电子邮件，因此更适合单个交付物，而不是文件夹。
* **两阶段审批：** 当 **状态** 变为 **审核中**时，给内部审核人发送电子邮件。当它变为 **已批准**时，给客户发送电子邮件。这是两个自动化流程，每个由不同的值触发。
* **交付一个集合：** 若要发送精选内容而不是文件夹，请使用 **生成集合共享链接**。参见 [向客户交付最终文件](/guides/guides-zh/shen-he-he-ke-hu-jiao-fu/xiang-ke-hu-jiao-fu-zui-zhong-wen-jian.md).

## 相关文章

* [客户审阅流程](/guides/guides-zh/shen-he-he-ke-hu-jiao-fu/ke-hu-shen-yue-liu-cheng.md)
* [向客户交付最终文件](/guides/guides-zh/shen-he-he-ke-hu-jiao-fu/xiang-ke-hu-jiao-fu-zui-zhong-wen-jian.md)
* [你的第一个自动化](/guides/guides-zh/zi-dong-hua/ni-de-di-yi-ge-zi-dong-hua.md)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://academy.shade.inc/guides/guides-zh/zi-dong-hua/gao-su-ke-hu-ta-men-de-wen-jian-yi-zhun-bei-jiu-xu.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
