> For the complete documentation index, see [llms.txt](https://help.sesami.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.sesami.co/zh-cn/zi-dong-hua/sesami-flows.md).

# Sesami 流程

Sesami Flows 是用于自定义通知、集成以及围绕预约的运营工作流的自动化层。

借助 Flows，您可以在客户预订旅程的任何阶段触发事件——在预约之前、期间或之后。

## 流程类型

| 类型          | 作用                  | 使用场景                    |
| ----------- | ------------------- | ----------------------- |
| **电子邮件**    | 发送自定义 HTML 或纯文本电子邮件 | 确认、提醒、致谢                |
| **Webhook** | 向外部平台发送数据           | Klaviyo、Slack、Zapier 集成 |

## 触发器

每个 Flow 都从以下预约事件之一开始：

| 触发器        | 何时触发         |
| ---------- | ------------ |
| **预约创建**   | 创建了新的预约      |
| **预约重新安排** | 预约被改到新的日期或时间 |
| **客户已签到**  | 客户已为其预约签到    |
| **预约开始**   | 已到达预约开始时间    |
| **预约已取消**  | 预约被取消        |
| **未到场**    | 预约被标记为未到场    |

## 时机

使用 **时间** 设置来选择 Flow 相对于其触发器运行的时间：

| 时机          | 何时运行                 | 示例                 |
| ----------- | -------------------- | ------------------ |
| **立即**      | 在触发事件发生后立即           | 预约确认 **预约创建**      |
| **之前 / 之后** | 事件发生前或后设定的分钟数、小时数或天数 | 提前 24 小时提醒，1 小时后致谢 |

## 流程创意

* **提醒** — 在预约前发送一封或多封电子邮件提醒
* **致谢 / 调查** — 在预约后发送跟进邮件，征求反馈
* **Klaviyo 集成** — 通过 Klaviyo 事件触发确认、提醒、取消等
* **多语言通知** — 使用条件按客户语言发送电子邮件
* **Slack 通知** — 当创建预约时，通过 webhook 通知您的团队
* **自动收取取消费用** — 通过 webhook 自动化在未到场时收取费用
* **自动在签到时收款** — 当客户为其预约签到时触发收款

## 方案限制

Flows 可用于所有付费方案：

| 方案  | 最大 Flow 数 |
| --- | --------- |
| 基础版 | 1         |
| 专业版 | 6         |
| 高级版 | 9         |

{% hint style="warning" %}
Flows 电子邮件 **不** 支持 `.ics` 附件（日历文件）。默认的 Sesami 通知会包含 `.ics` 附件。
{% endhint %}

## 相关

* [电子邮件和 Webhook 作为操作类型](https://help.sesami.co/zh-cn/zi-dong-hua/email-and-webhook-as-action-types.md) — 详细的 Flow 配置
* [Sesami Flows 和 Klaviyo](https://help.sesami.co/zh-cn/zi-dong-hua/sesami-flows-and-klaviyo.md) — 通过 Flows 与 Klaviyo 集成
* [Sesami Flows 和 Omnisend](https://help.sesami.co/zh-cn/zi-dong-hua/sesami-flows-and-omnisend.md) — 通过 Flows 与 Omnisend 集成
* [通知邮件](https://help.sesami.co/zh-cn/tong-zhi/notification-emails.md) — 默认的 Sesami 通知


---

# 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://help.sesami.co/zh-cn/zi-dong-hua/sesami-flows.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.
