Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
GenAiPlanner
Parent Type
File Suffix and Directory Location
GenAiPlanner components have the suffix .genAiPlanner and are stored in the genAiPlanners folder.
Version
GenAiPlanner components are available in API version 60.0 to 63.0. GenAiPlannerBundle replaces GenAiPlanner in API version 64.0 and later.
Special Access Rules
GenAiPlanner is available only if Agents is enabled in your org.
Fields
| Field Name | Description |
|---|---|
| attributeMappings |
|
| capabilities |
|
| description |
|
| genAiFunctions |
|
| genAiPlannerRuleExpressions |
|
| genAiPlugins |
|
| masterLabel |
|
| plannerType |
|
| ruleExpressionAssignments |
|
| ruleExpressions |
|
GenAiPlannerAttrMapping
Represents an attribute mapping, which enables you to map the output of one action attribute to the input of another attribute. This mapping enables you to propagate sensitive data safely without relying on untrusted user input.
| Field Name | Description |
|---|---|
| attributeName |
|
| attributeType |
|
| constantValue |
|
| mappingTargetName |
|
| mappingType |
|
GenAiPlannerFunctionDef
Represents an agent topic or action definition.
| Field Name | Description |
|---|---|
| genAiCustomizedPlugin |
|
| genAiFunctionName |
|
| genAiPluginName |
|
GenAiLocalPlugin
Represents a custom agent topic.
| Field Name | Description |
|---|---|
| aiPluginUtterances |
|
| description |
|
| genAiFunctions |
|
| genAiPluginInstructions |
|
| language |
|
| masterLabel |
|
| name |
|
| pluginType |
|
| scope |
|
GenAiPlannerRuleExprAsgn
Represents a rule-expression assignment to either a topic or an action.
| Field Name | Description |
|---|---|
| ruleExpressionName |
|
| targetName |
|
| targetType |
|
GenAiPlannerRuleExprDef
Represents a rule expression, which conditionally locks or unlocks topics and actions based on defined security criteria.
| Field Name | Description |
|---|---|
| conditions |
|
| expression |
|
| expressionLabel |
|
| expressionName |
|
| expressionType |
|
GenAiPlannerRuleExprCondition
Represents a condition for a rule expression.
| Field Name | Description |
|---|---|
| leftOperand |
|
| leftOperandType |
|
| operator |
|
| rightOperandValue |
|
Declarative Metadata Sample Definition
The following is an example of a GenAiPlanner component.
1<?xml version="1.0" encoding="UTF-8"?>
2<GenAiPlanner xmlns="http://soap.sforce.com/2006/04/metadata">
3 <description>Copilot reasoning engine description</description>
4 <masterLabel>EmployeeCopilotPlanner</masterLabel>
5 <plannerType>AiCopilot__SequentialPlannerIntentClassifier</plannerType>
6</GenAiPlanner>The following is an example package.xml that references the previous definition.
1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3 <types>
4 <members>*</members>
5 <name>GenAiPlanner</name>
6 </types>
7 <version>60.0</version>
8</Package>Wildcard Support in the Manifest File
This metadata type supports the wildcard character * (asterisk) in the package.xml manifest file. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.