# 客户

客户数据的流向取决于所使用的预订方式。

## Shopify 结账

当客户通过 Shopify 结账进行预订时，系统会自动创建 Shopify 订单和客户记录。这样您就可以完全使用 Shopify 的客户管理工具。

## Sesami 即时预订

使用 [Sesami 即时预订](/zh-cn/yu-yue/booking-features/instant-booking.md)时，客户会完全跳过 Shopify 结账，因此不会自动创建 Shopify 客户记录。

要使用 Sesami Instant Booking 捕获和管理客户数据，请使用 [Klaviyo 集成](/zh-cn/apps-integrations/klaviyo.md) 来跟踪预订事件并构建客户资料。

## 使用 Shopify Flow 自动为客户添加标签

对于通过 Shopify 结账的客户，您可以使用 Shopify Flow 自动为他们添加标签。这对于以下方面很有用：

* **细分** — 识别已预订的客户与未预订的客户
* **营销** — 在 Klaviyo 或其他工具中创建定向活动
* **报告** — 在 Shopify 中筛选并跟踪预订客户

### 如何设置

1. 前往 **Shopify > 应用 > Shopify Flow**
2. 创建新的工作流程
3. 设置 **触发条件** 为“订单已创建”
4. 添加一个 **条件** 以检查订单是否包含 Sesami 预订产品（例如，检查特定的产品标签或“Duration”行项目属性）
5. 添加一个 **操作** 以为客户添加标签（例如，“booked-appointment”）
6. **保存并激活** 该工作流程

{% hint style="info" %}
一旦客户被添加标签，您就可以在 Klaviyo、Shopify Email 或其他营销工具中使用这些标签来创建定向细分。
{% endhint %}

## Sesami 中的客户数据

Sesami 会存储正常运行所需的最少客户数据：

* 客户姓名
* 电子邮件地址
* 订单 ID

有关 Sesami 如何处理数据的更多信息，请参阅我们的 [隐私政策](https://sesami.co/privacy-policy).

## 相关

* [Klaviyo](/zh-cn/apps-integrations/klaviyo.md) — 根据预订数据发送定向电子邮件
* [Sesami 即时预订](/zh-cn/yu-yue/booking-features/instant-booking.md) — 无需 Shopify 结账的预订
* [订单](/zh-cn/apps-integrations/shopify/orders.md) — 预订在 Shopify 订单中的显示方式


---

# Agent Instructions: 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:

```
GET https://help.sesami.co/zh-cn/apps-integrations/shopify/customers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
