01Chapter 1: How an agent turns a request into a responseAn Agentforce agent does not run a fixed script. It reads what the user said, picks the job that fits, and decides which steps to take. This chapter gives you the working model of that loop. Later chapters cover each part in detail.6 min read
02Chapter 2: Finding your way around Agentforce BuilderThis chapter assumes you know basic Salesforce concepts (objects, fields, records) and can move around Setup. You should also have a general idea of what a large language model does. You don't need to have built an agent before. By the end, you will know what the main areas of Agentforce Builder are7 min read
03Chapter 3: What a topic is and why agents need themThis chapter assumes you know basic Salesforce concepts (objects, fields, records), can find your way around Setup, and have a general idea of what a large language model (LLM) does. You don't need to write Flow or Apex yet. Later chapters cover the parts of a topic in detail. This chapter explains 6 min read
04Chapter 4: Naming a topic and writing its classification descriptionThis chapter assumes you know basic Salesforce concepts (objects, fields, records), can navigate Setup, and have a general idea of what a large language model (LLM) does. You do not need to write code here. You will write short pieces of text, and those pieces control whether an agent picks the righ6 min read
05Chapter 5: Setting a topic's scopeThis chapter assumes you know what a topic is and have seen the topic name and classification description fields in Agentforce Builder. You should also know that instructions and actions come after scope in the topic definition. Here you will learn what the scope field does, how it differs from the 6 min read
06Chapter 6: Topic instructions: guiding the agent's reasoningTopic instructions are the part of a topic that tells the agent how to work once it has chosen that topic. This chapter covers what instructions do, where they sit in the agent's reasoning, and what happens when they are vague or contradictory. The next chapter covers writing technique in detail.6 min read
07Chapter 7: Writing instructions that are specific and testableYou should already know what a topic is, how its classification description and scope decide which requests it receives, and what an action is. This chapter covers the instruction text inside a topic. That text guides the agent's reasoning after the topic has been chosen. Setting up actions is cover6 min read
08Chapter 8: Actions: what the agent can doThis chapter assumes you know basic Salesforce concepts (objects, fields, records), have used Setup, and have a general idea of what a large language model does. Familiarity with Flow or Apex helps but is not required. Later chapters cover action types, inputs and outputs, and Apex in detail. Here y6 min read
09Chapter 9: Choosing between Flow, Apex, prompt template, and standard actionsThis chapter assumes you know what a topic is and that a topic can hold actions. You should also know basic Flow and Apex terms (autolaunched flow, invocable method). It covers how to pick an action type for a task, and what goes wrong when you pick badly.6 min read
10Chapter 10: Describing action inputs and outputsAn action is only useful if the agent can fill in its inputs correctly and make sense of what comes back. The agent never sees your Flow or Apex code. It sees a name, a description, and a list of inputs and outputs. This chapter covers how to describe those so the agent uses them correctly.7 min read
11Chapter 11: Telling the agent when and how to use an actionThis chapter assumes you know what a topic is, how a topic's classification description and scope work, and what an action is. It also assumes you have seen action inputs and outputs and can read basic Apex or Flow. Here you will learn how to write instructions that tell the agent when to call an ac6 min read
12Chapter 12: Building an invocable Apex method for an actionThis chapter shows how to write an Apex class that an agent can call as an action. It assumes you have read the earlier chapters on topics, instructions, and action inputs and outputs. You should also be able to write basic Apex (classes, SOQL, lists) and open Setup and Agentforce Builder.6 min read
13Chapter 13: Testing in Builder and refining topics, instructions, and actionsThis chapter assumes you can already create a topic with a classification description and scope, write numbered instructions, and attach an action (Flow, Apex, prompt template, or standard). It covers how to test those pieces in Agentforce Builder, how to read the results, and how to decide which pi7 min read
14Chapter 14: Design practices: distinct topics, safe actions, and guardrailsThis chapter assumes you know the basics of Salesforce objects and fields, have used Setup, and understand what topics, instructions, and actions are in Agentforce Builder. It also assumes you have a general idea of what a large language model does. You have already seen how to write each part. Here7 min read