Agent Builder
Agent Builder is a setup tool in Salesforce that provides a guided interface for creating, configuring, and customizing Agentforce AI agents.
Definition
Agent Builder is a setup tool in Salesforce that provides a guided interface for creating, configuring, and customizing Agentforce AI agents. It allows administrators and developers to define an agent's topics, actions, guardrails, and channels without writing code, making it easier to build autonomous AI agents that interact with customers or employees.
In plain English
“Agent Builder is the place in Salesforce where you build your own AI helper, called an Agentforce agent. You tell it what topics it should handle, what actions it can take, and what rules it should follow, all without writing code.”
Worked example
The platform team at Marigold Studios opens Agent Builder to create their first Agentforce agent - a customer-service helper for their fan-merchandise store. They define three Topics (Order Status, Returns, Product Recommendations), each with a few Actions (look up an order, initiate a return, query the product catalog), set guardrails (no refunds over $200 without human approval), and pick the channel (Embedded Service chat). No code is written; every configuration happens in the visual builder. Two weeks later the agent is handling 60% of incoming chats end-to-end, escalating only when it hits the guardrails.
Why Agent Builder matters
Agent Builder is the low-code authoring tool for Agentforce agents. It lives in Setup and gives admins and developers a guided interface to define the core building blocks of an agent: the topics (subject areas the agent covers), the actions (things the agent can do, like creating a Case or looking up a Contact), the guardrails (rules about what the agent will and won't do), and the channels (where the agent is deployed, such as Experience Cloud, Slack, or a messaging channel).
Under the hood, Agent Builder uses Salesforce's Atlas Reasoning Engine to decide which topic applies to an incoming request and which action to invoke. Builders do not have to hand-code the routing logic; they describe topics and actions in natural language and Atlas handles the matching. This dramatically lowers the skill floor for building autonomous agents compared to traditional chatbot authoring tools.
How to set up Agent Builder
Agent Builder is the no-code interface for building Agentforce AI agents — defining their topics (when the agent should engage), actions (what the agent can do — call Apex, query records, run flows), guardrails (what the agent must NOT do), and channels (where the agent appears). Agentforce is Salesforce's autonomous AI platform; Agent Builder is the visual tool to configure agents without writing prompts directly.
- Confirm Agentforce is licensed
Agentforce is a paid product line. Setup → Agents — if absent, Agentforce isn't enabled in your org.
- Open Setup → Agents → Agent Builder (or App Launcher → Agentforce)
Navigation may vary by Salesforce release. Look for Agentforce or Agents under Setup.
- Click New Agent
Wizard walks through agent type — Customer Agent / Sales Agent / Service Agent / Custom.
- Set Agent Name, Description, and Welcome Message
Welcome is what users / customers see when the agent first engages.
- Configure Topics
Topics are the situations the agent should handle — "Order Status", "Password Reset", "Product Recommendation." For each topic, specify when the agent invokes.
- Configure Actions per Topic
Actions are what the agent can DO — call an Apex method, query a record, run a Flow, post a Chatter message. Each action is bound to a topic.
- Set Guardrails
Constraints on what the agent must NOT do — "never quote pricing without checking current Price Book," "never share Account-level data with anonymous users." Guardrails are the safety rails.
- Pick Channels
Where the agent appears: Embedded Service / Slack / WhatsApp / Salesforce Mobile / etc.
- Test in the Agent Builder Test Pane
Before activating, simulate user inputs and watch the agent's reasoning + actions. Iterate.
- Activate
Live to users in the configured channels. Monitor Setup → Agent Performance for engagement metrics.
Customer / Sales / Service / Custom. Locked at creation.
When the agent engages.
What the agent can do (Apex / SOQL / Flow / Chatter / etc.).
Behavioral constraints.
Embedded Service / Slack / WhatsApp / etc.
- Agentforce is a paid product line on top of Service / Sales Cloud. Confirm licensing before scoping — many features overlap with Einstein but with different licensing.
- Guardrails are critical and easy to under-specify. An agent without good guardrails can hallucinate, share wrong data, or take unauthorized actions. Spend time stress-testing guardrails before going live.
- Agent reasoning is non-deterministic. Two users asking the same question can get different responses depending on conversation context. Test with realistic conversation paths, not just single questions.
How organizations use Agent Builder
Used Agent Builder to create an internal data-request agent for employees. They defined three topics (dataset discovery, access requests, pipeline status) and connected them to Flow-based actions. The agent handles around 60% of incoming requests without human involvement.
Built a customer-facing support agent in Agent Builder that covers account management, service tier questions, and incident reporting. Each topic has explicit guardrails that prevent the agent from discussing pricing or making policy exceptions, which are escalated to a human.
Uses Agent Builder to iterate on their booking assistant every sprint. Adding a new topic like 'group bookings' takes a product manager and an admin working together for a few hours rather than the weeks it used to take with their previous chatbot platform.
Trust & references
Straight from the source - Salesforce's reference material on Agent Builder.
- Build Enterprise-Ready Agents with the New Agentforce BuilderSalesforce Help
- Access Agentforce Studio and the New Agentforce BuilderSalesforce Help
Hands-on resources to go deeper on Agent Builder.
Test your knowledge
Q1. What is Agent Builder primarily used for?
Q2. Which engine powers the reasoning behind Agentforce agents built in Agent Builder?
Q3. Which of these is NOT a building block you configure in Agent Builder?
Discussion
Loading discussion…