

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 为联系后工作启用智能默认指南
<a name="enable-smart-default-guides-acw"></a>

Connect Cust Step-by-Step omer 为联系后工作 (ACW) 提供了默认指南，当座席进入 ACW 状态时，该指南会自动启动。本指南通过直接在座席工作区中显示处置代码、联系人摘要和后续操作等总结任务，无需手动配置，从而标准化了联系后的工作流程。

在此功能发布日期之后创建的新 Connect Customer 实例会自动包含智能默认指南。对于现有实例，您可以通过导入默认流程并将其配置为使用 AWS 托管视图来启用此功能。

**要在现有实例上启用智能默认指南，请执行以下操作：**

1. 复制本节底部提供的流程架构 (JSON)。

1. 在 Connect 客户管理工作区中，导航至 “**路由**” > “**流程**”。

1. 选择**创建流程**，然后选择**导入流程**并将复制的 JSON 架构作为文件上传。

1. 在流程设计器中打开导入的流程。

1. 在流程中找到 **“显示视图**” 块。选择它以打开其配置。

1. 在 “**查**看” 下，可能已经显示了视图名称，但您必须从下拉列表中选择标题为 “**联系工作之后**” 的 AWS 托管视图。

1. 保存并发布流程。

1. 导航到处理您要为其启用 ACW 指南的联系人的入站联系流程。添加或配置 Se **t event flow** 模块，并将其设置为引用您在前面步骤中导入的联系工作流程之后的示例。保存并发布入站联系流程。

发布后，通过该入站流程处理联系人的客服将在进入联系后工作状态时自动获得引导式 ACW 体验。该指南包括处置代码捕获、联系人摘要审查和后续跟踪。您可以根据组织的特定总结要求自定义流程或查看内容。

**流程架构**

```
{
  "Version": "2019-10-30",
  "StartAction": "e4b91d3f-dda6-4ec8-b51a-57bc96e88c52",
  "Metadata": {
    "entryPointPosition": { "x": 40, "y": 40 },
    "ActionMetadata": {
      "e4b91d3f-dda6-4ec8-b51a-57bc96e88c52": {
        "position": { "x": 181.6, "y": 29.6 },
        "parameters": {
          "ViewResource": { "Id": { "displayName": "After Contact Work" } },
          "InvocationTimeLimitSeconds": { "unit": 1 }
        }
      },
      "Save collected data to the current contact": { "position": { "x": 492, "y": 72 }, "isFriendlyName": true, "dynamicParams": [] },
      "Save collected data to the related contact": { "position": { "x": 705.6, "y": 72 }, "isFriendlyName": true, "dynamicParams": [] },
      "06a44c9e-c7dd-4f05-8ac0-f2221bb155d5": { "position": { "x": 776.8, "y": 313.6 } },
      "6f30b2d7-0f15-44b5-8236-3012afa746b3": { "position": { "x": 473.6, "y": 384.8 } },
      "930a4e8d-8727-4783-b23a-4c896387a052": { "position": { "x": 1266.4, "y": 102.4 } }
    },
    "Annotations": [
      {
        "type": "default",
        "id": "835afeaa-9359-40f2-abdd-dfd4d7c89651",
        "content": "This block will render a view in the agent workspace for users to collect information during after contact work.",
        "actionId": "e4b91d3f-dda6-4ec8-b51a-57bc96e88c52",
        "isFolded": true,
        "position": { "x": 240.5, "y": 378 },
        "size": { "height": 295, "width": 300 }
      }
    ],
    "name": "Sample after contact work flow",
    "description": "Sample flow to show guides in after contact work.",
    "type": "contactFlow",
    "status": "PUBLISHED",
    "hash": {}
  },
  "Actions": [
    {
      "Parameters": {
        "ViewResource": { "Id": "arn:aws:connect:eu-central-1:aws:view/after-contact-work:1" },
        "InvocationTimeLimitSeconds": "480",
        "ViewData": {
          "CustomerName": "Jane Doe",
          "Example_Label": "example.com",
          "PhoneNumber": "(880) 953-0129",
          "AdditionalNotes_DefaultValue": "Additional contact details...",
          "AdditionalNotes_Header_Description": "Add any extra information that may be helpful for future reference.",
          "AdditionalNotes_Header_Title": "Additional Notes",
          "Category_DefaultValue": "Support",
          "ContactSummary_Header_Description": "Review and confirm the details of this contact.",
          "ContactSummary_Header_Title": "Contact Summary",
          "ContactSummary_DefaultValue": "During this contact, the customer...",
          "ContactWrapUp_Header_Description": "Complete your contact by selecting a disposition code, reviewing the contact summary, and adding any important notes.",
          "ContactWrapUp_Header_Title": "Contact Wrap-up",
          "Disposition_Header_Description": "Classify this customer interaction.",
          "Disposition_Header_Title": "Disposition codes",
          "Driver_DefaultValue": "Billing inquiries",
          "Example_Url": "https://example.com",
          "Satisfaction_DefaultValue": "Very Satisfied",
          "FollowUp_DefaultValue": "No",
          "Resolved_DefaultValue": "Yes"
        }
      },
      "Identifier": "e4b91d3f-dda6-4ec8-b51a-57bc96e88c52",
      "Type": "ShowView",
      "Transitions": { "NextAction": "6f30b2d7-0f15-44b5-8236-3012afa746b3", "Conditions": [ { "NextAction": "930a4e8d-8727-4783-b23a-4c896387a052", "Condition": { "Operator": "Equals", "Operands": ["Cancel"] } }, { "NextAction": "Save collected data to the current contact", "Condition": { "Operator": "Equals", "Operands": ["Submit"] } } ], "Errors": [ { "NextAction": "6f30b2d7-0f15-44b5-8236-3012afa746b3", "ErrorType": "NoMatchingCondition" }, { "NextAction": "6f30b2d7-0f15-44b5-8236-3012afa746b3", "ErrorType": "NoMatchingError" }, { "NextAction": "930a4e8d-8727-4783-b23a-4c896387a052", "ErrorType": "TimeLimitExceeded" } ] }
    },
    { "Parameters": { "Attributes": { "Category": "$.Views.ViewResultData.Category.0", "Driver": "$.Views.ViewResultData.Driver.0", "Satisfaction": "$.Views.ViewResultData.Satisfaction.0", "FollowUp": "$.Views.ViewResultData.FollowUp.0", "Resolved": "$.Views.ViewResultData.Resolved.0", "ModifiedSummary": "$.Views.ViewResultData.ModifiedSummary", "ContactNotes": "$.Views.ViewResultData.ContactNotes" }, "TargetContact": "Current" }, "Identifier": "Save collected data to the current contact", "Type": "UpdateContactAttributes", "Transitions": { "NextAction": "Save collected data to the related contact", "Errors": [ { "NextAction": "06a44c9e-c7dd-4f05-8ac0-f2221bb155d5", "ErrorType": "NoMatchingError" } ] } },
    { "Parameters": { "Attributes": { "Category": "$.Views.ViewResultData.Category.0", "Driver": "$.Views.ViewResultData.Driver.0", "Satisfaction": "$.Views.ViewResultData.Satisfaction.0", "FollowUp": "$.Views.ViewResultData.FollowUp.0", "Resolved": "$.Views.ViewResultData.Resolved.0", "ModifiedSummary": "$.Views.ViewResultData.ModifiedSummary", "ContactNotes": "$.Views.ViewResultData.ContactNotes" }, "TargetContact": "Related" }, "Identifier": "Save collected data to the related contact", "Type": "UpdateContactAttributes", "Transitions": { "NextAction": "930a4e8d-8727-4783-b23a-4c896387a052", "Errors": [ { "NextAction": "06a44c9e-c7dd-4f05-8ac0-f2221bb155d5", "ErrorType": "NoMatchingError" } ] } },
    { "Parameters": { "SkipWhenDTMFBufferEnabled": "false", "Text": "There was an error saving the data as contact attributes" }, "Identifier": "06a44c9e-c7dd-4f05-8ac0-f2221bb155d5", "Type": "MessageParticipant", "Transitions": { "NextAction": "930a4e8d-8727-4783-b23a-4c896387a052", "Errors": [ { "NextAction": "930a4e8d-8727-4783-b23a-4c896387a052", "ErrorType": "NoMatchingError" } ] } },
    { "Parameters": { "SkipWhenDTMFBufferEnabled": "false", "Text": "We're sorry, an error occurred with the ShowView block" }, "Identifier": "6f30b2d7-0f15-44b5-8236-3012afa746b3", "Type": "MessageParticipant", "Transitions": { "NextAction": "930a4e8d-8727-4783-b23a-4c896387a052", "Errors": [ { "NextAction": "930a4e8d-8727-4783-b23a-4c896387a052", "ErrorType": "NoMatchingError" } ] } },
    { "Parameters": {}, "Identifier": "930a4e8d-8727-4783-b23a-4c896387a052", "Type": "DisconnectParticipant", "Transitions": {} }
  ]
}
```