Getting Started

  • What is Trailhead
  • myTrailhead
  • Trailblazer Community
  • Career Growth

Learn

  • Trails
  • Trailmixes
  • Modules
  • Projects

Credentials

  • Superbadges
  • Certifications
  • Maintain Certifications

Salesforce

  • Salesforce.com
  • AppExchange
  • Developers
  • Help Portal
© 2026 Salesforce, Inc. All rights reserved. Privacy Terms of Use Trust Accessibility Cookie Preferences
SalesforceTrailhead
  • Today
Superbadge: Apex for Agentforce

Build an Apex Agent Action

+800 Points~35 minsHands-On Challenge
Superbadge: Apex for AgentforceBuild an Apex Agent Action

Org:Mindful Goat Playground

Topics

  • Business Requirements
  • Check Your Work

Looking for help?

Explore Help ResourcesShare Your Feedback
Learning Objectives

After completing this unit, you'll be able to:

  • Build an invocable Apex action.

Business Requirements

The agent needs real-time inventory.

  • Create InventoryCheck with an invocable method that takes product codes and returns quantities.
  • Add it as an action on the Orders topic.

Check Your Work

When you've built everything in the requirements, check the challenge. The check reads your org's configuration, so names must match exactly.

Check ChallengeDemo check
Previous unitGet Ready for the Apex for Agentforce SuperbadgeNext unit Return Structured Responses