Loading

Advanced Agentforce Flow Administration Superbadge: Trailhead Challenge Help

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 introduce you to specific topics in bite-sized units, sometimes combining short lessons with hands-on practice through step-by-step instructions. Superbadges present the requirements in a narrative format with multiple hands-on challenges. 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 advanced understanding of Agentforce Builder and Flow Builder. 

Each superbadge includes recommended learning. Completing the recommended learning for each superbadge is the best way to prepare for the superbadge challenges. Many concepts tested in the superbadge are covered in the recommended learning.

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

As soon as you sign up, save the username and password somewhere secure, like a password manager, so you can log back in later. If you don't log into the org within 30 days, you may be asked to reconnect it to Trailhead.

Important Note: If Einstein is enabled in your org, you may still see an error message indicating that Einstein is not enabled. If this happens, please toggle Einstein off and then on again and refresh the page. Make sure Einstein and Agentforce are enabled in your org. When configuring Brewster, make sure the agent is saved and committed before proceeding to check challenges. 

Check out the Superbadge Challenge Help article for more notes on completing superbadges.

Accessibility Considerations for This Superbadge

If you encounter accessibility issues with the content, use the resources provided below. 

When working with Decision elements in Flow Builder, the Items list containing the outcomes presents some unexpected behaviors for screen readers. General workarounds for JAWS and NVDA follow.

JAWS Users: Attempting to enter the list directly with forms mode loses focus and moves focus out of the list.

To access the Items list containing the decision outcomes, perform the following steps:

  1. Turn JAWS virtual cursor off and navigate to the Items list using TAB and SHIFT TAB.
  2. Once focused on the list of outcomes, use the arrow keys to move to the desired outcome.
  3. Press ENTER to select an outcome from the Items list.
  4. TAB into the Label field to verify the correct outcome has been selected.

NVDA Users:

  1. Place focus on the Items list and manually enter focus mode.
  2. Once focused on the list of outcomes, use the arrow keys to move to the desired outcome.
  3. Press ENTER to select an outcome from the Items list.
  4. TAB into the Label field to verify the correct outcome has been selected.

Challenge Resources for Advanced Agentforce Flow Administration

Resources for Completing Challenge: Create a Subagent that Handles Cases

Review System Configuration

Review the provided Get Store And Asset With Input flow before making changes. Debugging the provided flow can help you understand how Brewster retrieves store and asset information. Review the Agent Customization with Flows badge for more information on setting input/output variables with descriptions and making the flow ready for use as an agent action.

Brewster’s configuration doesn’t include the default General FAQ subagent. The General FAQ subagent depends on Data 360 architecture, which isn't used in this superbadge.

Additional Resources

Create a Subagent for Equipment Case Management

Configure the subagent according to the challenge requirements. The hands-on challenge validates the required instructions, topics, and actions.

Although we can't check for it, you can use the Input and Output Configuration provided below to complete the action configuration. 

Agent Action Configuration: Inputs

InputRequire Input
serialNumberFalse

 

Agent Action Configuration: Outputs

OutputFilter from Agent ActionShow in Conversation
accountIdFalseFalse
accountNameFalseTrue
assetIdFalseFalse
assetNameFalseTrue

Additional Resources

Create a Flow that Gathers Recent Cases

Review the flow requirements carefully before you begin. Later steps depend on the flow returning the expected information. Configure the flow inputs and outputs according to the challenge requirements so they can be used by the prompt template. Activate the flow before continuing to the next subsection.

Additional Resources

Update a Prompt Template with Recent Cases

Verify that the prompt template references the flow created in the previous subsection. Ensure the prompt template uses the flow outputs specified in the challenge requirements. Review the generated recommendation to confirm the prompt is using the expected case information before continuing.

Additional Resources

Resources for Completing Challenge: Create Equipment Malfunction Cases

Equip Brewster to Create Cases

Review the flow requirements before configuring the action to ensure the expected inputs and outputs are available. As you think through resource configuration for this flow and others, consider whether the reasoning engine will use the resource for data input or output. If Brewster's interaction with the store manager will generate a needed value, such as the case description, that variable should be available for input outside the flow. If the prompt action will provide the value, such as the replacement rationale or recommendation, that variable should be available for output outside the flow.

Use values from earlier in the flow to set the inputs for the "Equipment Repair or Replace Recommendation" core action. If you aren't seeing the expected input values, make sure the Get Account Details and Get Asset Details actions are configured according to the requirements. When setting the input values, consider that the prompt action will use all of the information about the asset and store--not just a particular field from the store or asset record. 

Confirm that the flow is configured to create the required Equipment Malfunction Case records according to the challenge requirements. Test the flow configuration before associating it with the agent action. Activate the flow before continuing to the next subsection.

Create an Action so Brewster Creates Cases

Associate the action with the flow you created in the previous subsection. Review the completed action configuration before continuing, as later challenges build on this implementation.

Although we can't check for it, you can use the Input and Output Configuration provided below to complete the action configuration. 

Agent Action Configuration: Inputs

InputRequire Input to Execute Action
accountIdFalse
assetIdFalse
descriptionFalse
subjectFalse

Agent Action Configuration: Outputs

OutputFilter from Agent ActionShow in Conversation
caseIdFalseFalse
rationaleFalseTrue
recommendationFalseTrue

Additional Resources

Resources for Completing Challenge: Complete the Agent Configuration

This challenge completes Brewster's end-to-end workflow. Verify that the agent, subagent, flow, prompt template, and actions from the previous challenges are configured correctly before continuing.

Complete the Approval Flow

When configuring the decision element, consider the regional manager approval step output. If the output is an approval decision, set the orchestrated step status to "Approved". No conditions are needed in the Decision element for the rejected decision. 

When saving the approval flow, you may see warnings relating to the Automated Process User and Orchestration Work Items. Proceed with saving and activating the flow to complete the challenge.

Create an Agent Action for Approval Handling

Associate the action with the approval flow you created in the previous subsection. Review the completed action configuration before continuing. The hands-on challenge check validates the action's configuration and its association with the approval flow.

Although we can't check for it, you can use the Input and Output Configuration provided below to complete the action configuration. 

Agent Action Configuration: Inputs

InputRequire Input to Execute Action
firstApproverFalse
recordIdTrue
submissionCommentsTrue
submitterFalse

Agent Action Configuration: Outputs

OutputFilter from Agent ActionShow in Conversation
textSummaryFalseFalse

Although we can't check for it, you can use the reasoning instructions provided below to complete the action configuration. We recommend testing your work in Agent Builder after completing Brewster's functionality. 

Reasoning Instructions

reasoning:
        instructions: ->
            |##First run {!@actions.Get_Store_and_Asset_Details}
             ##Next confirm with the User that this is the right store Name {!@variables.StoreName} that they are related to and this is the right machine they need to fix {!@variables.assetName} and that we can start with the case creation. By utilizing {!@actions.SetIsStoreConfirmed}
        actions:
            SetIsStoreConfirmed: @utils.setVariables
                description: "Action called to set the user's response to confirming the store and asset names"
            Get_Store_and_Asset_Details: @actions.Get_Store_and_Asset_Details
                set @variables.storeId = @outputs.accountId
                set @variables.StoreName = @outputs.accountName
                set @variables.assetId = @outputs.assetId
                set @variables.assetName = @outputs.assetName
            Create_Case: @actions.Create_Case
                with accountId = ...
                with assetId = ...
                with description = ...
                with subject = ...
            Approval_flow_for_Regional_Manager: @actions.Approval_flow_for_Regional_Manager
                with firstApprover = ...
                with recordId = ...
                with submissionComments = @variables.recommendation
                with submitter = ...
 

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.

Here are some related superbadges that might be helpful.

 
Laden
Salesforce Help | Article