Build and Manage Service Assistant Agents with Agent Script in Agentforce Builder

Create and configure Service Assistant agents for case, messaging, and voice in the new Agentforce Builder. With Agent Script, you can add conditions and variables to your natural-language instructions for more predictable, controlled plans that match the issue resolution workflows your service reps follow. With Preview, you can check which subagent the router selects and how your script behaves. With agent optimization, you can refine your instructions, actions, and scripts before you test on live records.

Where: This change applies to Lightning Experience in Enterprise, Unlimited, and Developer editions with Agentforce for Service and Agentforce 1 editions. The Service Planner Add-on and Adaptive Experience Add-on licenses are required.

Feature Support: This change applies to Service Assistant for Case, Messaging, and Voice.

When: This change is available starting December 2, 2026.

Why: Agentforce Builder makes it easier to create and configure Service Assistant agents.

  • Previously, you could only describe your service processes in natural-language instructions. With Agent Script, you can add conditions and variables directly to your subagent instructions so that the subagent better reflects your actual resolution workflows, including which steps always run, in what order, and what happens based on the result.
  • Build agents in Agentforce Studio with the new Service Assistant template, so you don't have to start from scratch. The template supports both guidance plans for case and dynamic plans for case, messaging, and voice. You can migrate agents from the legacy builder with the Agentforce migration tool.
  • Improve knowledge grounding by adding custom knowledge actions to subagents to scope each subagent to specific knowledge articles. For example, a refund subagent can search your refund policies, and an account subagent can search your account articles. Attaching a Data Library to the agent is still supported.
  • Use Preview to evaluate how your Agent Script follows your intended resolution workflow. Simulate a service plan workflow by entering utterances as an end customer, and then check which subagent the router selects, how your script responds, and what information is pulled from your knowledge base. Afterward, test full service plans on live records.
  • Use agent optimization to refine your agent. Ask Agentforce Optimizer what to improve in your subagents, actions, and instructions, and test your changes.

How: In Agentforce Studio, create an agent from the Service Assistant template, or migrate an existing agent with the Agentforce migration tool. Then, in Agentforce Builder, configure your subagents, actions, and Agent Script. Test with Preview and on live records.

Starting December 2, 2026, all customers have access to the Service Assistant template in the new Agentforce Builder. For more information, see Migrate Service Assistant, Migrate Service Assistant Agents to Agentforce Builder, Service Assistant Agent Migration FAQ, and Service Assistant Agent Template.

  • If you're an existing customer with agents in sandbox or production, migrate your agents using the Agentforce migration tool or create new ones from the agent template.
  • If you're new to Service Assistant, we recommend starting your setup after December 2, 2026, to use the new template directly.

Starting December 2, 2026, you can no longer create new Service Assistant agents in the legacy builder. You can still create new versions of your existing legacy agents, and agents that are in use keep running. To build a new agent, use the Service Assistant template in the new Agentforce Builder.

Agentforce Observability in Agentforce Studio and Agentforce Testing Center aren't yet supported for Service Assistant agents. We're working on integrating these features in a future release.

Agent Summary in Agentforce Builder showing the Service Assistant agent, its Agent Router, and five subagents