Clientell AI

Debug a Salesforce Error

Use Cases:

  • Just tell the agent about a Salesforce bug and it will quickly find the root cause for you.
  • Let the agent analyze errors and pinpoint exactly which rule or setting is causing the problem.
  • Get clear, actionable explanations so you know exactly what to fix in your CRM.
  • Use the agent to debug complex issues and keep your system running smoothly.
TroubleshootConsultant

Prompt

Apex error ‘FIELD_CUSTOM_VALIDATION_EXCEPTION’ on saving Opportunity — identify which validation rule fired and why.

Related use cases

~1 min

Update a Picklist Instantly

Add or remove values without touching Setup.

“Add the value Pilot and deactivate Proof of Concept in the picklist Opportunity_Type__c.”

Opportunity_Type__cPicklist
New BusinessActive
ExpansionActive
+Pilot
New
Proof of ConceptDeactivated
RenewalActive
1 added · 1 deactivated

Create a Formula Field

Describe the math in English. Skip the syntax.

“Create a formula field Margin_Percent__c on Opportunity: (Amount – Cost__c) / Amount.”

f
Formula Field
Percent
API Name
Margin_Percent__c
(Amount - Cost__c) / Amount
Syntax valid
Object: Opportunity

Find Slow Queries Fast

Surface queries over 5s and their caller in one prompt.

“Identify queries in the last 24 h whose execution time > 5 s and list caller (flow, apex).”

Slow QueriesLast 24h
QueryTimeCaller
SELECT * FROM Lead...8.2sFlow
SELECT Account...6.5sApex
SELECT Opp WHERE...5.1sFlow
3 queries > 5sThreshold: 5s

Related Salesforce Errors

Field Custom Validation Exception

FIELD_CUSTOM_VALIDATION_EXCEPTION

Insufficient Access on Cross-Reference Entity

INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY

Duplicate Value

DUPLICATE_VALUE

Required Field Missing

REQUIRED_FIELD_MISSING

Related How-To Guides

How to Troubleshoot Salesforce Errors

Learn how to identify, analyze, and resolve common Salesforce errors quickly and effectively.