

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 在 Amazon Connect Customer Profiles 中設定 Profile Explorer
<a name="customer-profiles-profile-explorer"></a>

Amazon Connect Customer Profiles Explorer 是動態且全面的儀表板，可提供 360 度全方位的客戶檢視。這個儀表板整合了片面的客戶資料，讓組織可以自訂資料顯示、追蹤互動，並將客戶資訊轉換為可據以採取行動的深入分析，以推動商業價值和客戶忠誠度。旅遊和住宿等產業的組織可以使用 Profile Explorer，透過這種直覺式介面，更全面地了解客戶並和客戶互動。
+ 同時使用多個識別符 (電子郵件、電話、預訂參考等) 搭配即時搜尋結果，**立即尋找客戶**。
+ **自訂視圖**，以針對特定業務需求排定最相關資訊的優先順序，並設計網域特定配置，強調由您定義的最相關客戶資料。
+ 使用互動式視覺化和資料顯示，來**存取完整的客戶內容**，包括人口統計資料、通訊歷史記錄、行為互動和客群成員資格。
+ 以強調關鍵模式和個人化行為推論的客戶摘要，**善用 AI 深入分析**。

![\[Profile Explorer 儀表板。\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/images/customer-profiles-profile-explorer-1.png)


**Topics**
+ [啟用 Profile Explorer](enabling-profile-explorer.md)
+ [開始使用](getting-started-profile-explorer.md)
+ [配置定義](layout-definition.md)
+ [將 Profile Explorer 新增至客服人員工作區](add-profileexplorer-to-agentworkspace.md)

# 啟用 Profile Explorer
<a name="enabling-profile-explorer"></a>

您可以透過下列步驟，為管理員和使用者啟用 Profile Explorer。此過程需要配置組態和檢視存取權的設定權限。

**Topics**
+ [讓管理員定義配置](#enable-administrators-define-layout)
+ [讓使用者檢視 Profile Explorer](#enable-users-view-profile-explorer)
+ [確認設定](#verify-setup)

## 讓管理員定義配置
<a name="enable-administrators-define-layout"></a>

管理員需具備特定權限，才能建立和編輯 Profile Explorer 配置：
+ 將下列權限指派至 Profile Explorer 安全性設定檔：
  + **Profile Explorer - 編輯**：允許修改現有 Profile Explorer 配置。
  + **Profile Explorer - 建立**：啟用建立 Profile Explorer 配置。
  + **Profile Explorer - 檢視**：啟用存取權，以檢視已設定的 Profile Explorer 配置。  
![\[新增權限，以允許使用者建立、編輯和檢視 Profile Explorer 配置。\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/images/enable-administrators-define-layout-1.png)

## 讓使用者檢視 Profile Explorer
<a name="enable-users-view-profile-explorer"></a>

使用者需具備適當權限，才能存取 Profile Explorer 配置並與之互動：
+ 將下列權限指派至 Profile Explorer 安全性設定檔：
  + **Profile Explorer - 檢視**：啟用存取權，以檢視已設定的 Profile Explorer 配置。  
![\[新增權限，以允許使用者檢視 Profile Explorer 配置。\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/images/enable-users-view-profile-explorer-1.png)

## 確認設定
<a name="verify-setup"></a>

若要確認是否能成功啟用 Profile Explorer：

以管理員身分登入，以確認您可以：
+ 存取 Profile Explorer 頁面。
+ 建立和修改您的 Profile Explorer 配置。

以一般使用者身分登入，以確認您可以：
+ 存取 Profile Explorer。
+ 檢視 Profile Explorer 配置。
+ 使用已啟用的功能。

# 開始使用 Amazon Connect Customer Profiles Profile Explorer
<a name="getting-started-profile-explorer"></a>

開始使用 Profile Explorer，並了解介面的基本概念。

**Topics**
+ [配置控制](layout-controls.md)
+ [編輯您的 Explorer 配置](editing-explorer-layout.md)
+ [儲存您的 Explorer 配置](saving-explorer-layout.md)

# 配置控制
<a name="layout-controls"></a>

![\[新增權限，以允許使用者檢視 Profile Explorer 配置。\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/images/layout-controls-1.png)


Profile Explorer 歡迎主控台。

1. 編輯索引標籤

1. 新增小工具

1. 配置動作

## 編輯索引標籤
<a name="edit-tabs"></a>

透過索引標籤控制項，將儀表板有邏輯地組織到各區段：
+ **1a. 新增索引標籤**：建立新的索引標籤，以區隔不同的客戶資料層面
+ **1b. 移除索引標籤**：從您的配置中刪除不必要的索引標籤
+ **1c. 重新命名索引標籤**：自訂索引標籤名稱，以反映其內容
+ **1d. 重新排序索引標籤**：拖放索引標籤，以按照您偏好的順序排列

![\[編輯彈出索引標籤。\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/images/layout-controls-2.png)


## 新增小工具
<a name="add-widgets"></a>

以各種資料視覺化小工具，增強您作用中的索引標籤：

### 可用的小工具
<a name="available-widgets"></a>
+ 預設小工具
  + [生成式 AI 摘要](default-widgets.md#generative-ai-summary)
  + [客戶資訊](default-widgets.md#customer-information)
  + [計算屬性](default-widgets.md#calculated-attribute)
  + [聯絡人](default-widgets.md#contacts)
  + [案例](default-widgets.md#cases-cp)
  + [訂單](default-widgets.md#orders-cp)
  + [資產](default-widgets.md#assets-cp)
+ 自訂小工具
  + [資料表](custom-widgets.md#table-widget)
  + [鍵值對](custom-widgets.md#key-value-pair)
  + [金鑰指標](custom-widgets.md#key-metric)
  + [甜甜圈圖](custom-widgets.md#donut-chart)

只需選取您要使用的小工具，然後開始探索

## 配置動作
<a name="layout-actions"></a>

管理儀表板整體組態：
+ **儲存配置**：保留您目前的儀表板組態

![\[儲存配置彈出視窗。\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/images/layout-controls-3.png)


**注意**  
在您儲存變更之前，所有變更都處於草稿階段。

# 編輯您的 Explorer 配置
<a name="editing-explorer-layout"></a>

透過簡單、直覺式的控制項來自訂您的 Profile Explorer 配置，以管理小工具及其配置。

## 小工具控制項
<a name="widget-controls"></a>

每個小工具在右上角都有一個三點功能表，提供兩個主要選項：
+ **1A 編輯**：開啟該特定小工具的組態面板
+ **1B 移除**：從您的配置中刪除小工具

![\[編輯或移除 Explorer 配置的彈出視窗。\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/images/widget-controls-1.png)


## 自訂小工具
<a name="widget-customization"></a>
+ **拖放**：在儀表板的任何位置上重新放置小工具
+ **調整大小**：選擇並拖曳小工具邊界，以調整維度
+ **組態**：透過每個小工具類型的編輯面板，存取詳細設定

![\[在 Explorer 配置中自訂和重新排序小工具。\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/images/widget-customization-1.png)


**注意**  
每個小工具類型都有唯一的組態選項。如需特定小工具設定的詳細資訊，請參閱小工具文件。

## 新增小工具
<a name="adding-new-widgets"></a>

若要將新元件新增至配置，請使用控制面板的**新增小工具**按鈕。

# 儲存您的 Explorer 配置
<a name="saving-explorer-layout"></a>

如何儲存和管理 Profile Explorer 配置組態。

## 配置持久性
<a name="layout-persistence"></a>

您必須儲存 Profile Explorer 配置的變更，以保留變更內容。離開頁面或重新整理瀏覽器時，未儲存的變更會遺失。

## 預設配置
<a name="default-layout"></a>

每個 Profile Explorer 實作都包含一個預設配置。預設配置可作為組織的基本組態，並可根據需要修改。

## 儲存變更
<a name="saving-changes"></a>

若要儲存配置變更：

1. 在配置動作功能表選擇**儲存**。

1. 在儲存對話方塊中確認您的變更。

1. 儲存完成後，所有使用者的配置都會更新。

![\[在 Explorer 配置中儲存配置對話方塊。\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/images/saving-changes-1.png)


**注意**  
需要適當權限才能儲存配置變更。如需所需許可的詳細資訊，請參閱[啟用 Profile Explorer](enabling-profile-explorer.md)。

# 配置定義
<a name="layout-definition"></a>

了解 Profile Explorer 配置的結構和元件。

**Topics**
+ [運作方式](how-it-works.md)
+ [小工具](widgets.md)

# 運作方式
<a name="how-it-works"></a>

Profile Explorer 提供各種小工具來顯示客戶資訊，配置會儲存為 JSON 定義，代表儀表板的完整結構和組態。視覺化配置中的每個小工具和元件都對應至此定義中的特定 JSON 區塊。

## 核心元件
<a name="core-components"></a>

配置定義中的每個元件都由五個常見元素組成：
+ **類型**
  + 定義元件類別
  + 決定元件的轉譯方式
  + 範例：BoardItem、Table、KeyValuePair
+ **Id**
  + 每個元件的唯一識別符
  + 用於追蹤和更新元件
  + 在建置器中建立元件時會自動產生
+ **屬性**
  + 元件特定屬性
  + 控制外觀和行為
  + 包含組態設定
+ **子系**
  + 巢狀元件或內容
  + 定義階層關係
  + 可以包含多個子元件
+ **DataSource**
  + 指定資料來源
  + 定義資料擷取參數
  + 控制元件的資料繫結

## 配置元件定義範例
<a name="example-layout-component-definition"></a>

以下是儀表板資料表元件的範例 JSON 結構：

```
{
    "Id": "unique-identifier",
    "Type": "BoardItem",
    "Props": {},
    "Children": [
        {
            "Id": "unique-identifier",
            "Type": "Table",
            "Props": {},
            "Children": [
                {
                    "Id": "unique-identifier",
                    "Type": "TextContent",
                    "Props": {},
                    "Children": ["string"]
                }
            ]
        }
    ],
    "DataSource": [
        {
            "Type": "source-type",
            "Params": {}
        }
    ]
}
```

## 動態資料組態
<a name="dynamic-data-configuration"></a>

Profile Explorer 使用範本表達式，在您的元件中動態存取和顯示 Customer Profiles 資料。

### 單一值支援
<a name="single-value-support"></a>

對於金鑰值對和金鑰指標等元件，您可以存取：

#### 標準設定檔資訊
<a name="standard-profile-information"></a>

```
{{Customer.<StandardProfileInfo>}}
```

使用範例：
+ `{{Customer.FirstName}}`
+ `{{Customer.LastName}}`
+ `{{Customer.PhoneNumber}}`

#### 計算屬性
<a name="calculated-attributes"></a>

```
{{Customer.CalculatedAttributes.<attributeDefinitionName>}}
```

使用範例：
+ `{{Customer.CalculatedAttributes._cases_count}}`
+ `{{Customer.CalculatedAttributes._new_customer}}`

### 表格式資料支援語法
<a name="tabular-data-support-syntax"></a>

#### 計算屬性
<a name="calculated-attributes-tabular"></a>

```
{{Customer.CalculatedAttributes.DisplayName}}
```

```
{{Customer.CalculatedAttributes.CalculatedAttributeDefinitionName}}
```

#### 客群
<a name="segments"></a>

```
{{Customer.CalculatedAttributes.DisplayName}}
```

```
{{Customer.CalculatedAttributes.SegmentDefinitionName}}
```

#### 設定檔物件
<a name="profile-objects"></a>

```
{{Customer.ObjectAttributes.<objectTypeName>.<fieldName>}}
```

**使用範例**：
+ `{{Customer.ObjectAttributes.CTR.contactId}}`
+ `{{Customer.ObjectAttributes.Order.orderId}}`

### 實作範例
<a name="implementation-examples"></a>

#### 單一值元件
<a name="single-value-component"></a>

```
{
    "Type": "KeyValuePair",
    "Props": {
        "Items": [
            {
                "Label": {
                    "Content": {
                        "Type": "TextContent",
                        "Children": ["Customer Name"]
                    }
                },
                "Value": {
                    "Content": {
                        "Type": "TextContent",
                        "Children": ["{{Customer.FirstName}}"]
                    }
                }
            }
        ]
    }
}
```

#### 表格式元件
<a name="tabular-component"></a>

```
{
    "Type": "Table",
    "Props": {
        "ColumnDefinitions": [
            {
                "Cell": {
                    "Content": {
                        "Type": "TextContent",
                        "Children": ["{{Customer.ObjectAttributes.CTR.contactId}}"]
                    }
                },
                "Header": "Contact ID"
            }
        ]
    }
}
```

**注意**  
請確定您參考的屬性、物件和客群在您的 Customer Profiles 組態中，然後再將它們用於您的配置中。

# 小工具
<a name="widgets"></a>

探索 Profile Explorer 中可用的不同小工具類型。

## 概觀
<a name="widgets-overview"></a>

Profile Explorer 中的小工具是從配置定義的 JSON 元件建置的複合元素。雖然這些小工具代表複雜的 JSON 結構，但我們的 UI 建置器會自動處理技術合成，使儀表板管理簡單明瞭且易於使用。

**Topics**
+ [概觀](#widgets-overview)
+ [可用的小工具](#available-widgets)
+ [預設小工具](default-widgets.md)
+ [自訂小工具](custom-widgets.md)

## 可用的小工具
<a name="available-widgets"></a>
+ 預設小工具
  + [生成式 AI 摘要](default-widgets.md#generative-ai-summary)
  + [客戶資訊](default-widgets.md#customer-information)
  + [計算屬性](default-widgets.md#calculated-attribute)
  + [聯絡人](default-widgets.md#contacts)
  + [案例](default-widgets.md#cases-cp)
  + [訂單](default-widgets.md#orders-cp)
  + [資產](default-widgets.md#assets-cp)
+ 自訂小工具
  + [資料表](custom-widgets.md#table-widget)
  + [鍵值對](custom-widgets.md#key-value-pair)
  + [金鑰指標](custom-widgets.md#key-metric)
  + [甜甜圈圖](custom-widgets.md#donut-chart)

# 預設小工具
<a name="default-widgets"></a>

Profile Explorer 有一組預先設定的小工具，旨在順暢地與 Customer Profiles 資料搭配使用。這些預設小工具以最少的設定提供立即值，讓您只需按幾下滑鼠就能建置複雜的儀表板。

![\[在 Explorer 配置中新增預設小工具。\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/images/default-widgets-1.png)


## 現成小工具
<a name="ready-to-use-widgets"></a>
+ [生成式 AI 摘要](#generative-ai-summary)
+ [客戶資訊](#customer-information)
+ [計算屬性](#calculated-attribute)
+ [聯絡人](#contacts)
+ [案例](#cases-cp)
+ [訂單](#orders-cp)
+ [資產](#assets-cp)

**注意**  
雖然這些小工具已預先設定，您仍然可以進行自訂，更符合您的特定需求。這些小工具可以作為起點，以便您輕鬆上手。

## 生成式 AI 摘要
<a name="generative-ai-summary"></a>

Profile Explorer 提供預設 AI 客戶深入分析，產生強調關鍵行為模式的簡潔摘要、根據互動歷史提供個人化的客戶深入分析，並自客戶 360 資料提出可轉化為實際行動的建議。AI 產生的摘要會識別多個客戶接觸點的模式、提供每個客戶專屬的個人化行為解析，以及支援改善客戶體驗和提高忠誠度，以協助組織做出有資料為基礎的決策。

![\[生成式 AI 摘要小工具。\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/images/generative-ai-summary-1.png)


## 客戶資訊
<a name="customer-information"></a>

客戶資訊小工具使用鍵值對元件，提供清晰且有條理的標準 Customer Profile 資料。此預設小工具會自動以容易掃描的格式顯示基本客戶資訊。

### 概觀
<a name="customer-information-overview"></a>

這個小工具利用鍵值對元件，在結構化配置中顯示客戶屬性。
+ 名字
+ 姓氏
+ 電子郵件地址
+ 電話號碼
+ 地址
+ 帳戶號碼
+ 設定檔 ID

### 資料
<a name="customer-information-data"></a>

小工具會自動連線至您的 Customer Profiles 網域，並從標準設定檔屬性提取資訊。基本功能不需要額外組態。

**注意**：雖然已經以標準設定檔屬性預先設定這個小工具，您可以根據您的需求，自訂標準設定檔中顯示的屬性。

#### 進一步了解
<a name="customer-information-learn-more"></a>
+ [標準設定檔定義](standard-profile-definition.md)
+ 鍵值對

## 計算屬性
<a name="calculated-attribute"></a>

您可以透過計算屬性小工具，顯示使用客戶設定檔計算屬性資料的關鍵指標元件。

### 概觀
<a name="calculated-attribute-overview"></a>

您可以透過計算屬性小工具，顯示使用客戶設定檔計算屬性資料的關鍵指標元件。

### 元件功能
<a name="component-features"></a>
+ 將計算指標顯示為單一值指標

### 範例使用案例可以是
<a name="example-use-cases"></a>
+ 已交付的行銷活動
+ 已開啟的案例
+ 平均通話時間
+ 管道偏好設定

### Configuration
<a name="configuration"></a>

只要選取您的計算屬性，然後選擇您偏好的顯示格式

**注意**  
須先在您的 Customer Profiles 網域中設定計算屬性，才能用於此小工具。

**進一步了解**
+ 金鑰指標
+ [設定計算屬性](customerprofiles-calculated-attributes-admin-website.md)

## 聯絡人
<a name="contacts"></a>

聯絡人小工具使用資料表 JSON 元件建置，以有組織的表格格式顯示您的 Customer Profiles 聯絡人物件資料。此小工具會自動連線至 Customer Profiles CTR 資料，顯示主要聯絡資訊和互動歷史記錄。

### 功能
<a name="contacts-features"></a>
+ 檢視所有客戶聯絡事件
+ 排序和篩選聯絡人記錄
+ 自訂顯示的聯絡欄位
+ 存取詳細的聯絡資訊

如需詳細了解 Customer Profiles CTR 物件，請參閱 [Amazon Connect Customer Profiles 中的聯絡人記錄範本](ctr-contact-record-template.md)

## 案例
<a name="cases-cp"></a>

案例小工具使用資料表 JSON 元件建置，以有組織的表格格式顯示您的 Customer Profiles 案例物件資料。此小工具會自動連線至 Customer Profiles 案例資料，顯示支援互動和案例管理詳細資訊。

### 功能
<a name="cases-features"></a>
+ 檢視所有客戶案例
+ 排序和篩選案例記錄
+ 自訂顯示的案例欄位
+ 存取詳細的案例資訊

如需詳細了解 Customer Profiles 案例物件，請參閱 [Customer Profiles 中標準案例的物件類型映射。](object-type-mapping-standard-case.md)。

## 訂單
<a name="orders-cp"></a>

訂單小工具使用資料表 JSON 元件建置，以有組織的表格格式顯示您的 Customer Profiles 訂單物件資料。此小工具會自動連線至 Customer Profiles 訂單資料，顯示購買歷史記錄和交易詳細資訊。

### 功能
<a name="orders-features"></a>
+ 檢視所有客戶訂單事件
+ 排序和篩選訂單記錄
+ 自訂顯示的訂單欄位
+ 存取詳細的訂單資訊

如需詳細了解 Customer Profiles 訂單物件，請參閱 [Amazon Connect Customer Profiles 中，標準訂單的物件類型映射](object-type-mapping-standard-order.md)

## 資產
<a name="assets-cp"></a>

資產小工具使用資料表 JSON 元件建置，以有組織的表格格式顯示您的 Customer Profiles 資產物件資料。此小工具會自動連線至 Customer Profiles 資產資料，顯示客戶自有的產品和服務。

### 功能
<a name="assets-features"></a>
+ 檢視所有客戶資產記錄
+ 排序和篩選資產資料
+ 自訂顯示的資產欄位
+ 存取詳細的資產資訊

如需詳細了解 Customer Profiles 資產物件，請參閱 [Customer Profiles 中標準資產的物件類型映射。](object-type-mapping-standard-asset.md)

# 自訂小工具
<a name="custom-widgets"></a>

從頭開始建立專屬儀表板元件，以符合您的特定商業需求。您可以透過自訂小工具，在沒有任何預先定義資料時建置唯一的視覺化效果。

![\[在 Profile Explorer 配置中新增客戶小工具。\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/images/custom-widgets-1.png)


## 可用的自訂元件
<a name="available-custom-components"></a>
+ [資料表](#table-widget)
+ [鍵值對](#key-value-pair)
+ [金鑰指標](#key-metric)
+ [甜甜圈圖](#donut-chart)

## 建置自訂小工具
<a name="building-custom-widgets"></a>

**每個自訂小工具都可以設定：**
+ 自訂資料來源
+ 自訂顯示
+ 自訂欄位
+ 自訂項目互動

## 資料表
<a name="table-widget"></a>

自訂資料表元件有靈活的組態選項，以表格格式顯示您的資料，並提供互動和組織進階功能。

### 功能
<a name="table-features"></a>

1. **欄位組態**
   + 定義自訂欄位標頭
   + 為每欄指定資料
   + 設定資料格式選項
   + 定義欄位位置

1. **篩選**
   + 快速篩選資料表中的項目

1. **連結**
   + 連接資源連結
     + 順暢導覽至：
       + 客群
       + 計算屬性
     + 在新索引標籤中開啟
   + **外部 URL 連結**
     + 將列項目值轉換為您可以選擇的 URL
     + 在新索引標籤中開啟
     + 根據列資料動態產生連結
   + 抽屜檢視連結
     + 在側邊抽屜開啟詳細資訊
     + 檢視完整的記錄詳細資訊，而不離開頁面

1. 資料整理
   + 分組
     + 根據特定欄位名稱分組資料列
     + 長久的群組設定
   + 排序
     + 根據任何欄位排序
     + 遞增順序
     + 長久的排序設定

**圖 1**

![\[自訂資料表小工具編輯範例。\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/images/table-features-1.png)


**圖 2**

![\[另一個自訂資料表小工具編輯範例。\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/images/table-features-2.png)


### 範例組態
<a name="table-example-configuration"></a>

```
{
    "Type": "Table",
    "Props": {
        "ColumnDefinitions": [
            {
                "Header": "Table column header"
                "Cell": {
                    "Content": {
                        "Props": {
                            "Variant": "Link",
                            "LinkOptions": {
                                "LinkType": "Drawer"
                            }
                        },
                        "Type": "TextContent",
                        "Children": ["string"]
                    }
                },
            }
        ]
    }
}
```

## 鍵值對
<a name="key-value-pair"></a>

您可以透過鍵值對元件，以靈活且可讀取的格式建立相關資料點的整齊視圖。

### 概觀
<a name="key-value-pair-overview"></a>

定義自訂鍵值關係，來建立動態資料視圖。此元件特別適用於顯示屬性對，例如：
+ 客戶詳細資訊
+ 帳戶資訊

### 功能
<a name="key-value-pair-features"></a>

1. **互動式連結選項**
   + 連接資源連結
     + 直接連結至相關資源
     + 順暢導覽至：
       + 計算屬性
       + 客群
     + 在新索引標籤中開啟
   + 外部 URL 連結
     + 將項目值轉換為您可以選擇的 URL
     + 在新索引標籤中開啟
   + 抽屜檢視連結
     + 在側邊抽屜開啟詳細資訊
     + 檢視完整的詳細資訊，而不離開頁面

1. 欄位組態
   + 定義鍵值對的 1-4 欄

1. 在邏輯分組中整理配對

**圖 1**

![\[自訂鍵值對小工具編輯範例。\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/images/key-value-pair-features-1.png)


**圖 2**

![\[另一個自訂鍵值對小工具編輯範例。\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/images/key-value-pair-features-2.png)


### 範例組態
<a name="key-value-pair-example-configuration"></a>

```
{
    "Type": "KeyValuePair",
    "Id": "UniqueId",
    "Props": {
        "Columns": 2,
        "Items": [
            {
                "Label": {
                    "Content": {
                        "Type": "TextContent",
                        "Id": "UniqueId",
                        "Props": {
                            "FontWeight": "bold"
                        },
                        "Children": ["Profile id"]
                    }
                },
                "Value": {
                    "Content": {
                        "Type": "TextContent",
                        "Id": "UniqueId",
                        "Props": {},
                        "Children": ["[string]"]
                    }
                }
            }
        ]
    }
}
```

**注意**  
此元件目前不支援 UI 建置器中的 `ProfileObjects`。

## 金鑰指標
<a name="key-metric"></a>

金鑰指標元件可讓您以易於理解的格式，強調關鍵業務指標、KPI 和重要統計資料。

### 概觀
<a name="key-metric-overview"></a>

建立易見的指標視圖，強調重要的資料點、趨勢或狀態指示。此元件非常適合顯示：
+ 績效指標
+ 重要測量項目
+ 狀態摘要
+ 趨勢指標

### 功能
<a name="key-metric-features"></a>

1. **大型顯示文字**

1. **指標格式**

1. **互動式連結選項**
   + 連接資源連結
     + 直接連結至相關資源
     + 順暢導覽至：
       + 計算屬性
       + 客群
     + 在新索引標籤中開啟
   + 外部 URL 連結
     + 將項目值轉換為您可以選擇的 URL
     + 在新索引標籤中開啟
   + 抽屜檢視連結
     + 在側邊抽屜開啟詳細資訊
     + 檢視完整的詳細資訊，而不離開頁面

1. **整理指標配置**

**圖 1**

![\[自訂關鍵指標小工具編輯範例。\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/images/key-metric-features-1.png)


**圖 2**

![\[另一個自訂關鍵指標小工具編輯範例。\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/images/key-metric-features-2.png)


### 範例組態
<a name="key-metric-example-configuration"></a>

```
{
    "Type": "KeyMetrics",
    "Props": {
        "MetricDefinitions": [
            {
                "MetricLabel": "Total Revenue",
                "MetricValue": {
                    "Content": {
                        "Type": "TextContent",
                        "Props": {
                            "Format": "USD",
                            "FontSize": "large",
                            "FontWeight": "bold"
                        },
                        "Children": ["[string]"]
                    }
                },
                "Columns": 1
            }
        ]
    }
}
```

**注意**  
此元件目前不支援 UI 建置器中的 `ProfileObjects`。

## 甜甜圈圖
<a name="donut-chart"></a>

甜甜圈圖表元件可透過圓形的甜甜圈圖表，視覺化情緒評分。

### 概觀
<a name="donut-chart-overview"></a>

定義自訂評分條件，建立動態情緒視覺效果。此元件特別適用於顯示：
+ 成功指標
+ 達成率
+ 風險評估
+ 績效指標

### 功能
<a name="donut-chart-features"></a>

1. 情緒分析選項
   + 正面情緒
     + 從零開始
     + 根據條件追蹤進度：
       + 自訂點數值
       + 以顏色顯示的區段
       + 以灰色表示未滿足的條件
     + 顯示成功率百分比
   + 負面情緒
     + 從最大值開始
     + 追蹤推論：
       + 以顏色顯示的區段
       + 點數扣除系統
       + 綠色代表剩餘值
     + 顯示最終分數

1. 計算屬性值

1. 運算子選項
   + Equal To
   + Not Equal To
   + Greater Than
   + Less Than

1. 值條件

1. 每個條件的配置點

**圖 1：正面情緒範例**

![\[正面情緒小工具編輯範例。\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/images/donut-chart-features-1.png)


**圖 2：負面情緒範例**

![\[負面情緒小工具編輯範例。\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/images/donut-chart-features-2.png)


### 範例組態
<a name="donut-chart-example-configuration"></a>

```
{
    "Type": "DonutChart",
    "Props": {
        "Variant": "PositiveSentiment",
        "ConditionDefinitions": [
            {
                "Title": "Customer Satisfaction",
                "Color": "#4CAF50",
                "CalculatedAttribute": "satisfaction_score",
                "Operator": "GREATER_THAN",
                "ValueCondition": 8,
                "Points": 10
            }
        ]
    }
}
```

**注意**  
**甜甜圈圖目前僅支援作為資料來源的計算屬性。**
**所有條件定義都必須包含標題、顏色、計算屬性、運算子、值條件和點數值。**

# 將 Profile Explorer 新增至客服人員工作區
<a name="add-profileexplorer-to-agentworkspace"></a>

根據預設，具有適當[安全性設定檔許可](enabling-profile-explorer.md)的使用者可以在 Amazon Connect 管理員網站上檢視設定檔總管。您可能也希望客服人員在其客服人員工作區中存取 Profile Explorer。本主題說明如何執行此操作。

下圖顯示客服人員工作區中的 Profile Explorer 範例。

![\[客服人員工作區，設定檔 Profile Explorer 索引標籤。\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/images/profile-explorer-agent-workspace.png)


## 建立您要與客服人員共用的 Profile Explorer 配置
<a name="begin-petoaw"></a>

以下是進階概觀：

1. 請確認您具備建立 Profile Explorer 配置的[安全性設定檔權限](enabling-profile-explorer.md)。

1. 遵循 [開始使用 Amazon Connect Customer Profiles Profile Explorer](getting-started-profile-explorer.md) 中的指示，來建立和儲存您要與客服人員共用的配置。

## 將 Profile Explorer 新增至 Amazon Connect 做為整合
<a name="add-pe-console"></a>

1. 在 Amazon Connect 主控台的左側導覽中，選擇**整合**，如下圖所示。  
![\[Amazon Connect 主控台、整合功能表項目。\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/images/integrations.png)

1. 在**整合**頁面上，選擇**新增整合**。

1. 在**新增整合**頁面上，完成**基本資訊**區段中的下列欄位：

   1. **顯示名稱**：容易記的應用程式名稱。**此名稱會在客服人員工作區上的索引標籤顯示給客服人員**。此名稱也會顯示在安全性設定檔上。您可以返回並更改此名稱。

   1. **整合識別符**：整合的唯一官方名稱。如果您每個存取 URL 只有一個整合，我們建議您使用存取 URL 的原始伺服器。您不得變更此名稱。

   1. **描述 (選用)**：您可以選擇性地提供此應用程式的任何說明。此說明不會顯示給客服人員。

   1. **整合類型**：選擇**標準應用程式**。

   1. **聯絡人範圍**：選擇**每個聯絡人**。這是來電支援的必要設定。

   1. **初始化逾時**：能與工作區建立連線的時間上限 (以毫秒為單位)。

   下圖顯示這些欄位的設定範例。初始化逾時設定為 5 秒。  
![\[基本資訊區段，針對客服人員工作區的 Profile Explorer 進行設定。\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/images/add-integration.png)

1. 在**存取**區段完成下列欄位：

   1. **存取 URL**：這是託管應用程式的 URL。URL 必須安全並以 https 開頭，除非是本地主機則例外。
**重要**  
URL 必須包含 `?_appLayoutMode=embedded`。例如：  
`https://{CONNECT_INSTANCE}/customer-profiles/profile-explorer?_appLayoutMode=embedded`  
如果您未包含 `?_appLayoutMode=embedded`， Amazon Connect 則管理員網站的左側導覽會顯示在客服人員工作區中。  
如需詳細了解此欄位所允許的內容，請參閱 [整合](3p-apps.md#onboard-3p-apps-how-to-integrate)。

   1. **已核准的來源 - 選用**：允許清單允許的 URL (如果與存取 URL 不同)。URL 必須安全並以 https 開頭，除非是本地主機則例外。

1. 完成接下來的兩個區段 - **權限**和 **Iframe 組態** - 這是選用的，不需將 Profile Explorer 新增至客服人員工作區。如需這些區段的相關資訊，請參閱 [整合](3p-apps.md#onboard-3p-apps-how-to-integrate)。

1. **執行個體關聯**：選擇客服人員使用的執行個體。

   您可以授予此帳戶區域內任何執行個體存取此整合的權限 （這些執行個體）。

1. 選擇**新增整合作業**。

## 將客服人員權限指派給新的安全性設定檔
<a name="assign-pe-agent-permissions"></a>

在此步驟中，您需要將存取新整合的代理程式許可和檢視許可指派給 Profile Explorer。

1. 在 Amazon Connect 管理員網站中，導覽至**客服人員**安全性設定檔。

1. 在**編輯安全性設定檔**頁面，指派下列權限：
   + **Customer Profiles** - **Profile explorer** - **檢視**
   + **客服人員應用程式** - **整合名稱** - **存取**

   下圖顯示為名為 **Profile Explorer** 的新整合新增的許可範例。  
![\[新整合的安全設定檔許可。\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/images/profile-explorer-securityperms.png)

## 告知客服人員釘選新的應用程式
<a name="assign-pe-agent-permissions"></a>

使用您的一般通訊方式，指示客服人員將新的應用程式釘選到其客服人員工作區。這可讓他們跨工作區執行個體存取 Profile Explorer。
+ 在客服人員工作區中，選擇更多圖示，然後選擇**釘選索引標籤**，如下圖所示。  
![\[客服人員工作區，釘選索引標籤選項。\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/images/pin-tab.png)

## 受支援的功能
<a name="supported-pe-functionality"></a>

完成上述步驟後，Profile Explorer 支援查詢傳入的聯絡。支援項目如下：
+ 電話和聊天：完整支援
+ 自訂聯絡屬性：全面支援 Profile Explorer 讀取的使用者定義屬性。您可以在流程中設定使用者定義的屬性，以支援任何客戶使用案例。例如：

  ```
  { 
  "profileSearchKey": "_phone", 
  "profileSearchValue": "<Phone number>" }
  ```

  如需詳細資訊，請參閱[自動填寫客戶設定檔](auto-pop-customer-profile.md)。