

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

# Amazon Connect Customer Profiles 中，標準設定檔的物件類型映射
<a name="object-type-mapping-standard-profile"></a>

本節中的主題提供標準設定檔定義，以及從外部應用程式到標準設定檔的物件類型映射。

**Topics**
+ [Amazon AppFlow 存取要求](appflow-access-requirements-profile.md)
+ [Amazon AppIntegrations 存取要求](standard-profile-appintegrations-requirements.md)
+ [客戶設定檔中的 Amazon EventBridge 存取要求](standard-profile-eventbridge-requirements.md)
+ [標準設定檔定義](standard-profile-definition.md)
+ [映射 Salesforce 物件](mapping-salesforce-objects.md)
+ [映射 Zendesk 物件](mapping-zendesk-objects.md)
+ [映射 Marketo 物件](mapping-marketo-objects.md)
+ [對應 ServiceNow 物件](mapping-servicenow-objects.md)
+ [對應 Segment 物件](mapping-segment-objects.md)
+ [對應 Shopify 物件](mapping-shopify-objects.md)

# Customer Profiles 中的 Amazon AppFlow 存取要求
<a name="appflow-access-requirements-profile"></a>

使用以下 Amazon AppFlow 存取要求，來建立和刪除 Zendesk、Marketo、Salesforce 和 ServiceNow 與 Amazon Connect Customer Profiles 的整合：
+ appflow:CreateFlow
+ appflow:DeleteFlow

# Customer Profiles 中的 Amazon AppIntegrations 存取要求
<a name="standard-profile-appintegrations-requirements"></a>

使用以下 Amazon AppIntegrations 存取要求，來建立和刪除 Segment 和 Shopify 與 Amazon Connect Customer Profiles 的整合：


+ app-integrations:GetEventIntegration
+ app-integrations:ListEventIntegrationAssociations
+ app-integrations:CreateEventIntegrationAssociation
+ app-integrations:DeleteEventIntegrationAssociation

# 客戶設定檔中的 Amazon EventBridge 存取要求
<a name="standard-profile-eventbridge-requirements"></a>

使用以下 Amazon EventBridge 存取要求，來建立和刪除 Segment 和 Shopify 與 Amazon Connect Customer Profiles 的整合：
+ `events:ListTargetsByRule`
+ `events:PutRule`
+ `events:PutTargets`
+ `events:DeleteRule`
+ `events:RemoveTargets`

# Amazon Connect Customer Profiles 中的標準設定檔定義
<a name="standard-profile-definition"></a>

下表列出 Customer Profiles 標準設定檔物件中的所有欄位。


| 標準設定檔欄位 | 資料類型 | Description | 
| --- | --- | --- | 
|  ProfileId  | String  | 客戶設定檔的唯一識別符。  | 
|  AccountNumber  | String  | 您提供給客戶的唯一帳號。 | 
|  AdditionalInformation  | String  | 與客戶設定檔相關的任何其他資訊。 | 
|  PartyType  | String  | 用來描述客戶的設定檔類型。 有效值：INDIVIDUAL \$1 BUSINESS \$1 OTHER | 
|  BusinessName  | String  | 客戶的業務名稱。 | 
|  FirstName  | String  | 客戶的名字。 | 
|  MiddleName  | String  | 客戶的中間名。 | 
|  LastName  | String  | 客戶的姓氏。 | 
|  BirthDate  | String  | 客戶的出生日期。 | 
|  Gender  | String  | 客戶認同的性別。 | 
|  PhoneNumber  | String  | 尚未指定為行動電話號碼、住家或公司號碼的客戶電話號碼。 | 
|  MobilePhoneNumber  | String  | 客戶的行動電話號碼。 | 
|  HomePhoneNumber  | String  | 客戶的住家電話號碼。 | 
|  BusinessPhoneNumber  | String  | 客戶的公司電話號碼。 | 
|  EmailAddress  | String  | 尚未指定為個人或公司地址的客戶電子郵件地址。 | 
|  PersonalEmailAddress  | String  | 客戶的個人電子郵件地址。 | 
|  BusinessEmailAddress  | String  | 客戶的公司電子郵件地址。 | 
|  地址  | 地址  | 與客戶相關聯，且非用於郵寄、送貨或帳單的一般地址。 | 
|  ShippingAddress  | 地址  | 客戶的運送地址。 | 
|  MailingAddress  | 地址  | 客戶的電子郵件地址。 | 
|  BillingAddress  | 地址  | 客戶的帳單地址。 | 
|  屬性  | 字串對字串對應  | 客戶設定檔屬性的鍵值對。 | 
|  ProfileType  | String  | 設定檔類型。 有效值：PROFILE \$1 ACCOUNT\$1PROFILE  | 
|  EngagementPreferences  | EngagementPreferences  | 客戶或帳戶的參與偏好設定。 | 

標準設定檔物件會依據下表的索引鍵編製索引。


| 標準索引名稱 | 標準設定檔欄位 | 
| --- | --- | 
| \$1phone | PhoneNumber、MobilePhoneNumber、HomePhoneNumber 或 BusinessPhoneNumber | 
| \$1email | EmailAddress、PersonalEmailAddress 或 BusinessEmailAddress | 
| \$1account | AccountNumber | 
| \$1profileId | ProfileId | 
| \$1fullName | "FirstName MiddleName LastName" | 

例如，您可以使用 `_phone` 作為索引鍵名稱，搭配 [SearchProfiles API](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html) 來尋找 PhoneNumber、MobilePhoneNumber、HomePhoneNumber 或 BusinessPhoneNumber 屬性符合搜尋值的設定檔。

## Address 資料類型
<a name="address-data-type"></a>


| 標準設定檔欄位 | 資料類型 | Description | 
| --- | --- | --- | 
|  Address1  | String  | 客戶地址的第一行。  | 
|  Address2  | String  | 客戶地址的第二行。  | 
|  Address3  | String  | 客戶地址的第三行。  | 
|  Address4  | String  | 客戶地址的第四行。  | 
|  City  | String  | 客戶居住的城市。  | 
|  Country  | String  | 客戶居住的國家/地區。  | 
|  County  | String  | 客戶居住的縣。  | 
|  PostalCode  | String  | 客戶地址的郵遞區號。  | 
|  Province  | String  | 客戶居住的省份。  | 
|  State  | String  | 客戶居住的州。  | 

## EngagementPreferences 資料類型
<a name="engagement-preferences-data-type"></a>


| 標準設定檔欄位 | 資料類型 | Description | 
| --- | --- | --- | 
|  Email  |  ContactPreference 物件陣列  |  與電子郵件相關的聯絡偏好設定清單。  | 
|  Phone  |  ContactPreference 物件陣列  |  與電話相關的聯絡偏好設定清單。  | 

## ContactPreference 資料類型
<a name="contact-preference-data-type"></a>


| 標準設定檔欄位 | 資料類型 | Description | 
| --- | --- | --- | 
|  KeyName  |  String  |  可供搜尋的客戶設定檔唯一識別符。  | 
|  KeyValue  |  String  |  用來根據 keyName 查詢設定檔的索引鍵值。  | 
|  ProfileId  |  String  |  客戶設定檔的唯一識別符。  | 
|  ContactType  |  String  |  用於參與的聯絡類型。有效值：PhoneNumber \$1 MobilePhoneNumber \$1 HomePhoneNumber \$1 BusinessPhoneNumber \$1 EmailAddress \$1 PersonalEmailAddress \$1 BusinessEmailAddress  | 

# 在 Amazon Connect Customer Profiles 中，將 Salesforce 物件映射至標準設定檔
<a name="mapping-salesforce-objects"></a>

本主題列出 Salesforce 物件中的哪些欄位會映射到客戶設定檔中標準設定檔物件中的欄位。

## Salesforce-Account 物件
<a name="salesforceaccountobject"></a>

以下是 Salesforce-Account 物件中所有欄位的清單。Salesforce-Account 物件中的欄位可能會因 Salesforce 執行個體的組態而有所不同。
+ Id
+ IsDeleted
+ MasterRecordId
+ 名稱
+ Type
+ ParentId
+ BillingStreet
+ BillingCity
+ BillingState
+ BillingPostalCode
+ BillingCountry
+ BillingLatitude
+ BillingLongitude
+ BillingGeocodeAccuracy
+ BillingAddress.City
+ BillingAddress.Country
+ BillingAddress.geocodeAccuracy
+ BillingAddress.latitude
+ BillingAddress.longitude
+ BillingAddress.postalCode
+ BillingAddress.state
+ BillingAddress.street
+ ShippingStreet
+ ShippingCity
+ ShippingState
+ ShippingPostalCode
+ ShippingCountry
+ ShippingLatitude
+ ShippingLongitude
+ ShippingGeocodeAccuracy
+ ShippingAddress.city
+ ShippingAddress.country
+ ShippingAddress.latitude
+ ShippingAddress.longitude
+ ShippingAddress.postalCode
+ ShippingAddress.state
+ ShippingAddress.street
+ Phone
+ Fax
+ AccountNumber
+ Website
+ PhotoUrl
+ Sic
+ Industry
+ AnnualRevenue
+ NumberOfEmployees
+ Ownership
+ TickerSymbol
+ Description
+ Rating
+ Site
+ OwnerId
+ CreatedDate
+ CreatedById
+ LastModifiedDate
+ LastModifiedId
+ SystemModstamp
+ LastActivityDate
+ LastViewedDate
+ LastReferencedDate
+ Jigsaw
+ JigsawCompanyId
+ CleanStatus
+ AccountSource
+ DunsNumber
+ Tradestyle
+ NaicsCode
+ NaicsDesc
+ YearStarted
+ SicDesc
+ DandbCompanyId
+ IsBuyer

## 將 Salesforce-Account 物件對應到標準設定檔
<a name="mapping-salesforceaccountobject"></a>

Salesforce-Account 物件中欄位的子集會對應到客戶設定檔中的標準設定檔物件。

下表列出了哪些欄位可以從 Salesforce-Account 物件對應到標準設定檔。(此表格包含已設定為包含 Person 欄位之 Salesforce 執行個體的對應。)


| Salesforce-Account 來源欄位 | 標準設定檔目標欄位 | 
| --- | --- | 
|  Id  | Attributes.sfdcAccountId  | 
|  名稱  | BusinessName  | 
|  Phone  | PhoneNumber  | 
|  BillingStreet  | BillingAddress.Address1  | 
|  BillingCity  | BillingAddress.City  | 
|  BillingState  | BillingAddress.State  | 
|  BillingCountry  | BillingAddress.Country  | 
|  BillingPostalCode  | BillingAddress.PostalCode  | 
|  ShippingStreet  | ShippingAddress.Address1  | 
|  ShippingCity  | ShippingAddress.City  | 
|  ShippingState  | ShippingAddress.State  | 
|  ShippingCountry  | ShippingAddress.Country  | 
|  ShippingPostalCode  | ShippingAddress.PostalCode  | 
|  IsPersonAccount  | PartyType  | 
|  PersonMobilePhone  | MobilePhoneNumber  | 
|  PersonHomePhone  | HomePhoneNumber  | 
|  PersonEmail  | PersonalEmailAddress  | 
|  PersonMailingAddress.Street  | MailingAddress.Address1  | 
|  PersonMailingAddress.City  | MailingAddress.City  | 
|  PersonMailingAddress.State  | MailingAddress.State  | 
|  PersonMailingAddress.Country  | MailingAddress.Country  | 
|  PersonMailingAddress.PostalCode  | MailingAddress.PostalCode  | 
|  PersonBirthDate  | BirthDate  | 
|  PersonOtherStreet  | Address.Address1  | 
|  PersonOtherCity  | Address.City  | 
|  PersonOtherState  | Address.State  | 
|  PersonOtherCountry  | Address.Country  | 
|  PersonOtherPostalCode  | Address.PostalCode  | 
|  FirstName  | FirstName  | 
|  LastName  | LastName  | 
|  MiddleName  | MiddleName  | 
|  AccountNumber  | AccountNumber  | 

Salesforce 物件中的 Salesforce-Account 客戶資料會使用下表中的索引與 Amazon Connect Customer Profiles 關聯。


| 標準索引名稱 | Salesforce-Account 來源欄位 | 
| --- | --- | 
|  \$1salesforceAccountId  | Id  | 

例如，您可以使用 `_salesforceAccountId` 作為索引鍵名稱，搭配 [SearchProfiles](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html) API 來尋找設定檔。您可以使用 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html) API，並將 `ProfileId` 和 `ObjectTypeName` 設定為 `Salesforce-Account`，以尋找與特定設定檔關聯的 Salesforce-Account 物件。

## Salesforce-Contact 物件
<a name="salesforcecontactobject"></a>

以下是 Salesforce-Contact 物件中所有欄位的清單。
+ Id
+ IsDeleted
+ MasterRecordId
+ Accountd
+ LastName
+ FirstName
+ Salutation
+ 名稱
+ OtherStreet
+ OtherCity
+ OtherState
+ OtherPostalCode
+ OtherCountry
+ OtherLatitude
+ OtherLongitude
+ OtherGeocodeAccuracy
+ OtherAddress.city
+ OtherAddress.country
+ OtherAddress.geocodeAccuracy
+ OtherAddress.latitude
+ OtherAddress.postalCode
+ OtherAddress.state
+ OtherAddress.street
+ MailingStreet
+ MailingCity
+ MailingState
+ MailingPostalCode
+ MailingCountry
+ MailingLatitude
+ MailingLongitude
+ MailingGeocodeAccuracy
+ MailingAddress.city
+ MailingAddress.country
+ MailingAddress.geocodeAccuracy
+ MailingAddress.latitude
+ MailingAddress.longitude
+ MailingAddress.postalCode
+ MailingAddress.state
+ MailingAddress.street
+ Phone
+ Fax
+ MobilePhone
+ HomePhone
+ OtherPhone
+ AssistantPhone
+ ReportsToId
+ Email
+ Title
+ Department
+ AssistantName
+ LeadSource
+ Birthdate
+ Description
+ OwnerId
+ CreatedDate
+ CreatedById
+ LastModifiedDate
+ LastModifiedById
+ SystemModstamp
+ LastActivityDate
+ LastCURequestDate
+ LastCUUpdateDate
+ LastViewedDate
+ LastReferencedDate
+ EmailBouncedReason
+ EmailBouncedDate
+ IsEmailBounced
+ PhotoUrl
+ Jigsaw
+ JigawContactId
+ CleanStatus
+ IndividualId

## 將 Salesforce-Contact 物件對應到標準設定檔
<a name="mapping-salesforcecontactobject"></a>

Salesforce-Contact 物件中欄位的子集會對應到客戶設定檔中的標準設定檔物件。下表列出了哪些欄位可以從 Salesforce-Contact 物件對應到標準設定檔物件。


| Salesforce-Contact 來源欄位 | 標準設定檔目標欄位 | 
| --- | --- | 
|  Id  | Attributes.sfdcContactId  | 
|  AccountId  | Attributes.sfdcAccountId  | 
|  LastName  | LastName  | 
|  FirstName  | FirstName  | 
|  MiddleName  | MiddleName  | 
|  OtherStreet  | Address.Address1  | 
|  OtherCity  | Address.City  | 
|  OtherState  | Address.State  | 
|  OtherCountry  | Address.Country  | 
|  OtherPostalCode  | Address.PostalCode  | 
|  MailingStreet  | MailingAddress.Address1  | 
|  MailingCity  | MailingAddress.City  | 
|  MailingState  | MailingAddress.State  | 
|  MailingCountry  | MailingAddress.Country  | 
|  MailingPostalCode  | MailingAddress.PostalCode  | 
|  Phone  | PhoneNumber  | 
|  HomePhone  | HomePhoneNumber  | 
|  MobilePhone  | MobilePhoneNumber  | 
|  Email  | EmailAddress  | 
|  Birthdate  | BirthDate  | 

Salesforce 物件中的 Salesforce-Contact 客戶資料會使用下表中的索引與 Amazon Connect Customer Profiles 關聯。


| 標準索引名稱 | Salesforce-Contact 來源欄位 | 
| --- | --- | 
|  \$1salesforceContactId  | Id  | 
|  \$1salesforceAccountId  | AccountId  | 

例如，您可以使用 `_salesforceAccountId` 和 `_salesforceContactId` 作為索引鍵名稱，搭配 [SearchProfiles](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html) API 來尋找設定檔。您可以使用 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html) API，並將 `ProfileId` 和 `ObjectTypeName` 設定為 `Salesforce-Contact`，以尋找與特定設定檔關聯的 Salesforce-Contact 物件。

# 在 Amazon Connect Customer Profiles 中，將 Zendesk 物件映射至標準設定檔
<a name="mapping-zendesk-objects"></a>

本主題列出 Zendesk 物件中的哪些欄位映射到客戶設定檔中標準設定檔的欄位。

## Zendesk-users 物件
<a name="zendeskusersobject"></a>

以下是 Zendesk-users 物件中所有欄位的清單。
+ id
+ url
+ external\$1id
+ email
+ active
+ chat\$1only
+ customer\$1role\$1id
+ role\$1type
+ 詳細資訊
+ last\$1login\$1at
+ locale
+ locale\$1id
+ moderator
+ notes
+ only\$1private\$1comments
+ default\$1group\$1id
+ phone
+ shared\$1phone\$1number
+ photo
+ restricted\$1agent
+ role
+ shared
+ 標籤
+ signature
+ suspended
+ ticket\$1restriction
+ time\$1zone
+ two\$1factor\$1auth\$1enabled
+ user\$1fields
+ verified
+ report\$1csv
+ created\$1at
+ updated\$1at

## 將 Zendesk 使用者對應到標準設定檔
<a name="mapping-zendeskusersobject"></a>

Zendesk-users 物件中的欄位子集會對應到客戶設定檔中的標準設定檔。下表列出了可從 Zendesk-users 物件對應到標準設定檔的欄位。


| Zendesk-users 來源欄位 | 標準設定檔目標欄位 | 
| --- | --- | 
|  id  | Attributes.ZendeskUserId  | 
|  external\$1id  | Attributes.ZendeskExternalId  | 
|  email  | EmailAddress  | 
|  phone  | PhoneNumber  | 

Zendesk 物件中的 Zendesk-users 客戶資料與使用下列索引與 Amazon Connect Customer Profiles 關聯。


| 標準索引名稱 | Zendesk-user 來源欄位 | 
| --- | --- | 
|  \$1zendeskUserId  | Id  | 
|  \$1zendeskExternalId  | external\$1id  | 

例如，您可以使用 `_zendeskUserId` 和 `_zendeskExternalId` 作為索引鍵名稱，並搭配 [SearchProfiles](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html) API 來尋找 Amazon Connect Customer Profiles。您可以使用 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html) API，並將 `ProfileId` 和 `ObjectTypeName` 設定為 `Zendesk-users`，以尋找與特定客戶設定檔關聯的 Zendesk-users 物件。

# 在 Amazon Connect Customer Profiles 中，將 Marketo 物件映射至標準設定檔
<a name="mapping-marketo-objects"></a>

本主題列出 Marketo 物件中的哪些欄位映射到客戶設定檔標準設定檔物件中的欄位。

## Marketo-leads 物件
<a name="marketo-objects"></a>

以下是 Marketo-leads 物件中所有欄位的清單
+ id
+ firstName
+ lastName
+ middleName
+ email
+ phone
+ mobilePhone
+ billingStreet
+ billingCity
+ billingState
+ billingCountry
+ billingPostalCode
+ address
+ 城市
+ state
+ 國家/地區
+ postalcode
+ gender
+ dateOfBirth

## 將 Marketo-leads 對應到標準設定檔
<a name="mapping-marketo-leads-object"></a>

Marketo-leads 物件中的欄位子集會對應到標準設定檔。


| Marketo-leads 來源欄位 | 標準設定檔目標欄位 | 
| --- | --- | 
|  id  | Attributes.MarketoLeadId  | 
|  sfdcAccountId  | Attributes.sfdcAccountId  | 
|  sfdcContactId  | Attributes.sfdcContactId  | 
|  firstName  | FirstName  | 
|  lastName  | LastName  | 
|  middleName  | MiddleName  | 
|  email  | EmailAddress  | 
|  phone  | PhoneNumber  | 
|  mobilePhone  | MobilePhoneNumber  | 
|  mobilePhone  | MobilePhoneNumber  | 
|  billingStreet  | BillingAddress.Address1  | 
|  billingCity  | BillingAddress.City  | 
|  billingState  | BillingAddress.State  | 
|  billingCountry  | BillingAddress.Country  | 
|  billingPostalCode  | BillingAddress.PostalCode  | 
|  address  | Address.Address1  | 
|  城市  | Address.City  | 
|  state  | Address.State  | 
|  國家/地區  | Address.Country  | 
|  postalcode  | Address.PostalCode  | 
|  gender  | Gender  | 
|  dataOfBirth  | BirthDate  | 

Marketo-leads 客戶資料會使用下表中的索引與 Amazon Connect Customer Profiles 關聯。


| 標準索引名稱 | Marketo-leads 來源欄位 | 
| --- | --- | 
|  \$1marketoLeadId  | id  | 
|  \$1salesforceAccountId  | sfdcAccountId  | 
|  \$1salesforceContactId  | sfdcContactId  | 

例如，您可以使用 `_marketoLeadId`、`_salesforceAccountId` 和 `_salesforceContactId` 作為索引鍵名稱，並搭配 [SearchProfiles](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html) API 來尋找 Amazon Connect Customer Profiles。您可以使用 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html) API，並將 `ProfileId` 和 `ObjectTypeName` 設定為 `Marketo-leads`，以尋找與特定客戶設定檔關聯的 Marketo-leads 物件。

# 在 Amazon Connect Customer Profiles 中，將 ServiceNow 物件映射至標準設定檔物件
<a name="mapping-servicenow-objects"></a>

本主題列出 ServiceNow 物件中的哪些欄位對應到 Amazon Connect Customer Profiles 標準設定檔物件中的欄位。

## Servicenow-sys\$1user 物件
<a name="servicenow-sys-user-object"></a>

以下是 Servicenow-sys\$1user 物件中所有欄位的清單
+ sys\$1id
+ active
+ building
+ calendar\$1integration
+ 城市
+ company
+ cost\$1center
+ 國家/地區
+ date\$1format
+ default\$1perspective
+ department
+ edu\$1status
+ email
+ employee\$1number
+ enable\$1multifactor\$1authn
+ failed\$1attempts
+ first\$1name
+ gender
+ home\$1phone
+ internal\$1integration\$1user
+ introduction
+ last\$1login
+ last\$1login\$1device
+ last\$1login\$1time
+ last\$1name
+ last\$1password
+ ldap\$1server
+ location
+ locked\$1out
+ manager
+ middle\$1name
+ mobile\$1phone
+ name
+ notification
+ password\$1needs\$1reset
+ phone
+ photo
+ preferred\$1language
+ roles
+ schedule
+ source
+ state
+ street
+ sys\$1class\$1name
+ sys\$1created\$1by
+ sys\$1created\$1on
+ sys\$1domain.link
+ sys\$1domain.value
+ sys\$1domain\$1path
+ sys\$1id
+ sys\$1mod\$1count
+ sys\$1updated\$1by
+ sys\$1udpated\$1on
+ time\$1format
+ time\$1zone
+ 標題
+ user\$1name
+ user\$1password
+ web\$1service\$1access\$1only
+ zip

## 將 Servicenow-sys\$1users 對應到標準設定檔物件
<a name="mapping-servicenow-sys-user-object"></a>

Servicenow-sys\$1users 物件中欄位的子集會對應到客戶設定檔中的標準設定檔物件。

下表列出哪些欄位可以從 Servicenow-sys\$1users 物件對應到標準設定檔。


| Servicenow-sys\$1users 來源欄位 | 客戶設定檔目標欄位 | 
| --- | --- | 
|  sys\$1id  | Attributes.ServiceNowSystemId  | 
|  first\$1name  | FirstName  | 
|  last\$1name  | LastName  | 
|  middle\$1name  | MiddleName  | 
|  gender  | Gender  | 
|  email  | EmailAddress  | 
|  phone  | PhoneNumber  | 
|  home\$1phone  | HomePhoneNumber  | 
|  mobile\$1phone  | MobilePhoneNumber  | 
|  street  | Address.Address1  | 
|  城市  | Address.City  | 
|  state  | Address.State  | 
|  國家/地區  | Address.Country  | 
|  zip  | Address.PostalCode  | 

來自 Servicenow 物件的 Servicenow-sys\$1user 客戶資料會使用下表中的索引與 Amazon Connect Customer Profiles 關聯。


| 標準索引名稱 | Servicenow-sys\$1user 來源欄位 | 
| --- | --- | 
|  \$1serviceNowSystemId  | sys\$1id  | 

例如，您可以使用 `_serviceNowSystemId` 和 `_serviceNowIncidentId` 作為索引鍵名稱，並搭配 [SearchProfiles](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html) API 來尋找 Amazon Connect Customer Profiles。您可以使用 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html) API，並將 `ProfileId` 和 `ObjectTypeName` 設定為 `Servicenow-sys_user`，以尋找與特定設定檔關聯的 Servicenow-sys\$1user 物件。

# 在 Amazon Connect Customer Profiles 中，將 Segment 物件映射至標準設定檔物件
<a name="mapping-segment-objects"></a>

本主題列出 Segment 物件中的哪些欄位對應到 Amazon Connect Customer Profiles 標準設定檔物件中的欄位。

## Segment-Identity 物件
<a name="segment-identify-object"></a>

以下是 Segment-Identity 物件中所有欄位的清單。
+ userId
+ 常用欄位 - 請參閱 Segment 文件中的 [Spec：常用欄位](https://segment.com/docs/connections/spec/common/)
+ Segment 保留特徵 - 請參閱 Segment 文件中的[特徵](https://segment.com/docs/connections/spec/identify/#traits)
+ traits.address.street 
+ traits.address.city
+ traits.address.state
+ traits.address.postalCode
+ traits.address.country
+ traits.age
+ traits.avatar
+ traits.birthday
+ traits.company.name
+ traits.company.id
+ traits.company.industry
+ traits.company.employee\$1count
+ traits.company.plan
+ traits.createdAt
+ traits.description
+ traits.email
+ traits.firstName
+ traits.gender
+ traits.id
+ traits.lastName
+ traits.name
+ traits.phone
+ traits.title
+ traits.username
+ traits.website

## 將 Segment-Identity 對應到標準設定檔物件
<a name="mapping-segment-identify-object"></a>

Segment-Identity 物件中欄位的子集會對應到客戶設定檔中的標準設定檔物件。

下表列示了可以從 Segment-Identity 物件對應到標準設定檔的欄位。


| Segment-Identify 來源欄位 | 標準設定檔目標欄位 | 
| --- | --- | 
|  | 標準設定檔目標欄位 | 
| userId | Attributes.SegmentUserId | 
| traits.company.name | BusinessName | 
| traits.firstName | FirstName | 
| traits.lastName | LastName | 
| traits.birthday | BirthDate | 
| traits.gender | Gender | 
| traits.phone | PhoneNumber | 
| traits.email | EmailAddress | 
| traits.address.street | Address.Address1 | 
| traits.address.city | Address.City | 
| traits.address.state | Address.State | 
| traits.address.country | Address.Country | 
| traits.address.postalCode | Address.PostalCode | 

### 範例
<a name="example-mapping-segment-identify-object"></a>

下列範例顯示如何將原始欄位對應到目標欄位。

```
"segmentUserId": {
    "Source": "_source.detail.event.detail.userId",
    "Target": "_profile.Attributes.SegmentUserId"
}
```

Segment 物件中的 Segment-Identity 客戶資料會使用下列索引與 Amazon Connect Customer Profiles 關聯。


| 標準索引名稱 | Segment-Identify 來源欄位 | 
| --- | --- | 
|  \$1segmentUserId  |  userId  | 

例如，您可以使用 `_segmentUserId` 作為索引鍵名稱，並搭配 [SearchProfiles](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html) API 來尋找 Amazon Connect Customer Profiles。您可以使用 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html) API，並將 `ProfileId` 和 `ObjectTypeName` 設定為 `Segment-Identify`，以尋找與特定設定檔關聯的 Segment-Identity 物件。

# 在 Amazon Connect Customer Profiles 中，將 Shopify 物件映射至標準設定檔物件
<a name="mapping-shopify-objects"></a>

本主題列出 Shopify 物件中的哪些欄位會對應到 Amazon Connect Customer Profiles 標準設定檔物件中的欄位。

## Shopify-Customer 物件
<a name="shopify-identify-object"></a>

以下是 Shopify-Customer 物件中所有欄位的清單。


+ accepts\$1marketing
+ accepts\$1marketing\$1updated\$1at
+ 地址
+ currency
+ created\$1at
+ default\$1address.address1
+ default\$1address.address2
+ default\$1address.city
+ default\$1address.company
+ default\$1address.country
+ default\$1address.country\$1code
+ default\$1address.country\$1name
+ default\$1address.customer\$1id
+ default\$1address.default
+ default\$1address.first\$1name
+ default\$1address.id
+ default\$1address.last\$1name
+ default\$1address.name
+ default\$1address.phone
+ default\$1address.province
+ default\$1address.province\$1code
+ default\$1address.zip
+ email
+ first\$1name
+ id
+ last\$1name
+ last\$1order\$1id
+ last\$1order\$1name
+ metafield.key
+ metafield.value
+ metafield.namespace
+ metafield.value\$1type
+ marketing\$1opt\$1in\$1level
+ multipass\$1identifier
+ note
+ orders\$1count
+ phone
+ sms\$1marketing\$1consent.state
+ sms\$1marketing\$1consent.opt\$1in\$1level
+ sms\$1marketing\$1consent.consent\$1updated\$1at
+ sms\$1marketing\$1consent.consent\$1collected\$1from
+ state
+ 標籤
+ tax\$1exempt
+ tax\$1exemptions
+ total\$1spent
+ updated\$1at
+ verified\$1email

## 將 Shopify-Customer 物件對應到標準設定檔
<a name="mapping-shopify-customer-object"></a>

Shopify-Customer 物件中欄位的子集會對應到客戶設定檔中的標準設定檔物件。

下表列出了哪些欄位可以從 Shopify-Customer 物件對應到標准設定檔。


| Shopify-Customer 來源欄位 | 標準設定檔目標欄位 | 
| --- | --- | 
| id | Attributes.ShopifyCustomerId | 
| email | EmailAddress | 
| first\$1name | FirstName | 
| last\$1name | LastName | 
| note | AdditionalInformation | 
| phone | PhoneNumber | 
| default\$1address.address1 | Address.Address1 | 
| default\$1address.address2 | Address.Address2 | 
| default\$1address.city | Address.City | 
| default\$1address.province | Address.Province | 
| default\$1address.country | Address.Country | 
| default\$1address.zip | Address.PostalCode | 

### 範例
<a name="example-mapping-shopify-customer-object"></a>

下列範例顯示如何將原始欄位對應到目標欄位。

```
"shopifyCustomerId": {
    "Source": "_source.detail.event.detail.payload.id",
    "Target": "_profile.Attributes.ShopifyCustomerId"
}
```

Shopify 物件中的 Shopify-Customer 客戶資料會使用下列索引與 Amazon Connect Customer Profiles 關聯。


| 標準索引名稱 | Shopify-Customer 來源欄位 | 
| --- | --- | 
| \$1shopifyCustomerId | id | 

例如，您可以使用 `_shopifyCustomerId` 作為索引鍵名稱，並搭配 [SearchProfiles](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html) API 來尋找 Amazon Connect Customer Profiles。您可以使用 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html) API，並將 `ProfileId` 和 `ObjectTypeName` 設定為`Shopify-Customer`，以尋找與特定設定檔關聯的 Shopify-Customer 物件。