為Microsoft Dynamics設定 CRM 配置

本頁介紹如何為Microsoft Dynamics設定 CRM 配置。 這是在NiCE CXone中完成的。 此設定將 Microsoft Dynamics 連接至 NiCE CXone Agent Workspace (Browser Extension) (Agent Integrated)。 其允許此兩者透過資料記憶化和動態資料配對來分享資料。

當CRM驗證憑證過期時,需要9至15秒才能產生新的憑證。這表示資料儲存和動態資料配對可能需要9至15秒才能執行,尤其是在當日的首次互動期間。

按照給定的順序完成每一個任務。

在NiCE CXone中建立新 CRM 配置

所需權限: 配置 建立

向NiCE CXone提供連接到Microsoft Dynamics所需的資訊。

如果建立 CRM 配置的 Microsoft Dynamics 使用者帳戶被刪除或停用,則該 CRM 配置亦會被刪除。 透過在Microsoft Dynamics中專門為NiCE CXone配置建立使用者帳戶來防止這種情況。 這是系統使用者。 建議賦予系統使用者管理員權限。 如果您不想授予該系統使用者管理員權限,則必須授予其以下權限:

  • 讀取所有 Microsoft Dynamics 個實體記錄及實體欄位的存取權限。

  • 對您所設定的工作流程(包括搜尋工作流程、建立工作流程及資料儲存)中將被存取或更新的所有 Microsoft Dynamics 實體記錄,具有讀取/寫入權限。

您稍後在此流程中設定的工作流程會使用系統使用者的角色和權限。建立或更新記錄時,會使用系統使用者的名稱及時區。

  1. 在NiCE CXone中,按一下應用程式選取器Icon of three-by-three grid of white squares on a blue background,然後選取 客服專員整合 圖示:一個橘色齒輪,內部有三個箭頭。 > 配置。
  2. 點擊新 CRM 設定..
  3. 在選擇地區下拉式清單中,選擇您想將此 CRM 設定連接到的地區:AMERICAS、亞太地區或EMEA。

    您無法稍後變更此區域。如果您想要將 CRM 設定從一個區域移至另一個區域,則必須建立新的 CRM 設定。這包括重新驗證、重新建立資料儲存和動態資料對應,以及在您的 Studio 程式碼中重新設定 WORKFLOW EXECUTE 和 AGENT WORKFLOW CONFIGURATION 動作。

  4. 選取Microsoft Dynamics 365或Microsoft Dynamics 365 - OAuth 2 with Client Credentials,從整合類型下拉式選單中選取。您所選取的選項將決定驗證欄位。
  5. 輸入配置名稱。 您可以寫入描述。
  6. 點擊驗證。
  7. 在彈出的「驗證」視窗中,請選擇列出的驗證帳戶之一(如有)。

    每個 Microsoft Dynamics 帳戶應用於驗證一個 CRM 設定。請勿重複使用帳戶。

    If you have accounts listed, but want to create a new one, scroll to the end of the drop-down and click Add a new account. If you don't have any accounts listed, click New authentication. Configure the fields that appear:

    1. To change the name of the authentication, edit Your authentication name.
    2. Enter your Microsoft Dynamics 365 URL. To find it, open your instance of Microsoft Dynamics and copy and paste the URL from the address bar in your browser. You only need the URL up until .com. For example: https://ven12345.dynamics.microsoft.com.

      If you selected Microsoft Dynamics 365 as your Integration Type, skip to step G.

    3. Enter your support Scope. Learn about defining your support scope Icon of dark gray square with an arrow pointing out of its upper right corner in the Microsoft Dynamics documentation.
    4. Enter your Client ID. Learn about setting up your client ID Icon of dark gray square with an arrow pointing out of its upper right corner in the Microsoft Dynamics documentation.
    5. Enter your Tenant ID. Learn about finding your tenant ID Icon of dark gray square with an arrow pointing out of its upper right corner in the Microsoft Dynamics documentation.
    6. Enter your Client Secret. Learn about setting up your client secret Icon of dark gray square with an arrow pointing out of its upper right corner in the Microsoft Dynamics documentation.
    7. Click Create.
    8. If you haven't already, log in to Microsoft Dynamics with the system user account you created specifically for NiCE CXone configuration. If you're already logged in to Microsoft Dynamics, make sure you're logged in with the system user account.
    9. If a window from Microsoft Dynamics appears asking to allow NiCE to connect to your Microsoft Dynamics account, click Allow.

  8. 點擊下一步。
  9. 如果出現 external_screenpop_domain_md 欄位,請輸入您的 Microsoft Dynamics 365 URL。 要找到它,請打開 Microsoft Dynamics 實例,然後從瀏覽器位址欄中複製並貼上 URL。 您只需要帶有 .com 的 URL。 例如:https://ven12345.dynamics.microsoft.com.

  10. 點擊結束。 在右下角會出現一條訊息,告訴您驗證已經啟動。
  11. 在「客服專員整合」頂部右上角按一下儲存。

建立資料儲存對應

所需權限: 配置編輯;建立資料記憶

Data memorialization mappings allow for data from Agent Workspace (Browser Extension) (Agent Integrated) to be popped into Microsoft Dynamics records. In these mappings, you select the NiCE CXone data field to map to each Microsoft Dynamics record field. For example, if you map the Customer Name NiCE CXone data field to the Name Microsoft Dynamics record field, Name displays the value from Customer Name. Only text is mapped; attachments, images, and notes cannot be mapped. Currently, you can set up data mappings for standard CRM entity types.

對於語音互動,在呼叫結束和客服專員完成 ACWClosed 讓客服專員在完成互動後完成工作要求的狀態。 時間(如果已配置)時執行資料記憶化。 對於數碼Closed 與 Digital Experience (DX) 相關聯的任何通道、聯絡或技能。互動,當客服專員轉接該互動,或當他們從自己身上取消指派並捨棄該互動時,便會發生此情況。 如果聯絡人Closed 在您的聯絡中心內與客服專員、IVR 或機械人互動的人員。先結束互動,則不會對狀態、處置、備註及標記執行資料儲存。 然而,所有其他已配置的資料儲存都會對應至CRM記錄。

  1. 如果尚未開啟,請為 Microsoft Dynamics 開啟 CRM 配置。在NiCE CXone中,按一下應用程式選取器Icon of three-by-three grid of white squares on a blue background,然後選取 客服專員整合 icon: an orange gear with three arrows inside. > 配置。 從清單中選擇 CRM 配置。
  2. 點擊資料記憶標籤。
  3. 點擊新建資料配對。
  4. 輸入配對的名稱。 您可以選擇輸入說明。
  5. 在選擇實體類型下拉式清單中,選擇您要為其建立欄位對應的Microsoft Dynamics記錄類型。

  6. 點擊新增實體。
  7. 在顯示的外部 CRM 欄位下拉式清單中,選擇您想要從中接收Agent Workspace (Browser Extension) (Agent Integrated)資料的Microsoft Dynamics記錄欄位。

    如果您想要配對互動的完整轉錄,請選擇具有正確格式和足夠大字元限制的記錄欄位。 如果該欄位不符合這些要求,則僅顯示部分轉錄或不顯示轉錄,具體取決於 CRM。

  8. 在選擇通道下拉式清單中,選擇您要對應至所選Microsoft Dynamics記錄欄位的NiCE CXone資料類型。

    我們建議您在建立的每個新通道上,為語音及digital channels建立兩個獨立的配對。這樣可避免互動中的記錄產生不必要的資料配對。之後,即可將Studio Actions新增至語音或數碼配對中。

  9. 在NiCE CXone資料下拉式清單中,選取您要對應至所選Microsoft Dynamics記錄欄位的NiCE CXone資料欄位。

    如果您在選擇通道下拉式清單中選取了指令碼變數,請在CXone資料欄位中輸入指令碼變數。 即使您在指令碼中使用駝峰式大小寫來定義變量,也必須以小寫形式輸入。

  10. 要新增更多的資料欄位,點擊新增欄位。
  11. 要為另一個Microsoft Dynamics記錄類型設定對應,請從選擇實體類型下拉式清單中選取不同的記錄類型,然後按一下新增實體。
  12. 點擊頁面頂部的儲存。 活動的資料配對顯示在「資料記憶」標籤中。

    在此流程的下一個工作中,請在您的 Studio 程式碼中的 AGENT WORKFLOW CONFIGURATION 動作中選取該資料配對。當您在該動作精靈的 動作 下拉式清單中選取 資料儲存 時,即會顯示此選項。

建立動態資料配對

所需權限: 配置編輯;動態資料建立

動態資料配對可讓您選擇哪些Microsoft Dynamics記錄欄位會顯示在Agent Workspace (Browser Extension) (Agent Integrated)中。您可以為透過搜尋工作流程擷取的標準Microsoft Dynamics記錄類型設定動態資料配對。您也可以為透過自訂建立工作流程所建立的自訂記錄設定動態資料配對。對於每個記錄類型,您最多可以新增十個字串欄位。您最多可以新增三個資料類型非字串的欄位。

  1. 如果尚未開啟,請為 Microsoft Dynamics 開啟一個 CRM 配置。在NiCE CXone中,按一下應用程式選取器Icon of three-by-three grid of white squares on a blue background,然後選取 客服專員整合 icon: an orange gear with three arrows inside. > 配置。 從清單中選擇 CRM 配置。
  2. 點擊動態資料標籤。
  3. 點擊新建資料配對。
  4. 輸入配對的名稱。 您可以選擇輸入說明。
  5. 在選擇實體類型下拉式清單中,選擇包含您要在Agent Workspace (Browser Extension) (Agent Integrated)中顯示的欄位的Microsoft Dynamics記錄類型。

  6. 點擊新增實體。
  7. 在出現的外部CRM欄位下拉式選單中,選擇您想要顯示給客服人員的Microsoft Dynamics記錄欄位。

  8. 如要新增更多Microsoft Dynamics記錄欄位,請按一下新增欄位。 每個記錄類型最多可以新增五個欄位。
  9. 點擊頁面頂部的儲存。 活動的動態資料配對顯示在動態資料標籤中。

    在此流程中的下一個工作中,在您的Studio腳本中的AGENT WORKFLOW CONFIGURATION 動作中選取該動態資料配對。當您在該動作精靈的 Actions 下拉式清單中選取 Search 時,便會顯示此項。

整合 Microsoft Dynamics 與 Agent Workspace (Browser Extension) (Agent Integrated) 的下一個步驟是修改您的 Studio 程式碼。