Loading
构建适用于服务的 AI 解决方案
设置汇总个案提示模板

设置汇总个案提示模板

修改汇总个案提示模板,以在个案汇总中包含服务计划信息。

所需的 Edition

查看支持版本
所需用户权限
设置汇总个案提示模板:

Agentforce 默认管理员权限集

自定义应用程序或系统管理员

提示模板管理器权限集

服务计划器生成器权限集

增强汇总用户权限集

要设置汇总个案提示模板,您必须为个案设置默认汇总。

在设置时,然后使标准汇总个案提示模板的版本将getPlanDataEnhanced数据操作添加到模板。数据操作添加:

  • 原始问题的描述。
  • 已完成步骤和未完成步骤的汇总。
  • 最终决议。

如果您选择不配置提示模板,但配置了增强汇总,服务代表仍然可以起草个案汇总,但不会包含服务计划信息。

  1. 从“设置”的“快速查找”框中,输入提示生成器,然后选择提示生成器
  2. 在所有提示模板下,选择汇总个案
  3. 从提示生成器菜单中,单击另存为新模板
  4. 从“另存为新模板”窗口中,将模板命名为汇总服务计划个案。这是建议的名称。您可以根据自己的首选项修改名称。
  5. 单击另存为
  6. 从工作区中,删除预先存在的文本并添加此文本。
    You are a summarization assistant. Your job is to generate a clear, professional summary of a support Case and its associated Service Plan. The summary should not include any names, greetings, subject lines, or email formatting—only the body.
           
           You will be given:
           - A **Case**, which may contain one or more communications such as CaseComment, Email, LiveChatTranscript, MessagingSession, VoiceCall, or ConversationEntry.
           - A **Service Plan**, which may be generated to assist in resolving the case.
           
           ---
           
           When a **service plan** is created to help resolve a case, it contains these components:
           - `summarySteps` – A general summary of all actions taken or to be taken. Use this **only if `steps` is empty**.
           - `planStatus` – Represents the overall plan status ( `New` means not started; `InProgress` means user has interacted with some steps and the plan is in progress;`Completed` means user has marked the plan completed)
           - `issueDescription` – A brief description of the problem. Use this to frame your opening statement.
           - `steps` – An ordered list of steps intended to address the issue.
           - `stepName` – A description of the step. Do **not** copy this directly—rephrase it in a customer-friendly, action-oriented tone.
           - `stepExecutionStatus` – Status of each step (`New` means not started; `Completed` means already executed).
           - `stepOrder` – The order in which steps should be performed.
           - `isSuggestedStep` – If the existing policies and actions are not enough to create a complete plan, the reasoning engine can create and add new steps to fill in the gaps. These are called suggested steps. For each of these steps, if isSuggestedStep is true, it indicates that the steps are newly introduced and not part of the grounding data.
           ---
           
           ### Summary Output Instructions
           
           - Start by clearly **restating the issue** from `issueDescription` in a concise, neutral tone.
           - On a new line, **list all completed steps**, rephrased into simple, declarative language and maintaining their correct order.
           - On another line, **highlight the next upcoming step** (only one), if available.
           - If the `steps` array is empty, use the `summarySteps` field to summarize progress.
           - Do **not** reference raw field names or internal labels in your summary.
           - Maintain a **professional and declarative tone**, with no assumptions or speculation.
           
           ---
           
           Service Plan Input:
           {!$SalesforceDataAction:getPlanDataEnhanced.servicePlanInfo}
           
           Case Content Input:
           {!$Flow:case_summaries__GetCaseSummaryInfo.Prompt}
  7. 可选:编辑“汇总输出说明”部分,以根据贵公司特定的信息和资源定制模板。请参阅自定义提示部分。
    我们不建议对任何其他部分进行编辑。请勿删除或编辑服务计划输入或个案内容输入资源。
  8. 单击保存,然后单击激活
  9. 为 ServicePlanner 用户(客服人员用户)和服务代表分配这些权限集。
    1. 服务计划器用户:工作汇总用户。
    2. 服务代表:提示模板用户和工作汇总用户。

设置完成后,服务代表可以使用增强汇总组件创建包含服务计划信息的个案汇总。

请记住,个案摘要仅在个案正式完结时说明解决方案。如果帖子是在个案未处理时起草的,草稿仅包含个案摘要和问题描述。

自定义汇总个案提示模板的提示

示例提示定义了服务助手核心任务及其使用的数据:个案详细信息和服务计划信息。我们建议不要更改模板的此基础部分。

定制提示模板的最有效方法是将贵公司信息添加到汇总输出说明部分。执行此操作可确保提示模板生成的汇总符合贵公司的标准、用例、语音和语气。以下是一些编辑提示模板的指导原则和建议。

指南 详细信息 示例
定义角色和语气。

指定贵公司特有的任何声音和语气准则。

  • “采用友好和鼓励的语气。”
  • “在整个摘要中保持正式和技术性语气。”
  • “以有用的专家身份写作,使复杂的步骤听起来简单可行。”
定义汇总结构。 就如何格式化最终汇总提供清晰的逐步指南。说明要做什么和要避免什么。
  • “从短语‘以下是您的个案和我们采取的步骤的摘要’开始:”
  • “以粗体显示所有已完成的步骤:工作已完成。”
  • “不要使用项目符号。将摘要编写为单个简洁的段落。”
  • “在列出下一步后,添加一句话来解释它的重要性。”
使用额外资源对提示进行基础训练。

除了标准服务计划数据之外,将 Salesforce 资源添加到提示中。这些资源可以包括合并字段、流和 Apex 类。

通过这些资源,您可以将客户详细信息、产品信息或相关个案历史的数据直接插入提示模板。

请参阅使用 Salesforce 资源的基本提示模板

  • 要包含客户的特定产品,您可以添加以下输入:

    Product Information: {!$Flow:case_summaries__GetCaseSummaryInfo.Product_Name__c}

    然后,您可以在输出部分添加相应的指令,例如:

    “提及此个案涉及的产品,{!$Flow:case_summaries__GetCaseSummaryInfo.Product_Name__c}。”

  • 要确保汇总反映个案的紧迫性,您可以添加以下输入:

    {!Case.Priority}

    然后,您可以在输出部分添加相应的指令,例如:

    “始终声明'{!Case.Priority}'

包括公司信息。

说明摘要中必须包含的任何标准公司策略、联系信息或额外资源。

  • “在汇总的末尾,添加我们的标准个案后支持策略:“如果您还有其他问题,请回复此电子邮件或致电 1-800-555-1234。”
  • “包括标题为‘有用资源’的部分,并添加链接到我们的公共 Knowledge 库,网址为 www.yourcompany.com/support。”
  • “用以下行结束整个汇总:“感谢您成为有价值的客户。”
 
正在加载
Salesforce Help | Article