Top 50 Salesforce Agentforce Interview Questions and Answers 2026 — AI Agents, Einstein Trust Layer, Prompt Builder & Data Cloud Explained

📅  Agentforce
Top 50 Salesforce Agentforce Interview Questions 2026
🤖 Salesforce Agentforce 2026

Top 50 Salesforce Agentforce Interview Questions 2026

Einstein Trust Layer, Prompt Builder, AI Agents, Data Cloud, Actions & Real Scenarios — Complete Guide from Basic to Advanced

50
Questions
3
Difficulty Levels
2026
Updated
🔥
Trending Topic
🟩 Basic Level — Agentforce Foundations
Q1
What is Salesforce Agentforce? Basic

📍 Direct Answer

Agentforce is Salesforce's AI-powered autonomous agent platform that allows businesses to build, deploy and manage AI agents that can independently perform complex tasks across Sales, Service, Marketing and more — without constant human intervention.

📍 What Makes It Different

Unlike traditional automation tools like Flow or Process Builder, Agentforce agents can understand natural language, reason through multi-step problems, take actions and learn from context — all powered by Large Language Models (LLMs) grounded in your Salesforce CRM data.

LayerWhat It Does
UnderstandInterprets natural language requests from users
ReasonFigures out what steps are needed to complete the task
ActExecutes Apex, Flow, API calls or other actions
LearnUses context from CRM data to improve responses
🎤 One-Liner:
"Agentforce is Salesforce's platform for building autonomous AI agents that understand natural language, reason through problems, take actions on your behalf, and are grounded in your trusted Salesforce CRM data."
Q2
What is the difference between Agentforce and a traditional chatbot? Basic
FactorTraditional ChatbotAgentforce Agent
LogicRule-based, scripted flowsAI-driven reasoning
InputKeyword matching onlyNatural language understanding
FlexibilityCan only handle predefined pathsHandles any variation of request
ActionsTriggers hardcoded responsesExecutes Apex, Flow, API calls
ContextNo memory between turnsMulti-turn conversation with context
DataStatic scripted answersGrounded in live CRM data
EscalationManual keyword triggersIntelligent escalation decisions
🎤 One-Liner:
"Traditional chatbots follow scripts. Agentforce agents reason — they understand intent, pull live CRM data, decide what action to take, and execute it autonomously across any topic."
Q3
What is the difference between Einstein Copilot and Agentforce? Basic

📍 Key Difference

People often confuse these two. Here is the clear distinction:

FactorEinstein CopilotAgentforce
What it isAI assistant for internal Salesforce usersPlatform to build autonomous AI agents
Who uses itSales reps, service agents (internal users)External customers, partners, or internal users
InterfaceSidebar/chat UI inside SalesforceWeb, chat, voice, mobile channels
AutonomyAssists and suggests — human decidesExecutes tasks autonomously
RelationshipCopilot is powered by Agentforce engineAgentforce is the underlying platform
🎤 One-Liner:
"Einstein Copilot is the AI assistant inside Salesforce for your sales team. Agentforce is the platform that powers it — and allows you to build agents for any audience on any channel."
Q4
What are the types of Agentforce Agents? Basic
Agent TypePurposeExample Use Case
Service AgentCustomer support automationAnswer case queries, update records, escalate
Sales AgentSales process automationQualify leads, summarize pipeline, schedule meetings
SDR AgentSales Development Rep automationOutbound prospecting, email follow-ups
Personal ShopperCommerce recommendationsProduct recommendations for e-commerce
Campaign AgentMarketing automationCampaign creation, audience segmentation
Custom AgentAny business-specific purposeHR queries, IT helpdesk, internal support
🎤 One-Liner:
"Salesforce provides standard agents for Service, Sales, SDR, Commerce and Marketing — plus the ability to build completely custom agents for any business use case using Agent Builder."
Q5
What is the Einstein Trust Layer? Basic

📍 What Is It?

The Einstein Trust Layer is Salesforce's AI security and governance framework that sits between your Salesforce data and the Large Language Model. It ensures that AI interactions are secure, private and compliant.

📍 What It Does

FunctionWhat It Does
Data MaskingReplaces sensitive PII before sending to LLM
Zero Data RetentionLLM providers cannot store or train on your data
Toxicity DetectionBlocks harmful, offensive or inappropriate outputs
Audit TrailLogs every AI interaction for compliance review
Prompt Injection DefenseBlocks attempts to manipulate the AI via prompts
GroundingEnsures responses are based on real CRM data not hallucinations
🎤 One-Liner:
"The Einstein Trust Layer is Salesforce's AI safety net — it masks PII, prevents data retention by LLMs, detects toxicity, maintains audit trails and grounds AI responses in real CRM data before any output reaches the user."
Q6
What is Prompt Builder in Salesforce? Basic

📍 What Is Prompt Builder?

Prompt Builder is a declarative tool in Salesforce that allows admins and developers to create, manage and deploy reusable prompt templates for AI features — without writing code.

📍 Key Capabilities

  • Create dynamic prompts with merge fields from Salesforce records
  • Ground prompts in real CRM data (Account, Contact, Case etc.)
  • Preview responses before deploying to production
  • Manage prompt versions and A/B test different templates
  • Assign prompts to specific Agentforce actions or Einstein features

📍 Types of Prompt Templates

TypeUsed For
Field GenerationAuto-fill record fields using AI
Record SummarySummarize a record in natural language
Sales EmailGenerate personalized outreach emails
Flex TemplateGeneral purpose — used in Agentforce actions
🎤 One-Liner:
"Prompt Builder is Salesforce's no-code tool for creating reusable AI prompt templates grounded in CRM data — used to power Agentforce actions, field generation, record summaries and personalized email generation."
Q7
What is the difference between Predictive AI and Generative AI in Salesforce? Basic
FactorPredictive AIGenerative AI
What it doesPredicts outcomes based on historical dataCreates new content — text, code, images
OutputScore, probability, recommendationWritten response, summary, email
Salesforce ExamplesEinstein Lead Scoring, Opportunity ScoringAgentforce, Prompt Builder, Einstein Copilot
TrainingTrained on your org's historical dataPre-trained LLM grounded in CRM context
Use CaseWhich lead to call next?Write a follow-up email for this opportunity
🎤 One-Liner:
"Predictive AI forecasts what will happen based on past data — like Lead Scoring. Generative AI creates new content on demand — like Agentforce writing a case summary or sales email."
Q8
What is RAG — Retrieval Augmented Generation — in the context of Agentforce? Basic

📍 What is RAG?

RAG is the technique Agentforce uses to combine LLM intelligence with real Salesforce data. Instead of the AI relying purely on training knowledge (which may be outdated), RAG retrieves relevant live data from Salesforce and feeds it into the prompt before generating a response.

User asks: "What is the status of Case #12345?"

RAG Process:
1. Agent receives question
2. Retrieves Case #12345 from Salesforce CRM
3. Injects case data into the prompt context
4. LLM generates answer based on REAL case data
5. Response returned to user

📍 Why RAG Matters

  • Prevents hallucinations — answers are based on real data
  • Keeps responses current — uses live CRM data not stale training data
  • Enables personalization — every response is specific to that customer
🎤 One-Liner:
"RAG is how Agentforce prevents hallucinations — it retrieves real CRM data first, then uses that as context when generating AI responses, ensuring accuracy over pure LLM guesswork."
Q9
What is Agent Builder in Salesforce? Basic

📍 Agent Builder

Agent Builder is the declarative interface in Salesforce Setup where admins and developers create, configure and test Agentforce agents. It allows you to define an agent's identity, capabilities, topics and actions — all without code.

📍 Key Sections in Agent Builder

SectionWhat You Configure
Agent IdentityName, role description, personality/tone
TopicsAreas the agent can handle — Case Management, Product Info
ActionsWhat the agent can do — query records, send emails, create cases
ChannelWhere the agent is deployed — Chat, Slack, WhatsApp, Web
PreviewTest the agent in a sandbox conversation before going live
🎤 One-Liner:
"Agent Builder is Salesforce's no-code interface for creating Agentforce agents — you define the agent's identity, what topics it handles, what actions it can take, and where it's deployed."
Q10
What are Topics and Actions in Agentforce? Basic

📍 Topics

Topics are categories of intent that an agent understands. Each Topic tells the agent what kind of requests it can handle. The agent matches user input to the most relevant Topic and then executes the appropriate Action.

Example Topics: Order Management, Billing Queries, Technical Support, Product Information

📍 Actions

Actions are executable tasks the agent performs within a Topic. Actions are backed by Apex classes, Flows, Prompt Templates or external API calls.

Action TypeBacked ByExample
Flow ActionSalesforce FlowCreate a Case, Update Account field
Apex Action@InvocableMethod Apex classCustom business logic, callouts
Prompt ActionPrompt TemplateSummarize a Case, generate email
MuleSoft ActionMuleSoft APICall external system via MuleSoft
🎤 One-Liner:
"Topics tell the agent what it knows about — like Order Management. Actions tell it what it can do within that topic — like creating a return order. Topics organize intent, Actions execute tasks."
Q11
What is Data Cloud's role in Agentforce? Basic

📍 Data Cloud + Agentforce

Data Cloud acts as the unified data foundation for Agentforce. It unifies customer data from multiple sources — CRM, website, mobile app, ERP — into a single customer profile. Agentforce uses this unified profile to give AI agents complete context about every customer.

📍 What Data Cloud Provides to Agentforce

  • Unified Customer Profile — Complete 360° view of the customer
  • Real-time Data — Agent sees the latest customer data not cached snapshots
  • Segmentation — Agents can target right customers based on segments
  • Calculated Insights — Pre-computed metrics (LTV, churn score) available to agent
  • Data Graphs — Relationship maps that give agent context on connected data
🎤 One-Liner:
"Data Cloud is Agentforce's brain — it unifies customer data from all sources into one profile so the AI agent has complete, real-time context before responding to any customer request."
Q12
What is the difference between Agentforce and Einstein Bots? Basic
FactorEinstein BotsAgentforce
TechnologyRule-based NLP engineLLM-powered generative AI
SetupDecision tree dialogsTopic and Action configuration
FlexibilityOnly handles scripted pathsHandles any variation of request
UnderstandingKeyword/intent matchingTrue natural language understanding
ActionsLimited to predefined bot actionsApex, Flow, Prompt, MuleSoft actions
ContextLimited conversation contextFull multi-turn context memory
FutureBeing phased outSalesforce's AI-first platform
🎤 One-Liner:
"Einstein Bots follow decision trees. Agentforce agents reason with AI — understanding any intent, accessing live CRM data and taking any action. Agentforce is the next generation replacement for Einstein Bots."
Q13
What channels can Agentforce be deployed on? Basic

📍 Supported Channels

ChannelUse Case
Experience CloudCustomer-facing portal chatbot
Salesforce Chat (Messaging)Live chat widget on website
WhatsAppCustomer support via WhatsApp
SMSText-based customer interactions
SlackInternal employee assistant
Einstein CopilotSalesforce sidebar for internal users
Mobile AppIn-app AI assistant
EmailEmail-based AI responses
🎤 One-Liner:
"Agentforce agents are channel-agnostic — deploy the same agent on Experience Cloud, WhatsApp, SMS, Slack or Email. One agent definition, multiple deployment channels."
Q14
What is an Agentforce Copilot Action? Basic

📍 Copilot Action

A Copilot Action is a specific task an Agentforce agent can perform when triggered by a user request through Einstein Copilot. It connects natural language intent to an executable action backed by Apex, Flow or a Prompt Template.

📍 How It Works

User says: "Summarize my top opportunities this quarter"

Einstein Copilot:
1. Understands intent = Opportunity Summary
2. Matches to Copilot Action = "Q1 Opportunity Summarizer"
3. Action runs Prompt Template + SOQL data
4. Returns natural language summary to user

📍 Types of Copilot Actions

  • Standard Actions — Pre-built by Salesforce (Draft Email, Summarize Record)
  • Custom Actions — Built by your team using Apex, Flow or Prompt Builder
🎤 One-Liner:
"Copilot Actions are the building blocks of Agentforce — each action maps a user's natural language request to a specific executable task backed by Apex, Flow or a Prompt Template."
Q15
What is Agentforce for Service vs Agentforce for Sales? Basic
FactorAgentforce for ServiceAgentforce for Sales
Primary UsersCustomers, Support AgentsSales Reps, SDRs, Managers
Main TasksResolve cases, answer queries, update ticketsQualify leads, summarize pipeline, draft emails
Data UsedCases, Knowledge Articles, ContactsLeads, Opportunities, Accounts, Activities
Key ActionsCreate Case, Escalate, Knowledge SearchLead Scoring, Email Generation, Meeting Schedule
DeploymentChat widget, WhatsApp, SMSEinstein Copilot sidebar, Slack
🎤 One-Liner:
"Agentforce for Service handles customer-facing support autonomously. Agentforce for Sales assists sales reps internally — qualifying leads, summarizing pipelines and drafting personalized outreach."
🟡 Intermediate Level — Core Agentforce Concepts
Q16
How does the Einstein Trust Layer protect sensitive data before it reaches the LLM? Intermediate

📍 Complete Data Flow with Trust Layer

Step 1: User sends request to Agentforce
Step 2: Einstein Trust Layer intercepts the prompt
Step 3: PII Detection — finds sensitive fields
        (SSN, credit card, health data, email)
Step 4: Data Masking — replaces PII with tokens
        "John Smith" → "[PERSON_001]"
        "4111-1111-1111-1111" → "[CC_001]"
Step 5: Masked prompt sent to LLM
Step 6: LLM generates response using masked data
Step 7: Trust Layer de-masks response
        "[PERSON_001]" → "John Smith"
Step 8: Toxicity check on output
Step 9: Audit log created
Step 10: Clean response returned to user

📍 Key Protections

ProtectionWhat It Does
Zero RetentionLLM provider never stores your data
No TrainingYour data never trains the LLM model
Audit TrailEvery prompt + response logged in Salesforce
Toxicity FilterBlocks harmful content from being shown
🎤 One-Liner:
"The Einstein Trust Layer sits between Salesforce and the LLM — it masks PII, ensures zero data retention by AI providers, logs every interaction and filters toxic outputs before anything reaches the user."
Q17
How do you create a custom Agentforce Action using Apex? Intermediate

📍 Steps to Create Apex-Backed Action

Step 1: Create Apex class with @InvocableMethod

global class AgentforceOrderAction {
    
    @InvocableMethod(
        label='Get Order Status'
        description='Returns order status for a given order number'
    )
    global static List<OrderResult> getOrderStatus(
        List<OrderRequest> requests
    ) {
        List<OrderResult> results = new List<OrderResult>();
        for(OrderRequest req : requests) {
            Order__c ord = [
                SELECT Id, Status__c, Expected_Date__c 
                FROM Order__c 
                WHERE Order_Number__c = :req.orderNumber
                LIMIT 1
            ];
            OrderResult result = new OrderResult();
            result.status = ord.Status__c;
            result.expectedDate = String.valueOf(ord.Expected_Date__c);
            results.add(result);
        }
        return results;
    }
    
    global class OrderRequest {
        @InvocableVariable(required=true)
        global String orderNumber;
    }
    
    global class OrderResult {
        @InvocableVariable
        global String status;
        @InvocableVariable
        global String expectedDate;
    }
}
Step 2: In Agent Builder → Add Action
Step 3: Action Type → Apex
Step 4: Select your Apex class
Step 5: Map inputs/outputs to agent conversation
Step 6: Write instructions for when agent should call this action
Step 7: Test in Agent Preview
🎤 One-Liner:
"Custom Apex actions for Agentforce use the @InvocableMethod annotation with clear label and description — the agent reads the description to decide when to call the action."
Q18
How do you create a custom Agentforce Action using Flow? Intermediate

📍 Flow-Backed Agentforce Action

Step 1: Create an Autolaunched Flow
- Flow type: Autolaunched Flow (No Trigger)
- Add Input Variables (marked as Available for Input)
  example: orderNumber (Text, Input)
- Add Output Variables (marked as Available for Output)
  example: orderStatus (Text, Output)
- Build the Flow logic (Get Records, Assignment, etc.)
- Save and Activate the Flow

Step 2: In Agent Builder → Actions → New Action
Step 3: Action Type → Flow
Step 4: Select your Autolaunched Flow
Step 5: Map Flow variables to agent conversation parameters
Step 6: Add clear Action Description:
  "Use this action when the user asks about 
   the status of their order"
Step 7: Test in Agent Preview → Conversation Simulator

📍 Key Requirement

The Flow must be an Autolaunched Flow — Screen Flows and Record-Triggered Flows cannot be used as Agentforce actions.

🎤 One-Liner:
"Flow-backed Agentforce actions use Autolaunched Flows with clearly marked Input and Output variables. The action description is critical — Agentforce reads it to decide when to invoke the action."
Q19
What is Prompt Engineering in the context of Agentforce? Intermediate

📍 What Is Prompt Engineering?

Prompt Engineering is the practice of designing, structuring and optimizing the instructions given to an LLM to get accurate, relevant and consistent responses. In Agentforce, this happens in Prompt Builder through Prompt Templates.

📍 Key Prompt Engineering Techniques

TechniqueWhat It DoesExample
Role SettingTells AI who it is"You are a friendly Salesforce support agent..."
Context InjectionInserts CRM data into prompt"Case details: {!Case.Description}"
Constraint SettingLimits response scope"Only answer questions about billing"
Output FormatControls response structure"Respond in 3 bullet points maximum"
Chain of ThoughtAsks AI to reason step by step"Think through this step by step before answering"
Few-Shot ExamplesShows AI example inputs/outputsProvide 2-3 example Q&A pairs in prompt
🎤 One-Liner:
"Prompt Engineering is the skill of writing clear, structured instructions for the AI that set its role, inject CRM context, constrain its scope and format its output — directly determining the quality of Agentforce responses."
Q20
What are Guardrails in Agentforce and how do you configure them? Intermediate

📍 What Are Guardrails?

Guardrails are policy rules that define what an Agentforce agent can and cannot do or say. They act as safety boundaries to prevent the agent from going off-topic, making unauthorized promises, or sharing sensitive information.

📍 Types of Guardrails

TypeExample
Topic Guardrails"Do not discuss competitor products"
Action Guardrails"Never issue refunds over $500 without human approval"
Language Guardrails"Always respond professionally. Never use informal language"
Data Guardrails"Do not share Account revenue figures with non-executive users"
Escalation Rules"Escalate to human agent if customer mentions legal action"

📍 Where to Configure

Guardrails are configured in Agent Builder → Agent Instructions section as natural language policy statements and in Topic Instructions for topic-specific rules.

🎤 One-Liner:
"Guardrails are natural language policy rules set in Agent Builder that define what the agent will and will not do — preventing unauthorized actions, off-topic responses and data policy violations."
Q21
How does Agentforce handle multi-turn conversations? Intermediate

📍 Multi-Turn Conversation Handling

Agentforce maintains conversation context across multiple messages in a session. It remembers what was said earlier in the conversation and uses that context when processing each new message.

Turn 1: User: "I have an issue with my order"
        Agent: "I can help! What is your order number?"

Turn 2: User: "It's ORD-12345"
        Agent: [retrieves order from CRM]
               "I found your order ORD-12345.
                It shipped on April 30. What's the issue?"

Turn 3: User: "It hasn't arrived yet"
        Agent: [already knows order is ORD-12345]
               "I see the expected delivery was May 3.
                Let me escalate this to our shipping team."

📍 How Context Is Maintained

  • Each session has a conversation history window
  • Previous turns are included in the LLM context on each new message
  • CRM data retrieved in earlier turns is cached for the session
  • Agent tracks which Topic is active and maintains intent across turns
🎤 One-Liner:
"Agentforce maintains conversation context across all turns in a session — it remembers what was said, what CRM data was retrieved, and what Topic is active, so users never have to repeat themselves."
Q22
What is a Data Graph in Agentforce? Intermediate

📍 Data Graph

A Data Graph is a semantic relationship map of connected Salesforce data built in Data Cloud. Agentforce uses Data Graphs to understand how different data objects relate to each other and retrieve complete context about a customer in one structured call.

📍 Example Data Graph

Account (ACME Corp)
    ├── Contacts (3 contacts)
    │     └── Cases linked to each contact
    ├── Opportunities (5 open deals)
    ├── Orders (12 past orders)
    │     └── Order line items
    └── Service History (last 6 months)

When an agent asks about ACME Corp, the Data Graph lets it retrieve all related data in context rather than running 5 separate SOQL queries.

🎤 One-Liner:
"A Data Graph is a pre-built map of connected CRM data in Data Cloud — it lets Agentforce retrieve complete customer context in a single structured call instead of multiple separate queries."
Q23
How does Agentforce decide which Topic and Action to use? Intermediate

📍 Agent Reasoning Process

User Input: "Can I get a refund for order #456?"

Step 1: TOPIC CLASSIFICATION
Agent reads all configured Topic descriptions
Matches input to most relevant Topic:
→ "Order Management" (confidence: high)

Step 2: INTENT DETECTION
Within "Order Management" topic:
Reads all Action descriptions
→ "Process Refund" action matches intent

Step 3: PARAMETER EXTRACTION
Extracts required parameters from user input:
→ orderNumber = "456"

Step 4: ACTION EXECUTION
Calls the "Process Refund" Apex/Flow action
with orderNumber = "456"

Step 5: RESPONSE GENERATION
Uses response data + Prompt Template
to generate natural language reply

📍 Why Descriptions Matter So Much

The LLM reads your Topic and Action descriptions to decide routing. Poorly written descriptions = wrong action selected. This is why writing clear, specific descriptions is the most important skill in Agentforce configuration.

🎤 One-Liner:
"Agentforce routes by reading Topic and Action descriptions — the LLM matches user intent to whichever description fits best. Clear, specific descriptions are the #1 factor in getting the right action to fire."
Q24
How do you test an Agentforce agent before deploying to production? Intermediate

📍 Testing Methods

MethodWhat It TestsWhere
Agent PreviewFull conversation simulationAgent Builder → Preview pane
Conversation SimulatorTest specific Topics and ActionsAgent Builder → Test
Sandbox TestingFull end-to-end with real dataSandbox org
Unit TestsTest Apex actions backing the agentApex Test classes
Flow TestsTest Flow actions in isolationFlow Test module

📍 Key Things to Test

  • Correct Topic is selected for different user inputs
  • Correct Action fires within each Topic
  • Edge cases — empty order number, invalid customer ID
  • Guardrail enforcement — out-of-scope questions are rejected
  • Human escalation — triggers correctly when configured
  • Multi-turn — context maintained across conversation turns
🎤 One-Liner:
"Test Agentforce agents using Agent Preview for conversations, sandbox for end-to-end testing with real data, and Apex/Flow unit tests for the underlying actions. Always test edge cases and guardrail enforcement."
Q25
What is Human-in-the-Loop in Agentforce and when does it trigger? Intermediate

📍 Human-in-the-Loop

Human-in-the-Loop (HITL) is the mechanism that transfers control from the AI agent to a human agent when the situation requires human judgment, empathy or authorization.

📍 When Escalation Triggers

Trigger TypeExample
Confidence ThresholdAgent cannot match request to any Topic with sufficient confidence
Guardrail Rule"Escalate if customer mentions legal action or complaint"
Action Limit"Refunds over $500 require human approval"
Sentiment DetectionCustomer expresses extreme frustration or anger
Explicit RequestCustomer says "I want to speak to a human"
Max Turns ExceededIssue unresolved after configured number of turns

📍 What Happens on Escalation

Full conversation transcript is transferred to the human agent — they see everything the AI discussed so the customer never has to repeat themselves.

🎤 One-Liner:
"Human-in-the-Loop transfers control to a human agent when confidence is low, guardrails trigger, limits are exceeded or customer requests it — passing the full conversation history so no context is lost."
Q26
What is the role of Knowledge Base in Agentforce? Intermediate

📍 Knowledge Base in Agentforce

Salesforce Knowledge is a primary data source for Agentforce. The agent searches Knowledge Articles when answering questions, providing accurate, approved responses rather than relying purely on LLM general knowledge.

📍 How It Works

User: "How do I reset my password?"

Agentforce:
1. Receives question
2. Searches Salesforce Knowledge for "password reset"
3. Retrieves top matching Knowledge Article
4. Uses article content + Prompt Template
5. Generates clear, friendly response
6. Optionally links to the full article

📍 Benefits

  • Responses based on approved company information — not hallucinations
  • Always reflects latest policy — Knowledge Articles are maintained by your team
  • Reduces case creation — customers self-serve via AI-delivered knowledge
🎤 One-Liner:
"Agentforce uses Salesforce Knowledge as its primary content source — instead of guessing answers, it retrieves approved Knowledge Articles and uses them as grounding for accurate, company-approved responses."
Q27
What metrics do you use to measure Agentforce performance? Intermediate
MetricWhat It MeasuresGood Target
Containment Rate% of sessions resolved by AI without human handoff>60%
Deflection Rate% of cases handled by agent vs routed to human>50%
First Contact ResolutionIssue resolved in one interaction>70%
CSAT ScoreCustomer satisfaction rating after AI interaction>4/5
Average Handle TimeTime agent takes to resolve per sessionTrending down
Topic Match Rate% of inputs matched to correct Topic>90%
Escalation Rate% of sessions transferred to humans<30%
Hallucination Rate% of responses containing inaccurate information<1%
🎤 One-Liner:
"Measure Agentforce performance with containment rate, deflection rate, CSAT, first contact resolution, topic match rate and escalation rate — high containment + high CSAT = a well-configured agent."
Q28
How do you configure Agentforce for Service Cloud? Intermediate

📍 Setup Steps for Service Agent

Step 1: Enable Agentforce in Setup → Agents
Step 2: Create New Agent → Type: Service Agent
Step 3: Configure Agent Identity
  - Name, Role, Tone (Professional/Friendly)
  - Company context and agent persona

Step 4: Add Topics
  - Case Management (create/update/close cases)
  - Order Support (track, return, refund)
  - Technical Support (troubleshoot issues)
  - Knowledge Search (find help articles)

Step 5: Add Actions to each Topic
  - Flow: Create Case action
  - Apex: Get Order Status action
  - Prompt: Summarize Issue action
  - Standard: Knowledge Article Search

Step 6: Configure Guardrails
  "Do not promise refunds over $200 without approval"
  "Escalate if customer mentions lawyer or legal"

Step 7: Set Escalation Rules → Route to Service Console

Step 8: Deploy to Channel → Messaging (Chat widget)

Step 9: Test → Conversation Simulator → Preview
🎤 One-Liner:
"Agentforce for Service needs a clear agent identity, well-defined Topics with specific Actions, guardrails for edge cases, escalation rules for human handoff, and thorough testing in Conversation Simulator before going live."
Q29
What is the Agentforce Specialist Certification and what does it test? Intermediate

📍 Salesforce Certified Agentforce Specialist

The Agentforce Specialist certification validates expertise in designing, building and deploying AI agents on Salesforce. It is the hottest Salesforce certification in 2026.

DomainWeightTopics
Agentforce Concepts~25%Architecture, agent types, capabilities
Prompt Engineering~20%Prompt Builder, templates, optimization
Data Cloud~20%Unified profiles, Data Graphs, grounding
Service Cloud~18%Service Agent setup, escalation, CSAT
Sales Cloud~17%Sales Agent, SDR Agent, pipeline AI

Format: 60 multiple choice questions | 105 minutes | Passing score ~65%

🎤 One-Liner:
"The Agentforce Specialist certification is the most in-demand Salesforce cert of 2026 — it tests agent architecture, Prompt Engineering, Data Cloud integration, and deploying agents for Service and Sales Cloud."
Q30
What are the limitations of Agentforce? Intermediate

📍 Known Limitations

LimitationImpactWorkaround
Token LimitsVery long conversations may hit context window limitsSummarize earlier turns, limit context window
LLM HallucinationsAI can generate plausible but wrong answersUse RAG, Knowledge grounding, guardrails
Action ComplexityComplex multi-system actions need careful designBreak into smaller chained actions
Governor LimitsApex actions still subject to Salesforce limitsUse async Apex for heavy processing
Language SupportQuality varies across non-English languagesTest thoroughly per language
Real-time DataRequires Data Cloud for truly real-time external dataUse Data Cloud streaming ingestion
CostAgentforce conversations are licensed per conversationMonitor usage, optimize containment rate
🎤 One-Liner:
"Agentforce limitations include token limits, hallucination risk, governor limits in Apex actions, variable multilingual quality and per-conversation licensing cost — mitigated with RAG grounding, smaller actions, and thorough testing."
🔴 Advanced Level — Architect & Senior Developer Questions
Q31
How would you architect an enterprise Agentforce solution for a company with 50,000 customers? Advanced

📍 Enterprise Architecture Design

LAYER 1: DATA FOUNDATION (Data Cloud)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Ingest CRM data (Salesforce)
- Ingest external data (ERP, website, app)
- Build Unified Customer Profile
- Create Data Graphs for agent context
- Configure Calculated Insights (LTV, churn)

LAYER 2: KNOWLEDGE BASE (Salesforce Knowledge)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Organize articles by Topic (matches agent Topics)
- Set up validation for article freshness
- Configure search indexing for fast retrieval

LAYER 3: AGENT CONFIGURATION (Agent Builder)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Agent 1: Service Agent (customer-facing)
  Topics: Account, Billing, Orders, Technical
- Agent 2: Sales Agent (rep-facing, Copilot)
  Topics: Pipeline, Email, Meeting, Research

LAYER 4: ACTIONS (Apex + Flow + Prompts)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Bulkified Apex for high-volume actions
- Autolaunched Flows for CRUD operations
- Prompt Templates for generative content
- MuleSoft connectors for external systems

LAYER 5: TRUST & GOVERNANCE
━━━━━━━━━━━━━━━━━━━━━━━━━━
- Einstein Trust Layer configured
- Guardrails defined per Topic
- Escalation rules mapped to Service Console
- Audit logging enabled
- Human-in-the-loop for sensitive actions
🎤 One-Liner:
"Enterprise Agentforce architecture = Data Cloud for unified context + Knowledge for grounding + well-scoped Topics + bulkified Actions + robust Trust Layer governance. Data quality is the foundation everything else depends on."
Q32
How do you handle PII and sensitive data in Agentforce actions? Advanced

📍 Multi-Layer PII Protection Strategy

LAYER 1: Einstein Trust Layer (Automatic)
- Automatically masks PII before reaching LLM
- No configuration needed for standard fields

LAYER 2: Field-Level Security (Salesforce)
- Restrict sensitive fields via Profile/Permission Sets
- Agent runs with specific user context — respects FLS
- Never query fields the running user cannot access

LAYER 3: Prompt Template Design
- Never include raw PII fields in Prompt Templates
- Use masked or summarized representations
- Example: Use Account.Name not Account.TaxId__c

LAYER 4: Apex Action Security
global class SecureAccountAction {
    @InvocableMethod(label='Get Account Summary')
    global static List<Result> getSummary(List<Request> reqs) {
        // Check user permissions before returning data
        if (!Schema.sObjectType.Account.isAccessible()) {
            throw new AuraHandledException('Access denied');
        }
        // Never return SSN, Tax ID, or financial data
        Account acc = [SELECT Name, Industry, Phone 
                       FROM Account WHERE Id = :reqs[0].accountId];
        Result r = new Result();
        r.summary = acc.Name + ' - ' + acc.Industry;
        return new List<Result>{r};
    }
}
🎤 One-Liner:
"Protect PII in Agentforce at three layers — Einstein Trust Layer auto-masks before LLM, FLS restricts what the agent's running user can query, and Apex actions should explicitly exclude sensitive fields from their output."
Q33
How do you debug an Agentforce agent that is giving wrong or unexpected responses? Advanced

📍 Debugging Framework

STEP 1: Identify the failure type
→ Wrong Topic selected?
→ Wrong Action fired?
→ Action returned wrong data?
→ Response poorly formatted?
→ Guardrail incorrectly triggered?

STEP 2: Check Topic Descriptions
Open Agent Builder → Topics
Read each Topic description carefully
Rewrite if ambiguous — be more specific
Add example user inputs to Topic description

STEP 3: Check Action Descriptions
Open Topic → Actions
Verify Action description clearly defines
WHEN the action should fire
Bad: "Get order data"
Good: "Use when customer asks about the 
      status, location or delivery of their order"

STEP 4: Test Apex Actions in isolation
Run @InvocableMethod directly via Anonymous Apex
Verify correct data is returned
Check for null handling and edge cases

STEP 5: Check Debug Logs
Setup → Debug Logs → Add user running agent
Run conversation → Check logs for Apex errors
Look for SOQL exceptions or null pointer errors

STEP 6: Use Conversation Simulator
Agent Builder → Test → simulate exact failing input
Check which Topic and Action was selected
Iterate on descriptions until correct routing
🎤 One-Liner:
"Debug Agentforce in order: check Topic routing first (is the right Topic matched?), then Action selection, then Action output quality, then response formatting — 80% of issues are Topic or Action description problems."
Q34
How would you integrate Agentforce with an external ERP system? Advanced

📍 Integration Architecture

Option A: Direct Apex Callout
━━━━━━━━━━━━━━━━━━━━━━━━━━━
User → Agentforce → Apex Action → Named Credential
→ HTTP Callout to ERP REST API → Parse Response
→ Return data to Agentforce agent

global class ERPIntegrationAction {
    @InvocableMethod(label='Get ERP Inventory')
    global static List<InventoryResult> getInventory(
        List<InventoryRequest> reqs
    ) {
        HttpRequest req = new HttpRequest();
        req.setEndpoint('callout:ERP_System/inventory/' 
                        + reqs[0].productCode);
        req.setMethod('GET');
        req.setHeader('Content-Type','application/json');
        Http http = new Http();
        HttpResponse res = http.send(req);
        // Parse and return
        Map<String,Object> data = 
            (Map<String,Object>)JSON.deserializeUntyped(res.getBody());
        InventoryResult result = new InventoryResult();
        result.quantity = (Integer)data.get('quantity');
        return new List<InventoryResult>{result};
    }
}

Option B: MuleSoft Integration
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Agentforce → MuleSoft Action → MuleSoft API
→ ERP System → Response via MuleSoft
Better for complex transformations and orchestration

Option C: Data Cloud Streaming
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ERP → Data Cloud (via streaming ingest)
→ Unified Customer Profile updated in real-time
Agent reads from Data Cloud — no direct ERP callout needed
🎤 One-Liner:
"Integrate Agentforce with external systems via Named Credentials + Apex callouts for simple APIs, MuleSoft Actions for complex orchestration, or Data Cloud streaming ingestion for real-time data without direct callouts."
Q35
What governance framework do you implement for Agentforce in a regulated industry? Advanced

📍 Governance Framework for Regulated Industries

LayerControlImplementation
Data PrivacyPII protectionEinstein Trust Layer + FLS + data masking
Audit & LoggingComplete interaction logsEinstein Audit Trail + Event Monitoring
Human OversightCritical decisions need humanGuardrails for high-value/sensitive actions
Response AccuracyNo hallucinations in regulated contextKnowledge grounding + RAG + guardrails
Access ControlWho can access/modify agentProfiles, Permission Sets, Named Credentials
Change ControlAgent changes go through reviewSandbox → UAT → Production promotion
Model GovernanceWhich LLM is usedEinstein Trust Layer model selection controls

📍 Industry-Specific Guardrails

  • Financial Services: "Never provide investment advice. Always include regulatory disclaimer"
  • Healthcare: "Never diagnose conditions. Always recommend consulting a physician"
  • Legal: "Never provide legal advice. Escalate all legal questions to human"
🎤 One-Liner:
"Regulate Agentforce with layered governance — Trust Layer for data, audit trails for compliance, human-in-the-loop for critical actions, Knowledge grounding to prevent hallucinations, and industry-specific guardrails baked into every Topic."
Q36
How do you prevent hallucinations in Agentforce responses? Advanced

📍 Anti-Hallucination Strategy

TechniqueHow It Prevents Hallucinations
RAG GroundingAgent retrieves real CRM data before generating — not guessing
Knowledge ArticlesApproved content used as source — agent paraphrases not invents
Strict Prompt Constraints"Only answer based on the provided context. Say I don't know if unsure"
Output ValidationApex action validates AI output before returning to user
Guardrails"Do not state specific numbers, prices or dates without retrieving from CRM"
Confidence ScoringLow confidence = escalate to human instead of guessing
Regular TestingQA team tests 50+ edge cases monthly for accuracy
🎤 One-Liner:
"Prevent Agentforce hallucinations with RAG data grounding, Knowledge Article sourcing, strict prompt constraints instructing the AI to say 'I don't know' when uncertain, and confidence-based escalation to humans."
Q37
How would you migrate from Einstein Bots to Agentforce? Advanced

📍 Migration Strategy

PHASE 1: AUDIT (2 weeks)
━━━━━━━━━━━━━━━━━━━━━━
- Document all current Einstein Bot dialogs
- List all intents (dialog categories)
- Identify all bot actions (what bot does)
- Capture top 20 most common user inputs
- Note escalation rules and conditions

PHASE 2: MAP TO AGENTFORCE (1 week)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Bot Dialogs → Agentforce Topics
Bot Intents → Topic Actions
Bot Variables → Action Input/Output params
Bot Actions → Flow or Apex Actions
Escalation Rules → Agentforce Guardrails

PHASE 3: BUILD IN SANDBOX (3-4 weeks)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Create Agent in Agent Builder
- Rebuild actions as Flow/Apex
- Create Prompt Templates for responses
- Configure Einstein Trust Layer
- Set up Knowledge Article linking

PHASE 4: PARALLEL TESTING (2 weeks)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Run both bots simultaneously on small traffic
- Compare containment rates side by side
- Tune Agentforce Topics and Actions

PHASE 5: CUTOVER (1 week)
━━━━━━━━━━━━━━━━━━━━━━━━
- Route 100% traffic to Agentforce
- Monitor CSAT and containment daily
- Keep Einstein Bot as fallback for 2 weeks
🎤 One-Liner:
"Migrate Einstein Bots to Agentforce by mapping Dialogs to Topics, Intents to Actions, and bot variables to Apex/Flow parameters — run parallel for 2 weeks to compare containment before full cutover."
Q38
How does Agentforce handle concurrent sessions at scale? Advanced

📍 Scalability Architecture

Agentforce is built on Salesforce's multi-tenant cloud infrastructure which scales horizontally automatically. However, the Apex and Flow actions backing your agent are still subject to Salesforce governor limits.

📍 Key Scalability Considerations

ConsiderationImpactSolution
Apex Gov Limits100 SOQL per transactionBulkify queries, use Platform Cache
Concurrent UsersMany sessions = many parallel transactionsAsync Apex for heavy operations
LLM LatencyAI response time adds to total session timeOptimize prompt length, cache common responses
Knowledge SearchSlow search = slow agent responsesOptimize Knowledge Article indexing
Data Cloud QueriesComplex Data Graphs slow to resolvePre-compute insights as Calculated Insights
🎤 One-Liner:
"Agentforce platform scales automatically but your Apex/Flow actions must be designed for high concurrency — bulkify queries, use async processing for heavy operations and pre-compute insights in Data Cloud to minimize latency."
Q39
Scenario: An Agentforce agent is selecting the wrong Topic for user inputs. How do you fix this? Advanced

📍 Diagnosis and Fix

Problem: User asks "Can I cancel my order?" 
but agent routes to "Product Information" Topic
instead of "Order Management" Topic

ROOT CAUSE ANALYSIS:
━━━━━━━━━━━━━━━━━━
1. Topic descriptions are too similar or ambiguous
2. "Product Information" Topic description accidentally
   covers order-related language

STEP 1: Review Topic Descriptions
Current "Product Information" description:
"Help customers with questions about products, 
 orders and purchasing"  ← "orders" here causes confusion!

STEP 2: Fix — Make Descriptions Mutually Exclusive
"Product Information":
"Help customers with questions about product features,
 specifications, pricing and availability.
 Do NOT use for order tracking, cancellations or returns."

"Order Management":
"Help customers with questions about their existing orders —
 tracking, cancellation, returns, refunds and delivery.
 Use when customer mentions order number or wants to 
 cancel, return or check status of a purchase."

STEP 3: Add Example User Inputs to Topic
In Topic → add 10 example user phrases that should
route to this Topic — helps LLM learn the mapping

STEP 4: Test All Failing Inputs in Simulator
Verify each one now routes correctly
🎤 One-Liner:
"Wrong Topic routing is almost always a description problem — make Topic descriptions mutually exclusive, add explicit DO NOT USE instructions, and add 10 example user phrases per Topic. Test every failing input in Conversation Simulator."
Q40
How do you implement Agentforce for a Sales Development Representative (SDR) use case? Advanced

📍 SDR Agent Architecture

AGENT PURPOSE: Automate outbound prospecting and 
follow-up for the Sales Development team

TOPICS AND ACTIONS:

Topic 1: Lead Research
→ Action: Get Company Info (Apex → Data Cloud)
→ Action: Get Recent News (Apex → external API)
→ Action: Summarize Lead Profile (Prompt Template)

Topic 2: Email Generation
→ Action: Draft Prospecting Email (Prompt Template)
  Inputs: Lead Name, Company, Pain Point, Rep Name
  Output: Personalized outreach email
→ Action: Draft Follow-up Email (Prompt Template)

Topic 3: Lead Qualification
→ Action: Get BANT Score (Apex → Lead scoring)
→ Action: Update Lead Stage (Flow → Update Record)
→ Action: Create Meeting Task (Flow → Create Task)

Topic 4: Pipeline Summary
→ Action: Summarize My Pipeline (Prompt + SOQL)
→ Action: Get Deals at Risk (Apex → Opp analysis)

GUARDRAILS:
"Always personalize emails with specific company context"
"Do not send emails — only draft for rep review"
"Never promise specific pricing in email drafts"
🎤 One-Liner:
"SDR Agent automates the repetitive parts of prospecting — researching leads, drafting personalized emails, qualifying leads and summarizing pipeline — while keeping humans in control of actual sending and deal decisions."
Q41
What is the difference between Agentforce Actions and Salesforce Flow? When do you use each? Advanced
FactorAgentforce ActionSalesforce Flow
TriggerTriggered by AI agent based on conversationTriggered by record change, schedule or user action
ContextNatural language intent drives executionDeterministic criteria drives execution
Input SourceExtracted from user's conversational messageRecord field values or manual input
OutputReturns data to AI agent for natural language responseUpdates records, sends emails, triggers processes
RelationshipAgentforce Actions CAN call Flows as their backingFlows can be used AS Agentforce Actions

📍 Use Each When

  • Use Flow as Agentforce Action — when you need declarative CRUD operations triggered by AI conversation
  • Use Apex as Agentforce Action — when you need complex logic, external callouts, or data transformation
  • Use Standalone Flow — when triggered by record events, schedules or user button clicks outside of AI
🎤 One-Liner:
"Flows are deterministic — they fire on defined criteria. Agentforce Actions fire when the AI decides to — based on conversational intent. Flows can back Agentforce Actions, making them AI-callable while staying declarative."
Q42
How does Agentforce work with Salesforce Permissions and Sharing Model? Advanced

📍 Security Context in Agentforce

Agentforce agents run in the security context of a designated user — called the Running User. This means the agent only has access to data that the Running User has access to.

Security LayerHow Agent Respects It
OWDAgent cannot access records beyond Running User's sharing
Role HierarchyRunning User's role determines record visibility
Profile/Permission SetsRunning User's permissions determine CRUD on objects
FLSRunning User's FLS determines which fields agent can read
Sharing RulesRunning User's sharing rules apply to agent queries

📍 Best Practice

Create a dedicated Agentforce user with a specific Profile and Permission Sets that grant exactly the access the agent needs — no more. Follow the principle of least privilege.

🎤 One-Liner:
"Agentforce runs in the Running User's security context — it respects OWD, Role Hierarchy, FLS and Sharing Rules exactly as configured. Create a dedicated agent user with least-privilege access rather than using an admin account."
Q43
Scenario: Build an Agentforce agent for an HR department to handle employee queries. Walk through the complete design. Advanced

📍 HR Agent Design

AGENT: "HR Assistant"
AUDIENCE: Internal employees
CHANNEL: Slack, Experience Cloud (Employee Portal)
TONE: Professional, empathetic, helpful

TOPICS AND ACTIONS:

1. Leave Management
   Action: Check Leave Balance (Apex → HR system)
   Action: Apply for Leave (Flow → Create Leave Request)
   Action: Check Leave Status (Apex → Get Leave Record)
   Guardrail: "Cannot approve leave — only employees 
               with manager role can approve"

2. Policy Information
   Action: Search HR Policies (Knowledge Article Search)
   Action: Summarize Policy (Prompt Template)
   Guardrail: "Only answer based on official HR policies
               in Knowledge. Do not interpret or give advice"

3. Payroll Queries
   Action: Get Payslip Info (Apex → Payroll integration)
   Guardrail: "Never share another employee's salary info"
   Escalation: "Route tax or deduction disputes to HR team"

4. Benefits Information
   Action: Get Benefits Summary (Prompt + CRM data)
   Action: Enroll in Benefit (Flow → Update record)

ESCALATION RULES:
- Harassment or discrimination mentions → HR Manager
- Performance dispute → HR Business Partner  
- Medical queries → Benefits team

RUNNING USER: HR_Agent_User
- Read access to HR objects
- No access to payroll details (handled by secure Apex)
🎤 One-Liner:
"HR Agentforce agent needs well-scoped Topics (Leave, Policy, Payroll, Benefits), strict guardrails against sharing sensitive data, clear escalation to HR humans for sensitive matters, and a least-privilege Running User."
Q44
How does Prompt Builder's Flex Template work and when do you use it? Advanced

📍 Flex Template

A Flex Template is the most flexible Prompt Template type — it can be invoked from Agentforce Actions, Apex code, Flows and APIs. It is the primary template type used to back Agentforce Prompt Actions.

📍 Flex Template Structure

// Example Flex Template for Case Summary

System Prompt (Role Setting):
"You are a helpful Salesforce service agent.
 Your job is to summarize customer cases clearly 
 and professionally."

User Prompt (Dynamic Content):
"Please summarize this customer case:

Case Number: {!Input:caseNumber}
Subject: {!RelatedObject:Case.Subject}
Description: {!RelatedObject:Case.Description}
Status: {!RelatedObject:Case.Status}
Customer Name: {!RelatedObject:Case.Contact.Name}
Priority: {!RelatedObject:Case.Priority}

Provide a 2-3 sentence summary of the issue 
and current status."

📍 When to Use Flex Template

  • Backing an Agentforce Prompt Action
  • Generating summaries, emails or content in Flows
  • Calling from Apex using ConnectApi methods
  • When you need dynamic CRM data in your prompt
🎤 One-Liner:
"Flex Templates are the most powerful Prompt Template type — they can be called from Agentforce Actions, Apex, Flow or API, accept dynamic CRM merge fields, and are the primary way to add generative AI to any Salesforce process."
Q45
What is the difference between Agentforce and traditional RPA (Robotic Process Automation)? Advanced
FactorTraditional RPAAgentforce
IntelligenceRule-based automationAI-powered reasoning
InputStructured, predictable inputUnstructured natural language
AdaptabilityBreaks when UI or data changesAdapts to variation in requests
ContextNo understanding of business contextDeep CRM context via Data Cloud
Exception HandlingFails or requires scripted fallbacksEscalates intelligently to humans
MaintenanceHigh — breaks with every UI changeLow — maintained via Topic descriptions
Best ForHigh-volume, repetitive, structured tasksVariable, conversational, judgment-requiring tasks
🎤 One-Liner:
"RPA automates predictable scripts that break when anything changes. Agentforce reasons through variable, unstructured requests and adapts — better for customer-facing workflows requiring judgment, context and natural language understanding."
Q46
How do you optimize Agentforce response quality over time? Advanced

📍 Continuous Improvement Framework

CadenceActivityWhat to Look For
DailyReview CSAT scoresSessions scoring below 3/5
WeeklyAnalyze containment rate trendsDrop in containment = Topic gap
WeeklyReview escalation reasonsCommon reason = missing Topic/Action
MonthlyTest 50 edge cases manuallyWrong routing or bad responses
MonthlyReview Knowledge Article performanceArticles not retrieved = needs updating
QuarterlyAdd new Topics based on escalation patternsRecurring unhandled request types
QuarterlyRefine Prompt TemplatesVerbose or unhelpful response patterns

📍 Tools for Monitoring

  • Einstein Copilot Analytics dashboard
  • Agentforce conversation transcripts
  • Salesforce Reports on escalation volume
  • CSAT survey results linked to agent sessions
🎤 One-Liner:
"Improve Agentforce quality continuously — daily CSAT monitoring, weekly containment analysis, monthly edge case testing and quarterly Topic expansion based on escalation patterns. The agent improves as your data, descriptions and Knowledge improve."
Q47
How do you deploy an Agentforce agent from Sandbox to Production? Advanced

📍 Deployment Process

STEP 1: Develop in Sandbox
- Build Topics, Actions, Prompt Templates
- Test with real-like data in sandbox
- Document all configuration decisions

STEP 2: UAT (User Acceptance Testing)
- Business users test common scenarios
- QA team tests 50+ edge cases
- Sign-off from stakeholders

STEP 3: Package for Deployment
Agentforce metadata includes:
- Agent definition (metadata XML)
- Topics and Actions configuration
- Prompt Templates (Bot/AI metadata)
- Apex classes (@InvocableMethod)
- Flows (Autolaunched)
- Named Credentials (manually configured in prod)

STEP 4: Deploy via Salesforce CLI or Change Sets
sf project deploy start --source-dir force-app

STEP 5: Post-Deployment Steps
- Configure Named Credentials manually in Production
  (credentials not migrated for security)
- Set Running User for Production agent
- Configure channel (Chat widget, WhatsApp etc.)
- Enable agent → Activate

STEP 6: Smoke Testing in Production
- Test top 10 most common user inputs
- Verify escalation rules work
- Check CSAT baseline
🎤 One-Liner:
"Deploy Agentforce via Change Sets or Salesforce CLI — metadata includes agent definition, Topics, Actions, Prompts, Apex and Flows. Named Credentials must be reconfigured manually in Production for security."
Q48
What is the Einstein Copilot Studio and what does it contain? Advanced

📍 Einstein Copilot Studio

Einstein Copilot Studio is the unified admin interface in Salesforce where you access all AI-related tools for building and managing Agentforce agents and Einstein AI features.

ToolPurpose
Agent BuilderCreate and configure Agentforce agents, Topics, Actions
Prompt BuilderCreate and manage Prompt Templates
Model BuilderConnect to LLM models — Einstein or third-party (OpenAI, Azure)
Action LibraryView all available standard and custom Actions
AnalyticsMonitor agent performance, CSAT, containment

📍 Model Builder — Important for Interviews

Model Builder lets you connect Agentforce to different LLMs:

  • Einstein (Salesforce native) — Default, fully Trust Layer protected
  • OpenAI GPT-4 — Via Salesforce-managed connection
  • Azure OpenAI — For enterprise Azure customers
  • Anthropic Claude — Available via Model Builder
🎤 One-Liner:
"Einstein Copilot Studio is the command center for all Salesforce AI — Agent Builder for agents, Prompt Builder for templates, Model Builder to choose your LLM, and Analytics to monitor performance — all in one place."
Q49
How does Agentforce use Calculated Insights from Data Cloud? Advanced

📍 Calculated Insights in Agentforce

Calculated Insights are pre-computed aggregated metrics in Data Cloud that the Agentforce agent can access instantly — without running expensive real-time calculations during the conversation.

📍 Examples of Calculated Insights Used by Agents

InsightHow Agent Uses It
Customer Lifetime Value"This is a high-value customer (LTV $50K+), prioritize resolution"
Churn Risk Score"High churn risk — agent escalates to retention team"
Product Affinity"Customer likely interested in Product X — recommend in response"
Support Case Frequency"5 cases this month — proactively offer dedicated support"
Purchase Recency"Last purchase 6 months ago — trigger win-back offer"

📍 Why Pre-Compute Matters

Running complex SOQL aggregations during a live conversation would be too slow. Calculated Insights are computed in advance in Data Cloud and served instantly — making agent responses feel fast and intelligent.

🎤 One-Liner:
"Calculated Insights give Agentforce instant access to pre-computed customer metrics like LTV and churn score — enabling smarter, personalized responses without slow real-time aggregation during the conversation."
Q50
What is your approach to a greenfield Agentforce implementation — what do you do in week 1? Advanced

📍 Week 1 Greenfield Agentforce Plan

DAY 1: DISCOVERY
━━━━━━━━━━━━━━━
- Interview business stakeholders
  → What are top 5 customer pain points?
  → What requests does support receive most?
  → What takes agents the most time?
- Review existing case/chat transcripts
  → Identify top 20 most common user requests
  → Note exact language customers use

DAY 2: DATA AUDIT
━━━━━━━━━━━━━━━
- Audit Salesforce data quality
  → Is CRM data complete and accurate?
  → What objects will agent need to access?
- Assess Data Cloud readiness
  → Is Data Cloud licensed and set up?
  → Are external data sources connected?
- Review Salesforce Knowledge
  → How many articles? Are they current?

DAY 3: ARCHITECTURE DESIGN
━━━━━━━━━━━━━━━━━━━━━━━━━
- Define 3-5 initial Topics (start small)
- Map required Actions per Topic
- Identify whether Apex or Flow backs each action
- Define Running User and permissions needed
- Plan Einstein Trust Layer configuration
- Design escalation rules

DAY 4: SANDBOX SETUP
━━━━━━━━━━━━━━━━━━━
- Enable Agentforce in sandbox
- Create Running User with correct permissions
- Build Topic 1 only (start with highest volume)
- Create first Action (simplest one first)
- Test Topic 1 in Conversation Simulator

DAY 5: REVIEW AND ITERATE
━━━━━━━━━━━━━━━━━━━━━━━━
- Demo Topic 1 to stakeholders
- Gather feedback on response quality
- Adjust Topic description and Action
- Plan Week 2 scope (Topics 2 and 3)
- Document decisions and rationale
🎤 One-Liner:
"Week 1 of Agentforce = Discovery first (what do customers actually ask?), data audit second (is the data good enough?), architecture design third, then build ONE Topic in sandbox and demo it. Start narrow and expand — never try to build everything in week 1."