Salesforce Salesforce Agentforce Specialist Practice Exams
Last updated on Oct 21,2026- Exam Code: Salesforce Agentforce Specialist
- Exam Name: Salesforce Agentforce Specialist
- Certification Provider: Salesforce
- Latest update: Oct 21,2026
An Agentforce needs to create a Sales Email with a custom prompt template. They need to ground on the following data.
Opportunity Products Events near the customer Tone and voice examples How should the Agentforce Specialist obtain related items?
- A . Call prompt initiated flow to fetch and ground the required data.
- B . Create a flex template that takes the records in question as inputs.
- C . Utilize a standard email template and manually insert the required data fields.
A
Explanation:
To ground a sales email on Opportunity Products, Events near the customer, and Tone and voice examples, the Agentforce Specialist should use a prompt-initiated flow. This flow can dynamically fetch the necessary data from related records in Salesforce and ground the generative AI output with contextually accurate information.
Option B (flex template) does not provide the ability to fetch dynamic data from Salesforce records automatically.
Option C (manual insertion) would not allow for the dynamic and automated grounding of data required for custom prompts.
Refer to Salesforce documentation on flows and grounding for more details on integrating data into custom prompt templates.
Universal Containers would like to route SMS text messages to a service rep from an Agentforce Service Agent.
Which Service Channel should the company use in the flow to ensure it’s routed properly?
- A . Messaging
- B . Route Work Action
- C . Live Agent
A
Explanation:
Comprehensive and Detailed In-Depth
UC wants to route SMS text messages from an Agentforce Service Agent to a service rep using a flow.
Let’s identify the correct Service Channel.
Option A: Messaging
In Salesforce, the "Messaging" Service Channel (part of Messaging for In-App and Web or SMS) handles text-based interactions, including SMS. When integrated with Omni-Channel Flow, the "Route Work" action uses this channel to route SMS messages to agents. This aligns with UC’s requirement for SMS routing, making it the correct answer.
Option B: Route Work Action
"Route Work" is an action in Omni-Channel Flow, not a Service Channel. It uses a channel (e.g., Messaging) to route work, so this is a component, not the channel itself, making it incorrect.
Option C: Live Agent
"Live Agent" refers to an older chat feature, not the current Messaging framework for SMS. It’s outdated and unrelated to SMS routing, making it incorrect.
Option D: SMS Channel
There’s no standalone "SMS Channel" in Salesforce Service Channels―SMS is encompassed within the "Messaging" channel. This is a misnomer, making it incorrect.
Why Option A is Correct:
The "Messaging" Service Channel supports SMS routing in Omni-Channel Flow, ensuring proper handoff from the Agentforce Service Agent to a rep, per Salesforce documentation.
Reference: Salesforce Agentforce Documentation: Omni-Channel Integration > Messaging C Details SMS in Messaging channel.
Trailhead: Omni-Channel Flow Basics C Confirms Messaging for SMS.
Salesforce Help: Service Channels C Lists Messaging for text-based routing.
Universal Containers (UC) wants to implement an AI-powered customer service agent that can:
Retrieve proprietary policy documents that are stored as PDFs.
Ensure responses are grounded in approved company data, not generic LLM knowledge.
What should UC do first?
- A . Set up an Agentforce Data Library for AI retrieval of policy documents.
- B . Expand the AI agent’s scope to search all Salesforce records.
- C . Add the files to the content, and then select the data library option.
A
Explanation:
Comprehensive and Detailed In-Depth
To implement an AI-powered customer service agent that retrieves proprietary policy documents (stored as PDFs) and ensures responses are grounded in approved company data, UC must first establish a foundation for the AI to access and use this data. The Agentforce Data Library (Option A) is the correct starting point. A Data Library allows UC to upload PDFs containing policy documents, index them into Salesforce Data Cloud’s vector database, and make them available for AI retrieval. This setup ensures the agent can perform Retrieval-Augmented Generation (RAG), grounding its responses in the specific, approved content from the PDFs rather than relying on generic LLM knowledge, directly meeting UC’s requirements.
Option B: Expanding the AI agent’s scope to search all Salesforce records is too broad and unnecessary at this stage. The requirement focuses on PDFs with policy documents, not all Salesforce data (e.g., cases, accounts), making this premature and irrelevant as a first step.
Option C: "Add the files to the content, and then select the data library option" is vague and not a precise process in Agentforce. While uploading files is part of setting up a Data Library, the phrasing suggests adding files to Salesforce Content (e.g., ContentDocument) without indexing, which doesn’t enable AI retrieval. Setting up the Data Library (A) encompasses the full process correctly.
Option A: This is the foundational step―creating a Data Library ensures the PDFs are uploaded, indexed, and retrievable by the agent, fulfilling both retrieval and grounding needs.
Option A is the correct first step for UC to achieve its goals.
Reference: Salesforce Agentforce Documentation: "Set Up a Data Library" (Salesforce Help: https://help.salesforce.com/s/articleView?id=sf.agentforce_data_library.htm&type=5)
Salesforce Data Cloud Documentation: "Ground AI Responses with Data Cloud" (https://help.salesforce.com/s/articleView?id=sf.data_cloud_agentforce.htm&type=5)
An Agentforce at Universal Containers is trying to set up a new Field Generation prompt template.
They take the following steps.
Create a new Field Generation prompt template.
Choose Case as the object type.
Select the custom field AI_Analysis_c as the target field.
After creating the prompt template, the Agentforce Specialist saves, tests, and activates it. Howsoever, when they go to a case record, the AI Analysis field does not show the (Sparkle) icon on the Edit pencil. When the Agentforce Specialist was editing the field, it was behaving as a normal field.
Which critical step did the Agentforce Specialist miss?
- A . They forgot to reactivate the Lightning page layout for the Case object after activating their Field Generation prompt template.
- B . They forgot that the Case Object is not supported for Add generation as Feinstein Service Replies should be used instead.
- C . They forgot to edit the Lightning page layout and associate the field to a prompt template
C
Explanation:
For Field Generation prompt templates to display the Sparkle icon (indicating AI-generated content), the target field must be explicitly associated with the prompt template on the Lightning page layout. Even if the prompt template is activated, failing to add the field to the page layout and link it to the template will result in the field behaving as a standard field. Salesforce documentation emphasizes that page layout configuration is mandatory to enable AI-driven field interactions.
Reactivating the layout (A) is unnecessary unless the layout itself was modified after activation.
Case objects are supported for Field Generation (B is incorrect).
Reference: Salesforce Help Article: Configure Field Generation Prompt Templates ("Associating Fields with Page Layouts" section).
Einstein GPT Implementation Guide: "Enabling AI-Generated Fields in Lightning Pages."
Universal Containers (UC) wants to make a sales proposal and directly use data from multiple unrelated objects (standard and custom) in a prompt template.
How should UC accomplish this?
- A . Create a prompt template passing in a special custom object that connects the records temporarily.
- B . Create a prompt template-triggered flow to access the data from standard and custom objects.
- C . Create a Flex template to add resources with standard and custom objects as inputs.
- D . Use a Record Snapshot to combine data from unrelated objects into a single prompt.
C
Explanation:
Comprehensive and Detailed In-Depth
UC needs to incorporate data from multiple unrelated objects (standard and custom) into a prompt template for a sales proposal. Let’s evaluate the options based on Agentforce capabilities.
Option A: Create a prompt template passing in a special custom object that connects the records temporarily.
While a custom object could theoretically act as a junction to link unrelated records, this approach requires additional setup (e.g., creating the object, populating it with data via automation), and there’s no direct mechanism in Prompt Builder to "pass in" such an object to a prompt template without grounding or flow support. This is inefficient and not a native feature, making it incorrect.
Option B: Create a prompt template-triggered flow to access the data from standard and custom objects.
There’s no such thing as a "prompt template-triggered flow" in Salesforce. Flows can invoke prompt templates (e.g., via the "Prompt Template" action), but the reverse―triggering a flow from a prompt template―is not a standard construct. While a flow could gather data from unrelated objects and pass it to a prompt, this option’s terminology is inaccurate, and it’s not the most direct solution, making it incorrect.
Option C: Create a Flex template to add resources with standard and custom objects as inputs.
In Agentforce’s Prompt Builder, a Flex template (short for Flexible Prompt Template) allows users to define dynamic inputs, including data from multiple Salesforce objects (standard or custom), even if they’re unrelated. Resources can be added to the template (e.g., via merge fields or Data Cloud queries), enabling the prompt to pull data directly from specified objects without requiring a junction object or complex flows. This is ideal for generating a sales proposal using disparate data sources and aligns with Salesforce’s documentation on Flex templates, making it the correct answer.
Why Option C is Correct:
Flex templates are designed for scenarios requiring flexible data inputs, allowing UC to directly reference multiple unrelated objects in the prompt template. This simplifies the process and leverages Prompt Builder’s native capabilities, as outlined in Salesforce documentation.
Reference: Salesforce Agentforce Documentation: Prompt Builder > Flex Templates C Describes adding multiple object resources as inputs.
Trailhead: Build Prompt Templates in Agentforce C Highlights Flex templates for dynamic data scenarios.
Salesforce Help: Create Flexible Prompts C Confirms support for standard and custom object
data.
An administrator wants to check the response of the Flex prompt template they’ve built, but the preview button is greyed out.
What is the reason for this?
- A . The records related to the prompt have not been selected.
- B . The prompt has not been saved and activated,
- C . A merge field has not been inserted in the prompt.
A
Explanation:
When the preview button is greyed out in a Flex prompt template, it is often because the records related to the prompt have not been selected. Flex prompt templates pull data dynamically from Salesforce records, and if there are no records specified for the prompt, it can’t be previewed since there is no content to generate based on the template.
Option B, not saving or activating the prompt, would not necessarily cause the preview button to be greyed out, but it could prevent proper functionality.
Option C, missing a merge field, would cause issues with the output but would not directly grey out the preview button.
Ensuring that the related records are correctly linked is crucial for testing and previewing how the prompt will function in real use cases.
Salesforce Agentforce Specialist
Reference: Refer to the documentation on troubleshooting Flex templates here:
https://help.salesforce.com/s/articleView?id=sf.flex_prompt_builder_troubleshoot.htm
Leadership needs to populate a dynamic form field with a summary or description created by a large language model (LLM) to facilitate more productive conversations with customers. Leadership also wants to keep a human in the loop to be considered in their AI strategy.
Which prompt template type should the Agentforce Specialist recommend?
- A . Field Generation
- B . Sales Email
- C . Record Summary
A
Explanation:
Why is "Field Generation" the correct answer?
In Agentforce, the Field Generation prompt template type is designed to populate dynamic form fields with AI-generated content, such as summaries or descriptions created by a large language model (LLM).
Key Considerations for Using Field Generation in Dynamic Forms:
AI-Powered Summarization in Form Fields
Field Generation templates allow real-time AI-generated summaries based on customer data.
The summary is dynamically populated in the form field for the sales or service representative to review.
Human-in-the-Loop AI Strategy
Since leadership wants a human to be involved, Field Generation ensures the AI-generated content is editable before submission.
o This keeps a human-in-the-loop, allowing manual review before finalizing responses.
Works with Salesforce Dynamic Forms
Field Generation templates integrate seamlessly with Salesforce Dynamic Forms, ensuring AI-powered insights are embedded within form layouts.
Why Not the Other Options?
B. Sales Email
Incorrect because Sales Email templates are designed for AI-generated email content, not for populating form fields.
C. Record Summary
Incorrect because Record Summary templates generate high-level summaries of entire records, but do not populate individual form fields dynamically.
Agentforce Specialist Reference
Salesforce AI Specialist Material confirms that Field Generation templates are used for AI-powered dynamic form population.
Universal Containers tests out a new Einstein Generative AI feature for its sales team to create personalized and contextualized emails for its customers. Sometimes, users find that the draft email contains placeholders for attributes that could have been derived from the recipient’s contact record.
What is the most likely explanation for why the draft email shows these placeholders?
- A . The user does not have permission to access the fields.
- B . The user’s locale language is not supported by Prompt Builder.
- C . The user does not have Einstein Sales Emails permission assigned.
A
Explanation:
Comprehensive and Detailed In-Depth
UC is using an Einstein Generative AI feature (likely Einstein Sales Emails) to draft personalized emails, but placeholders (e.g., {!Contact.FirstName}) appear instead of actual data from the contact record. Let’s analyze the options.
Option A: The user does not have permission to access the fields.
Einstein Sales Emails, built on Prompt Builder, pulls data from contact records to populate email drafts. If the user lacks field-level security (FLS) or object-level permissions to access relevant fields (e.g., FirstName, Email), the system cannot retrieve the data, leaving placeholders unresolved. This is a common issue in Salesforce when permissions restrict data access, making it the most likely explanation and the correct answer.
Option B: The user’s locale language is not supported by Prompt Builder.
Prompt Builder and Einstein Sales Emails support multiple languages, and locale mismatches typically affect formatting or translation, not data retrieval. Placeholders appearing instead of data isn’t a documented symptom of language support issues, making this unlikely and incorrect.
Option C: The user does not have Einstein Sales Emails permission assigned.
The Einstein Sales Emails permission (part of the Einstein Generative AI license) enables the feature itself. If missing, users couldn’t generate drafts at all―not just see placeholders. Since drafts are being created, this permission is likely assigned, making this incorrect.
Why Option A is Correct:
Permission restrictions are a frequent cause of unresolved placeholders in Salesforce AI features, as the system respects FLS and sharing rules. This is well-documented in troubleshooting guides for Einstein Generative AI.
Reference: Salesforce Help: Einstein Sales Emails > Troubleshooting C Lists permissions as a cause of data issues.
Trailhead: Set Up Einstein Generative AI C Emphasizes field access for personalization.
Agentforce Documentation: Prompt Builder > Data Access C Notes dependency on user permissions.
Universal Containers (UC) plans to automatically populate the Description field on the Account object.
Which type of prompt template should UC use?
- A . Field Generation prompt template
- B . Flex Prompt template
- C . Sales Email prompt template
A
Explanation:
Context of the Question
Universal Containers (UC) wants to automatically populate the Description field on the Account object. The AI-driven solution must generate textual data and write it directly into a field.
Field Generation Prompt Template
Primary Use Case: A Field Generation prompt template is specifically designed to create or fill in fields on a record with AI-generated text.
Auto-population: By configuring a Field Generation prompt template, admins can define the instructions, data inputs, and desired output for the AI. The resulting text then populates the specified field, such as the Account Description.
Why Not Flex or Sales Email Prompt Templates?
Flex Prompt Template: Used to combine or manipulate data across objects, merges, or references from multiple sources in more advanced, flexible prompts. Typically not the go-to for straightforward text generation on a single field.
Sales Email Prompt Template: Focused on drafting or summarizing emails for sales reps (like crafting outreach or follow-up messages). This template is not specifically built to populate a field on a record.
Conclusion
For automatically populating the Description field with AI-generated content, the Field Generation prompt template (Option A) is the correct choice.
Salesforce Agentforce Specialist Reference & Documents
Salesforce Documentation: Prompt Template Types
Explains various template types (Field Generation, Flex, Email, etc.) and their typical use cases.
Salesforce Agentforce Specialist Study Guide
Highlights Field Generation prompt templates for populating or updating record fields with AI-generated text.
An Agentforce created a custom Agent action, but it is not being picked up by the planner service in the correct order.
Which adjustment should the Al Specialist make in the custom Agent action instructions for the planner service to work as expected?
- A . Specify the dependent actions with the reference to the action API name.
- B . Specify the profiles or custom permissions allowed to invoke the action.
- C . Specify the LLM model provider and version to be used to invoke the action.
A
Explanation:
When a custom Agent action is not being prioritized correctly by the planner service, the root cause is often missing or improperly defined action dependencies. The planner service determines the execution order of actions based on dependencies defined in the action instructions. To resolve this, the Agentforce Specialist must explicitly specify dependent actions using their API names in the custom action’s configuration. This ensures the planner understands the sequence in which actions must be executed to meet business logic requirements.
Salesforce documentation highlights that dependencies are critical for orchestrating workflows in Einstein Bots and Agentforce. For example, if Action B requires data from Action A, Action A’s API name must be listed as a dependency in Action B’s instructions. The Einstein Bot Developer Guide states that failing to define dependencies can lead to race conditions or incorrect execution order.
In contrast:
Profiles or custom permissions (B) control access to the action but do not influence execution order.
LLM model provider and version (C) determine the AI model used for processing but are unrelated to the planner’s sequencing logic.
Reference: Salesforce Help Article: Configure Custom Actions for Einstein Bots (Section: "Defining Action Dependencies").
Einstein Bot Developer Guide: "Orchestrating Workflows with the Planner Service" (Dependency Management best practices).