T

Topics and Actions

The building blocks of Agentforce agents — topics define what an agent can discuss, actions define what it can do.

What it is

Topics are the scope boundaries for an Agentforce agent — they define which categories of conversation the agent handles. Actions are the specific operations an agent can execute within a topic, like looking up an order, initiating a return, or creating a case.

Why it matters

Well-defined topics and actions are the difference between an agent that works and one that frustrates users. Topics keep the agent focused; actions give it real capability.

Key components

  • Topic classification
  • Action invocation
  • Parameter mapping
  • Fallback handling

How it connects

You configure topics and actions in Agent Builder. Actions can trigger Apex classes, Flows, Prompt Templates, or API callouts.

Good to know

Fewer topics with well-tested actions outperform many topics with thin coverage. Start with your highest-volume use case and expand from there.

Need Help Implementing This?

We specialize in putting AI and Agentforce to work for Salesforce customers. Let's talk about your use case.

Book Intro Call