> For the complete documentation index, see [llms.txt](https://chatlyst.gitbook.io/chatlyst-user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chatlyst.gitbook.io/chatlyst-user-guide/zh/settings-zh/customer-attributes-zh.md).

# 客戶自定義屬性

### 新增自定義屬性

{% hint style="warning" %}
**語言要求：**&#x81EA;定義屬性設定不支援翻譯。**屬性鍵值**與**說明**必須以**英文輸入**。
{% endhint %}

{% stepper %}
{% step %}
選取 **+ 新增自定義屬性**。

<div data-with-frame="true"><figure><img src="/files/9GspyGBMxuJyKCXiNZw3" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Chatlyst 會開啟「預先定義自定義屬性」視窗。

<div data-with-frame="true"><figure><img src="/files/9YDiyvkoZKFj8P0TIOG6" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
輸入屬性的 **顯示名稱**。**屬性鍵值** 會在您輸入時自動產生。

* 屬性鍵值僅支援小寫英數字元、底線與連字號。鍵值一律以小寫儲存。

{% hint style="info" %}
建議使用自動產生的屬性鍵值。請勿手動輸入鍵值，因為系統產生的鍵值更具一致性且較不容易出錯。
{% endhint %}

<div data-with-frame="true"><figure><img src="/files/9urUem4g1XTS4QeGZlRk" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
選取 **資料類型**：**字串 (文字)** 或 **數字**。

{% hint style="info" %}
**資料類型行為**

* **字串 (文字)**：將此類型用於以文字為主的數值。
* **數字**：將此類型用於數字值。
* 所選的資料類型將控制後續篩選該屬性的方式。如需詳細資訊，請參閱 [進階篩選](/chatlyst-user-guide/zh/customers-zh/customer-list-zh.md#filters-jin-jie-shai-xuan)。
  {% endhint %}

<div data-with-frame="true"><figure><img src="/files/pUDMDSdMIyTVDq18rPYW" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
輸入該屬性的 **說明**。

{% hint style="info" %}
Chatlyst 會使用此說明從客戶對話中自動擷取相關資訊，並將其彙整為屬性值。如果對於應如何解讀此屬性有任何限制或條件，請將其加在說明結尾的中括號 **\[a, b and c]** 內，以確保擷取資料的準確性。

![](/files/DPnVTGEqa6vvvX1qFRYv)
{% endhint %}

<div data-with-frame="true"><figure><img src="/files/MS34lFvTx8pVRgeB6u4l" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
選取 **建立自定義屬性** 以儲存，或選取 **取消** 以捨棄。

<div data-with-frame="true"><figure><img src="/files/3XghsIVO0sgPrgilTosf" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}
{% endstepper %}

***

### 屬性管理

#### 編輯自定義屬性 <a href="#edit-custom-attributes" id="edit-custom-attributes"></a>

{% stepper %}
{% step %}
從清單中選取該屬性，然後選取您要編輯的屬性旁邊的**鉛筆圖示**。

<div data-with-frame="true"><figure><img src="/files/SA1NltgsYy8NWTbpt26N" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Chatlyst 會開啟「編輯自定義屬性」視窗。視需要更新 **顯示名稱** 與 **說明**。

<div data-with-frame="true"><figure><img src="/files/tMtvGIxrsLD4XfTAhUp1" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
選取 **儲存變更** 以套用更新，或選取 **取消** 以捨棄。

<div data-with-frame="true"><figure><img src="/files/ozYXHRNc52R5F99APieX" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}
{% endstepper %}

### 移除自定義訂屬性 <a href="#remove-custom-attributes" id="remove-custom-attributes"></a>

{% stepper %}
{% step %}
從清單中選取該屬性，然後選取您要移除的屬性旁邊的**垃圾桶圖示**。

<div data-with-frame="true"><figure><img src="/files/579wUAz2G9OfX1XWqNqb" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Chatlyst 會顯示確認訊息，要求您確認是否刪除。選取 **確定** 以移除該屬性，或選取 **取消** 以保留該屬性。

<div data-with-frame="true"><figure><img src="/files/0gcVYuzDirFVYEufGvIS" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
**已刪除的自定義屬性**：若刪除某個自定義屬性，該屬性仍會保留在已經套用的客戶身上。如果您需要從現有客戶中將其移除，請聯絡 [Chatlyst 支援](/chatlyst-user-guide/zh/getting-started-zh/home-zh.md#chatlyst-zhi-yuan) 尋求協助。
{% endhint %}
{% endstep %}
{% endstepper %}

### 自動更新客戶自定義屬性 (AI)

Chatlyst 能夠定期自動解析客戶互動紀錄，以擷取並更新屬性值。當**自定義屬性的說明詳細且明確時**，Chatlyst 會將其作為參考，從客戶對話中自動擷取相關資訊，並將其彙整至該屬性值中。\
​\
這有助於在更新客戶資料時，減少手動輸入與人為錯誤。由於多數對話都會提及客戶的姓名與基本聯絡資訊，自動更新也有助於避免在對話區塊中出現匿名紀錄，並提升客戶資料的整體管理。

<div data-with-frame="true"><figure><img src="/files/48AK99Fw7ph3GtVsVqdL" alt=""><figcaption></figcaption></figure></div>

#### 更新頻率設定

使用者可以根據偏好，將自訂屬性的自動填寫更新頻率設定為每 3、6 或 9 小時執行一次。

若啟用 **自動更新客戶自定義屬性 (AI)**，每則訊息將會額外消耗 1 次 AI 回覆點數額度。舉例來說，標準的機器人回覆會消耗 1 次 AI 回覆點數額度；在啟用的情況下，相同的互動將會消耗 2 次額度（1 次用於機器人回覆，另 1 次用於屬性更新）。

{% hint style="info" %}
所選的更新間隔**不會直接產生額外費用**。若將更新設定為每 3 小時執行一次，這並**不代表**每 3 小時就會自動扣除額度。
{% endhint %}

<div data-with-frame="true"><figure><img src="/files/TsLfEPoCEcqIauSReeNI" alt=""><figcaption></figcaption></figure></div>

{% hint style="warning" %}
**重要注意事項**：若企業需要更頻繁的更新，或需要預設選項未涵蓋的特定時間範圍，請聯絡 [Chatlyst 支援](/chatlyst-user-guide/zh/getting-started-zh/home-zh.md#chatlyst-zhi-yuan) 尋求協助。
{% endhint %}

#### 運作方式（範例） <a href="#how-it-works-example" id="how-it-works-example"></a>

{% stepper %}
{% step %}
預先定義了一項自訂屬性：**preferred language （偏好語言）**，並將更新頻率設定為**每 3 小時**。

<div data-with-frame="true"><figure><img src="/files/bABNCgd9RnxsF0PBh54D" alt="" width="563"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
在對話過程中，Chatlyst 會詢問基本資訊，包含**姓名**、**電話號碼**、**電子郵件**以及**偏好語言**。

<div data-with-frame="true"><figure><img src="/files/1Xkh6i8debBFDSzLR7Dc" alt="" width="563"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
在目前的客戶資料中，這些欄位最初是空白的。

<div data-with-frame="true"><figure><img src="/files/TFyKpdGqZm1e7SHYteSW" alt="" width="563"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
在下一次排定的自動更新執行後，Chatlyst 會掃描對話、擷取相關資訊，並自動更新客戶資料：

* **姓名**設定為 **Alan**。
* **電子郵件**設定為 **<alan@demo.com>**。
* **電話號碼**設定為 **98765432**。
* **自定義屬性欄位**會自動新增 **preferred language （偏好語言）**，並填入所提供的值：**English**。
* **客戶備註**也會更新對話摘要，以支援更好的後續跟進。

<figure><img src="/files/PaF68QUqZaFvP19gWyK0" alt="" width="563"><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}
