Skip to content

Configuration

Configuration Guide

Complete reference for all agent and capability settings.

Agent Settings

Identity, memory, behavior, and runtime controls.

Trust & Safety

PII masking and prompt safety thresholds.

Capability Design

Implementation type, schemas, and execution rules.

Admin Security Critical Reference

  1. Configure core agent and LLM settings.
  2. Enable trust and safety controls.
  3. Define capability contracts and execution policies.
  4. Validate in sandbox before production rollout.
Troubleshooting Guide Security Reference

Agent Configuration

Basic Settings

FieldTypeDescription
NameTextDisplay name for the agent
DeveloperName__cTextUnique API identifier (no spaces)
AgentType__cPicklistConversational, Function, Workflow, or Email
IsActive__cCheckboxEnable/disable the agent

AI Provider Settings

FieldTypeDescription
LLMConfiguration__cLookupWhich AI provider configuration to use
MemoryStrategy__cPicklistHow to manage conversation history
HistoryTurnLimit__cNumberNumber of conversation turns to remember

Memory Strategies

StrategyDescriptionBest For
BufferWindowKeeps last N turns verbatimShort conversations, precise context
SummaryBufferSummarizes older turnsLong conversations, cost optimization

Behavior Settings

FieldTypeDescription
IdentityPrompt__cLong TextDefines who the agent is (persona)
InstructionsPrompt__cLong TextHow the agent should behave
EnableActionTransparency__cCheckboxShow tool execution details to users
EnableToolReasoning__cCheckboxRequire LLM to explain tool selection for better transparency
AuditLevel__cPicklistNone, Standard, or Detailed logging
EnableDependencyValidation__cCheckboxEnforce tool dependency graph at runtime
ToolDependencyGraph__cLong TextJSON dependency graph (approved)
EnableNextStepSuggestion__cCheckboxInjects _nextStepSuggestion into tools (experimental)

Performance Settings

FieldTypeDescription
AsyncDispatchType__cPicklistHigh (Platform Events) or Low (Queueables)
EnableParallelToolCalling__cCheckboxExecute multiple tools simultaneously
MaxProcessingCycles__cNumberMax LLM cycles per execution

Service User Context (Optional)

FieldTypeDescription
RequiresServiceUserContext__cCheckboxRoute execution through service user context via REST callout
ServiceUserNamedCredential__cTextNamed Credential for loopback callouts

Trust & Safety

FieldTypeDescription
PIIMaskingMode__cPicklistHybrid, Schema-Only, or Pattern-Only
SensitiveClassifications__cMulti-SelectData classifications to mask
PIIPatternCategories__cMulti-SelectRegex pattern categories to enable
PromptSafetyMode__cPicklistBlock, Sanitize, Flag, or LogOnly
SafetyThreshold__cNumberThreat score threshold (0.0–1.0)
SafetyPatternCategories__cMulti-SelectWhich jailbreak categories to enable

Async Dispatch Types

High Concurrency (Platform Events)

Best for production environments with many concurrent users.

  • Handles thousands of simultaneous conversations
  • Event-driven architecture
  • Better scalability
  • Harder to debug

Low Concurrency (Queueables)

Best for development, testing, and debugging.

  • Sequential processing
  • Full debug log support
  • Guaranteed execution order
  • Limited concurrent executions

LLM Configuration

FieldTypeDescription
DeveloperName__cTextUnique identifier
NamedCredential__cTextNamed Credential API name
ProviderAdapterClass__cTextApex class for provider integration
DefaultModelIdentifier__cTextModel identifier (e.g., gpt-4o)
DefaultTemperature__cNumberCreativity level (0.0 - 1.0)
IsActive__cCheckboxEnable this configuration

Temperature Guide

ValueBehaviorUse Case
0.0 - 0.3Deterministic, focusedData retrieval, classification
0.4 - 0.7BalancedGeneral assistance
0.8 - 1.0Creative, variedContent generation

Capability Configuration

Basic Info

FieldTypeDescription
CapabilityName__cTextTool name shown to AI (use snake_case)
Description__cLong TextWhen and how to use this tool
ImplementationType__cPicklistStandard, Apex, or Flow

Implementation Types

TypeDescriptionUse Case
StandardBuilt-in actionsCommon Salesforce operations
ApexCustom Apex classComplex business logic
FlowSalesforce FlowNo-code automation

Execution Settings

FieldTypeDescription
HITLMode__cPicklistHuman-in-the-Loop mode: blank (no HITL), Confirmation (LLM asks in chat), Approval (formal approval process), or ConfirmationThenApproval (both)
HITLNotificationPreference__cPicklistControls when to send notifications for HITL actions: “Always Notify” (default) sends notifications for approvals, rejections, and errors; “Notify on Rejection Only” only sends notifications when actions are rejected. Only applies when HITLMode__c is “Approval” or “ConfirmationThenApproval”.
RunAsynchronously__cCheckboxExecute in separate transaction
FailFastOnError__cCheckboxStop immediately on error
ExposureLevel__cPicklistExternal (visible to LLM), Internal (framework only), or Disabled

Configuration Fields

FieldTypeDescription
BackendConfiguration__cLong TextAdmin settings (JSON)
Parameters__cLong TextTool parameters (JSON Schema)

Writing Effective Descriptions

The capability description is crucial for the AI to understand when to use a tool.

Good Description Example

Search for contacts in Salesforce by name, email, or account.
Use this capability when:
- User asks to find a contact
- User wants contact information
- User mentions a person's name in a business context
Do NOT use when:
- User is asking about accounts (use search_accounts instead)
- User wants to create a new contact (use create_contact instead)

Bad Description Example

Gets contacts

JSON Schema for Parameters

Parameters use JSON Schema format.

Basic Example

{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The contact's full name"
}
}
}

With Required Fields

{
"type": "object",
"required": ["email"],
"properties": {
"email": {
"type": "string",
"description": "Email address (required)"
},
"name": {
"type": "string",
"description": "Optional name filter"
}
}
}

With Enums

{
"type": "object",
"properties": {
"priority": {
"type": "string",
"enum": ["High", "Normal", "Low"],
"description": "Task priority level"
}
}
}

Complex Example

{
"type": "object",
"required": ["objectType"],
"properties": {
"objectType": {
"type": "string",
"enum": ["Account", "Contact", "Opportunity"],
"description": "Salesforce object to search"
},
"filters": {
"type": "array",
"items": {
"type": "object",
"properties": {
"field": {"type": "string"},
"operator": {"type": "string", "enum": ["=", "!=", "LIKE"]},
"value": {"type": "string"}
}
},
"description": "Search filters to apply"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 10,
"description": "Maximum records to return"
}
}
}

Backend Configuration Examples

GetRecords Action

{
"objectApiName": "Contact",
"defaultFields": ["Id", "Name", "Email", "Phone", "Account.Name"],
"defaultLimit": 25
}

CreateRecord Action

{
"objectApiName": "Task",
"defaultValues": {
"OwnerId": "{!$User.Id}",
"Status": "Not Started"
}
}

Flow Action

For Flow implementation, set ImplementationType__c to Flow and put the Flow API name in ImplementationDetail__c.

{
"defaultInputValues": {
"source": "AI_Agent"
}
}