# 機器人自訂屬性（加購功能）

## 建立時支援其他資料類型

新增自訂屬性時，除了文字支援以下資料類型：

* 數字
* 日期
* 日期與時間
* 是/否

<figure><img src="/files/SjpvT1TYSGXfA22HcaZy" alt=""><figcaption></figcaption></figure>

在列表會顯示自訂屬性所屬資料類型

<figure><img src="/files/wOrwBmgDICNwD2QsQxFy" alt=""><figcaption></figcaption></figure>

## 機器人設定

使用機器人卡片時除了設計問題讓客人回覆以外，可以利用自訂屬性方式紀錄客人資料

除了可存文字類型，還支援以下類型的儲存

* 數字
* 日期
* 日期與時間
* 是/否

{% hint style="info" %}
格式不符時，將無法儲存成功，故需提示客人要輸入正確的格式
{% endhint %}

<figure><img src="/files/iSaCYLcDCE6T9HIbRR8u" alt=""><figcaption></figcaption></figure>

#### Key ：**自訂的欄位名稱**

**Value ：填入儲存值**

可將回覆存為以下類型的自訂屬性

* 文字
* 數字
* 日期
* 日期與時間
* 是/否

<figure><img src="/files/VORHKi3XbwEE286LUJlD" alt=""><figcaption></figcaption></figure>

### 網站對話插件、Facebook、LINE 可使用機器人自訂屬性卡片：

文字訊息卡片、輪播訊息卡片、快速回覆卡片和用戶輸入卡片。

<figure><img src="/files/hP0UhlG5dZbeJQ8pqdpZ" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
用戶輸入卡片不支援點擊按鈕 (回覆對話) 貼標功能
{% endhint %}

### WhatsApp 可使用機器人自訂屬性卡片：

文字訊息卡片、選項列表卡片和用戶輸入卡片

<figure><img src="/files/Gg9sS2JxnHWWIvwOkTSj" alt=""><figcaption></figcaption></figure>

## 設定範例

以一般了解消費者背景為例：

***文字訊息卡片：***

當消費者選擇點擊按鈕「台灣」這個選項，會在「*地區*」這個欄位內自動代入「*台灣*」的資料。

<figure><img src="/files/knmwMCWOCJ2KvxwcHIlx" alt=""><figcaption></figcaption></figure>

*用戶輸入卡片：*

當消費者手動輸入文字訊息「Test test」，就會在「團隊名稱」這個欄位底下填入「Test test」

<figure><img src="/files/B7v1MzYpQxGA9KxzvmPo" alt=""><figcaption></figcaption></figure>

消費者回答問題後可將資料留在聯絡人中，需至『聯絡人及推播訊息』內在相對應的社群帳號中『導出』設定好的自訂欄位跟資料。

<figure><img src="/files/xwRRs8JCIEXFnWG1FPLa" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
如消費者重新 Key 入資料，該資料會覆蓋原本填寫的資訊
{% endhint %}


---

# 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://docs.omnichat.ai/features/marketing/chatbot-builder/ji-qi-ren-zi-ding-shu-xing-jia-gou-gong-neng.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.
