Loading

Agentforce Service Superbadge Trailhead Help and Troubleshooting Guide

Introduction

This article provides resources to help learners complete hands-on superbadge challenges on Trailhead. It includes challenge-specific resources, troubleshooting techniques, and links to Salesforce documentation and Trailhead learning to support successful completion of these technical assessments.

 

About Superbadges

Superbadges assess your understanding and ability to apply key concepts, tools, and methodologies in a hands-on practice environment. These technical assessments bridge the gap between what you’ve learned and how you can apply those skills in real-world scenarios. Completing a superbadge shows your ability to work on Salesforce implementations, demonstrates your expertise, and can help with certification preparation.

How Is a Superbadge Different from Other Badges on Trailhead?

Badges help you learn by covering specific subagents broken down into units. In some cases, badges provide opportunities for hands-on practice with clear guidance and instructions to follow. Superbadges test what you've learned by presenting the requirements in a narrative format with multiple hands-on challenges to complete. Trailblazers need to complete the challenges by configuring a technical solution in a special Salesforce Developer Edition org. Read more about how the Salesforce Program Agreement applies to superbadges.

General Notes

This superbadge is designed for Trailblazers who have a functional understanding of Agentforce Service Agents and the Salesforce platform. You should be comfortable configuring an autonomous agent by defining its role, company context, and specific instructions to handle customer inquiries. You should know how to ground an agent using Agentforce Data Libraries—incorporating both Knowledge articles and uploaded files—and understand how the reasoning engine uses these sources to provide accurate, trusted responses.

You should be able to bridge the gap between business requirements and technical execution by leveraging standard and custom subagents, and associating them with agent actions powered by Flows and Prompt Builder templates. You should also be familiar with deploying agents to Experience Cloud sites and managing conversation handoffs using Omni-Channel flows for human escalation. If you have completed the recommended learning and are ready to apply these skills to solve complex service scenarios without step-by-step guidance, you're in the right place!

Each superbadge includes recommended learning. Complete the recommended learning for each superbadge to prepare for the superbadge challenges. This is the best way to prepare for the concepts that are tested.

Make sure you’re using the org specified to complete the challenges. For this superbadge, Agentforce Service, please use this page  to sign up for the special Developer Edition org with the configuration you need to pass the challenges.

Accessibility considerations for this superbadge

There are no specific accessibility notes for this superbadge. If you encounter accessibility issues with the content, use the resources provided in the Get help with this badge widget on the superbadge page.

Challenge Resources for completing the Superbadge: Agentforce Service

This superbadge tests your ability to configure an Agentforce Service Agent equipped with data sources to resolve customer requests and escalate to a human agent for more complex inquiries. If you'd like to explore agent behavior and troubleshooting even more, check out Troubleshooting Agents from Salesforce Help.

Inside the Agentforce Service Superbadge | Salesforce Trailhead Tips

Check out the video below for a high-level overview of superbadges and tips for success on this superbadge. This video explains superbadges and highlights common roadblocks to help you navigate the technical assessment.

Watch the Video: Inside the Superbadge: Agentforce Service

Resources for Completing Challenge 1: Set Up the Agent and Agentforce Data Library 

Agentforce Setup

Your org already includes a preconfigured Agentforce Service agent named “Coral Cloud Experience Agent.” You should use this existing agent and update its configuration as instructed in the challenge. Creating a new agent may lead to mismatches with the expected setup and could impact challenge validation.

Define the Agent’s Role and Context

Integrate Knowledge Articles in Agentforce Builder

If you see an error while creating the Agentforce Data Library ("Something Went Wrong. Recreate the data library and try again." OR “We couldn’t upload your file. Please create a new data library and try again.”), try these steps:

  1. Delete the existing data library
  2. Create a new data library
  3. Before changing anything on the page, refresh the page
  4. Now populate the fields on the page and save
  5. Wait for the status to change to Ready (this may take some time)

Note: Since a data library can only have one data type, you need two data libraries: one for Knowledge articles and another to upload the file.

Integrate the Code of Conduct and User Agreement File

Ensure the Code of Conduct file is named CC_User_Agreement.pdf. Do not change this filename, or it will not pass the challenge check.

If you have successfully uploaded the Code of Conduct PDF file, following the instructions in the superbadge, you may still encounter an error message that states "The Agentforce Data Library setup is missing the required Code of Conduct PDF configuration. Please allow sufficient time for the configuration to complete." If you see this error message, please wait and try again later. There might be a delay in the completion of the background configuration.

After adding PDF files to the Agentforce Data Library, allow sufficient time for the configuration to complete. Data Library content must finish processing and indexing before it can be used by the agent.

 

Resouces for Completing Challenge 2: Create the Booking Management Subagent 

Booking Management Subagent

When creating the Booking Management Subagent, if a "Subagent Overlap Detected" warning message pops up, you can safely select Ignore.

To resolve a duplicate error, review the list of subagents or actions in the Agentforce Asset Library to identify and delete any redundant records.

Agent Subagents

Take a look at the booking records in the Coral Cloud Resorts app before writing agent action instructions.

 

Resources for Completing Challenge 3: Add Standard Subagents for General FAQ and Escalation

While testing the agent, if you notice an unexpected response it's possibly because the search index for the data sources is still in progress. Follow these steps to rebuild the search index. 

  1. Open the Data s60 app. 
  2. Go to the Search Indexes tab. Confirm the status is Ready for the two records in the list.
  3. Go to the Data Explorer tab.
  4. Select Object as Data Model Object.
  5. Select the chunk data model object for the file (FileUDMO_SI_chunk__dlm) or knowledge article version (KA_Coral_Cloud_Experience_Age_chunk__dlm or KA_All_Records_and_Fields_Def_chunk__dlm) from the list.
    There should be records in the table for both objects. If not, rebuild the Search Index for that data library by clicking the Rebuild button on the search index record from step 2. It could take up to 30 minutes or more for the status to be Ready.

If you're unable to save the General FAQ subagent after adding the Film Festival Related Answers agent action because of error: "ui.services.connection.api.ToolingConnectionException...Exception occurred in direct soap call", follow these steps:

  1. Create a new Search Index "KA_Coral_Cloud_Experience_Age".
  2. Allow some time for the Rebuild button to show on the Search Index page and then rebuild the index.
  3. When the status is ready, you can add the new retriever to the Film_Festival_Related_Answers Prompt Builder Template. 
  4. Save the agent action to General FAQ subagent. 

If you don't see the option to add a new action to a subagent when overriding it, be sure to save the new version from the Subagent Configuration tab and then navigate to This Subagent's Actions.

Tips

  • Depending on the size of your screen, you may need to scroll down in the Template Settings panel to be able to configure the Search Text for the retrievers.
  • Make sure you activate the prompt template after adding the retrievers to the prompt template.
  • Do not edit/unselect the "Allowed Response Language(s)" in the Response Language Settings section of configuration for this superbadge. If you've already made changes, you could run into error: "Whoops, looks like there was a problem. Please try again." To resolve the error create a new Flex Prompt Template with a unique name: Film_Festival_Related_Answers. You'll need to delete the existing prompt builder template, so make a copy of the workspace. 
  • If you encounter the "Sorry to interrupt" modal while creating the agent action from the Agent Builder, exit the modal and add the newly created action from the Asset Library. Don't forget to save the changes by navigating to the Save button in the Subagent Configuration tab. 
  • If you can't find the Knowledge Article retriever, make sure your data library was created successfully. Refer to the Challenge 1 section for more information if you encountered an error when creating the data library. 

Note: This challenge doesn't rely on the results of the conversations because background processes like Search Index could take a long time. 

Prompt Template and Retriever Setup

Guardrail Settings and Final Verification

 

Resouces for Completing Challenge 4: Deploy Agent and Transfer Conversations 

  • Before adding the Embedded Messaging component to the coral-cloud site (Experience Cloud Site), publish the coral-cloud site and the ESA Web Deployment (Embedded Service Deployment). 

  • While activating the agent if you notice the error "Agentforce Version cannot be activated. Agentforce services are still being provisioned for this organization.", toggle the Agentforce setting and try again. 

  • If multiple versions of the Route to ESA flow exist, ensure the correct version is active. Creating a new flow version does not automatically activate it, and the challenge validation may evaluate an older active version instead of your most recent updates. 

Configure the Inbound Omnichannel Flow

 

Need More Help? The Trailblazer Community Awaits!

As a reminder, a superbadge is a great way for you to assess your skills and knowledge and work on your problem-solving abilities. You'll get the most value by working hard to figure things out on your own. However, if you get stuck, you're welcome to reach out to the Trailblazer community. You can also help fellow Trailblazers who are stuck in a challenge, just remember that your superbadge org and solutions should never be shared.

 

Related Superbadges

Here are some related superbadges that might be helpful.

 
로드 중
Salesforce Help | Article