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

Return Structured Responses

+800 Points~35 minsHands-On Challenge
Superbadge: Apex for AgentforceReturn Structured Responses

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:

  • Return structured output an agent can use.

Business Requirements

Delivery quotes include a date and a confidence note.

  • Return a wrapper class with deliveryDate and note as invocable variables.
  • Describe each output so the agent can explain it.

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 unitBuild an Apex Agent ActionNext unit Test Your Agent Actions