# 顧客

顧客データの流れは、どの予約方法が使用されるかによって異なります。

## Shopifyチェックアウト

顧客がShopifyのチェックアウトを通じて予約すると、Shopifyの注文と顧客レコードが自動的に作成されます。これにより、Shopifyの顧客管理ツールをフルに利用できます。

## Sesami インスタント予約

と [Sesami インスタント予約](/ja/yu-yue/booking-features/instant-booking.md)の場合、顧客はShopifyのチェックアウトを完全にスキップするため、Shopifyの顧客レコードは自動的に作成されません。

Sesami Instant Bookingで顧客データを収集・管理するには、 [Klaviyo連携](/ja/apps-integrations/klaviyo.md) を使用して予約イベントを追跡し、顧客プロフィールを作成してください。

## Shopify Flowで顧客に自動タグ付け

Shopifyのチェックアウトを通る顧客には、Shopify Flowを使って自動的にタグを付けることができます。これは次の用途に便利です：

* **セグメンテーション** — 予約済みの顧客と未予約の顧客を識別する
* **マーケティング** — Klaviyoやその他のツールでターゲットを絞ったキャンペーンを作成する
* **レポート** — Shopifyで予約顧客をフィルタリングして追跡する

### 設定方法

1. Shopify Adminで **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](/ja/apps-integrations/klaviyo.md) — 予約データに基づいてターゲットメールを送信する
* [Sesami インスタント予約](/ja/yu-yue/booking-features/instant-booking.md) — Shopifyチェックアウトなしでの予約
* [注文](/ja/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/ja/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.
