experience-cms-brand-apply
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseApplying CMS Brand
应用CMS品牌
Universal skill for searching, extracting, and applying CMS brand guidelines to generated content.
一款用于搜索、提取并将CMS品牌指南应用于生成内容的通用技能。
Scope
适用范围
This skill is for APPLYING existing brand guidelines from Salesforce CMS to content you generate.
Use this skill when the user wants to:
- Apply their brand voice/tone to generated content
- Find and use brand guidelines stored in Salesforce CMS
- Search for an existing brand in their org
- Get brand instructions for content generation
- Ensure generated content matches their brand identity
- Apply brand styling, tone, or voice to a page, component, or app
DO NOT use this skill when the user wants to:
- Search for images or media (use experience-content-media-search skill)
- Create a new brand from scratch
- Edit brand definitions in CMS
- Generate logos or visual brand assets
本技能用于将Salesforce CMS中的现有品牌指南应用于你生成的内容。
当用户需要以下操作时使用本技能:
- 将品牌语气/语调应用于生成的内容
- 查找并使用存储在Salesforce CMS中的品牌指南
- 在组织内搜索现有品牌
- 获取内容生成的品牌说明
- 确保生成的内容符合品牌标识
- 将品牌风格、语调或语气应用于页面、组件或应用
以下场景请勿使用本技能:
- 搜索图片或媒体(请使用experience-content-media-search技能)
- 从零开始创建新品牌
- 在CMS中编辑品牌定义
- 生成标志或视觉品牌资产
Before You Start
开始之前
CRITICAL: You must retrieve brand instructions BEFORE applying any brand.
When a user requests branded content:
- Search for available brands (if brand is not already identified)
- Extract brand instructions for the selected brand
- Apply brand guidelines to all content you generate
Never generate content first and retrofit branding later. Brand instructions must inform content generation from the start.
重要提示:在应用任何品牌之前,必须先检索品牌说明。
当用户请求品牌化内容时:
- 搜索可用品牌(如果品牌尚未确定)
- 提取所选品牌的品牌说明
- 将品牌指南应用于所有生成的内容
切勿先生成内容再事后添加品牌。品牌说明必须从一开始就指导内容生成。
Workflow Overview
工作流概述
Copy this checklist and track your progress:
CMS Branding Progress:
- [ ] Step 1: Determine if brand is already identified or needs search
- [ ] Step 2: Search for brands (if needed) and present options to user
- [ ] Step 3: Extract brand instructions for the selected brand复制此清单并跟踪进度:
CMS Branding Progress:
- [ ] Step 1: Determine if brand is already identified or needs search
- [ ] Step 2: Search for brands (if needed) and present options to user
- [ ] Step 3: Extract brand instructions for the selected brandStep 1: Determine Brand Context
步骤1:确定品牌背景
Check if the user has already specified which brand to use:
Brand is known (user named it, or only one brand exists):
- Skip to Step 3 (Extract Brand Instructions)
Brand is unknown (user says "apply my brand" without specifying which):
- Proceed to Step 2 (Search for Brands)
检查用户是否已指定要使用的品牌:
品牌已明确(用户已命名,或仅存在一个品牌):
- 跳至步骤3(提取品牌说明)
品牌未明确(用户说“应用我的品牌”但未指定具体品牌):
- 继续步骤2(搜索品牌)
Step 2: Search for Brands
步骤2:搜索品牌
Tool:
search_brandsProcess:
- Determine search query — Use the user's description, company name, or a general keyword
- Build the request:
json
{
"inputs": [{
"searchQuery": "keyword or brand name"
}]
}- Call with the query
search_brands - Parse the response — Extract brand results:
- — Unique ID (use this for extraction in Step 3)
managedContentId - — Content key identifier
managedContentKey - — Brand display name
title - — URL to the brand content
contentUrl - — Number of brands found
totalResults
工具:
search_brands流程:
- 确定搜索查询 — 使用用户的描述、公司名称或通用关键词
- 构建请求:
json
{
"inputs": [{
"searchQuery": "keyword or brand name"
}]
}- **调用**并传入查询参数
search_brands - 解析响应 — 提取品牌结果:
- — 唯一ID(步骤3提取时使用)
managedContentId - — 内容键标识符
managedContentKey - — 品牌显示名称
title - — 品牌内容的URL
contentUrl - — 找到的品牌数量
totalResults
Presenting Brand Results
展示品牌结果
If multiple brands found, use to present options:
ask_followup_questionI found [N] brands in your CMS. Which one should I apply?
1. [Brand Title 1]
2. [Brand Title 2]
3. [Brand Title 3]
Which brand would you like to use?If one brand found, confirm with the user:
I found the brand "[Brand Title]". Should I apply this brand's guidelines to the content?If no brands found:
No brands found in Salesforce CMS. To use branding:
1. Create a brand in Salesforce CMS (Content Type: sfdc_cms__brand)
2. Provide brand guidelines directly in this conversation
Would you like to proceed without CMS branding, or provide guidelines manually?Never auto-select a brand without confirmation. Always wait for user choice.
如果找到多个品牌,使用呈现选项:
ask_followup_questionI found [N] brands in your CMS. Which one should I apply?
1. [Brand Title 1]
2. [Brand Title 2]
3. [Brand Title 3]
Which brand would you like to use?如果找到一个品牌,向用户确认:
I found the brand "[Brand Title]". Should I apply this brand's guidelines to the content?如果未找到品牌:
No brands found in Salesforce CMS. To use branding:
1. Create a brand in Salesforce CMS (Content Type: sfdc_cms__brand)
2. Provide brand guidelines directly in this conversation
Would you like to proceed without CMS branding, or provide guidelines manually?切勿未经确认自动选择品牌。始终等待用户选择。
Step 3: Extract Brand Instructions
步骤3:提取品牌说明
Tool:
get_brand_instructionsProcess:
-
Call— This retrieves the branding extraction prompt template
get_brand_instructions -
Parse the response:
- — Contains the full brand instruction prompt with extraction and application rules
promptBody
-
Follow the instructions in— The prompt template contains specific guidance on:
promptBody- How to extract brand properties from the brand content
- Brand voice and tone rules
- Typography and color guidelines
- Content formatting rules
- Guardrails and restrictions
工具:
get_brand_instructions流程:
-
调用— 此工具用于检索品牌提取提示模板
get_brand_instructions -
解析响应:
- — 包含完整的品牌说明提示,其中包含提取和应用规则
promptBody
-
遵循中的说明 — 提示模板包含以下具体指导:
promptBody- 如何从品牌内容中提取品牌属性
- 品牌语气和语调规则
- 排版和色彩指南
- 内容格式规则
- 约束条件和限制
What Brand Instructions Contain
品牌说明包含的内容
The extracted brand instructions typically include:
| Property | Description |
|---|---|
| Brand Voice | How the brand speaks (e.g., professional, friendly, authoritative) |
| Brand Tone | Emotional quality of communication (e.g., confident, warm, empathetic) |
| Key Messages | Core messaging pillars and value propositions |
| Content Rules | Dos and don'ts for content generation |
| Style Guidelines | Typography, color, spacing preferences |
| Guardrails | Hard restrictions on language, topics, or claims |
提取的品牌说明通常包括:
| Property | 描述 |
|---|---|
| Brand Voice | 品牌的沟通语气(例如:专业、友好、权威) |
| Brand Tone | 沟通的情感特质(例如:自信、热情、共情) |
| Key Messages | 核心信息支柱与价值主张 |
| Content Rules | 内容生成的注意事项(可做与不可做) |
| Style Guidelines | 排版、色彩、间距偏好 |
| Guardrails | 语言、主题或声明的严格限制 |
Error Handling
错误处理
| Error | Response |
|---|---|
| "Brand search is unavailable. Please provide your brand name or guidelines directly." |
| "Cannot retrieve brand instructions. Please share your brand guidelines in this conversation and I'll apply them manually." |
| Org lacks Vibes branding | "CMS branding is not enabled for this org. Contact your admin to enable the Agentforce Vibes branding feature." |
| Permission denied | "You don't have permission to access CMS brands. Ensure you have Managed Content Authoring permission." |
| Brand extraction returns empty | "The brand exists but has no configured guidelines. Please add brand properties in CMS or provide guidelines here." |
Never silently fail. Always inform the user and offer alternatives.
| Error | 响应 |
|---|---|
| "品牌搜索不可用。请直接提供你的品牌名称或指南。" |
| "无法检索品牌说明。请在此对话中分享你的品牌指南,我将手动应用。" |
| Org lacks Vibes branding | "此组织未启用CMS品牌化功能。请联系管理员启用Agentforce Vibes品牌化功能。" |
| Permission denied | "你没有访问CMS品牌的权限。请确保你拥有Managed Content Authoring权限。" |
| Brand extraction returns empty | "该品牌存在但未配置指南。请在CMS中添加品牌属性或在此处提供指南。" |
切勿静默失败。始终告知用户并提供替代方案。
Key Principles
核心原则
- Brand first, content second — Always extract brand instructions before generating content
- Never assume brand guidelines — Only apply what was explicitly retrieved from CMS
- Respect guardrails absolutely — Brand content rules are hard constraints, not suggestions
- Confirm brand selection — Never auto-select a brand without user confirmation
- Show your work — Tell the user which guidelines you applied and how
- Graceful degradation — If tools are unavailable, ask for manual guidelines rather than proceeding without branding
- 品牌优先,内容其次 — 始终先提取品牌说明再生成内容
- 切勿假设品牌指南 — 仅应用从CMS中明确检索到的内容
- 绝对遵守约束条件 — 品牌内容规则是硬性限制,而非建议
- 确认品牌选择 — 切勿未经用户确认自动选择品牌
- 展示工作过程 — 告知用户你应用了哪些指南以及如何应用
- 优雅降级 — 如果工具不可用,请请求手动提供指南,而非不进行品牌化就继续操作