Loading
Salesforce now sends email only from verified domains. Read More
Agentforce and Einstein Generative AI
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Create an Agent from an Agentforce Service Agent Template

          Create an Agent from an Agentforce Service Agent Template

          Agentforce Service agents intelligently support your customers by connecting to messaging and other channels and escalating to reps when necessary. Use the default Agentforce Service Agent template to create an agent designed to resolve common support cases and requests. Or select from more specialized templates to fit your use case.

          Required Editions

          Available in: Lightning Experience
          Available in: Enterprise, Performance, Unlimited, and Developer Editions. Required add-on licenses vary by agent type.
          User Permissions Needed  
          To build and manage Service Agents:

          Manage Agentforce Service Agents AND Manage AI Agents

          OR

          Customize Application

          • Best Practices for Agent User Permissions
            Many AI agents, such as agents that connect to Messaging channels, operate as Salesforce users in your organization. The permissions that you give to these agent users determine the actions that AI agents can take.
          • Configure Service Agent Managers
            When Service agents are enabled for your Salesforce org, Salesforce admins can create and edit service agents. To define other users as Service agent managers so that they can also create and edit service agents, assign those users the Manage Agentforce Service Agents permission set.

          Create an Agent from a Service Agent Template

          1. From the App Launcher, enter Agent, and then select the Agentforce Studio app.
          2. On the Agents tab, click New Agent.
          3. Select an Agentforce Service agent template. Under Agent Details, select or create an Agent's User Record for this agent. To securely access data and perform actions, Service agents operate as an agent user, or a Salesforce integration user with all the permissions that the agent needs to do its job. See Best Practices for Agent User Permissions.
          4. Enter the agent's name and then click Let's Go.
          5. In the Settings section, define the settings that determine how your agent behaves in conversations, such as system messages and language settings.
          6. In the Subagents section, manage and customize your agent's subagents and actions.
          7. In the Data section, select a data library. The Answer Questions with Knowledge action grounds your agent's responses with it. To create or manage data libraries, see Setting Up Data Libraries.
          8. Click Preview to test out your agent and confirm that it performs as expected and meets your security standards. You can simulate your agent’s behavior with mock data without risking any changes to your actual data or org. Use trace to dig into the steps the agent performed, and ask Agentforce to help you understand your agent’s behavior at any step. See Preview and Test in Agentforce Builder for more details.
          9. Connect your agent to service channels to transfer agent conversations. See Connect an Agent to Messaging for more information on deploying your agent to a Messaging channel.
          10. When you’re ready to use your agent outside of the builder, click Commit Version. You must commit an agent version before you can activate it. Committed versions can’t be edited. To continue making changes after committing, create a new version by clicking New Version. See Versioning and Editing Agents for more information.
          11. When you're ready, activate your agent.

          Create an Agent from a Service Agent Template in the Legacy Agentforce Builder

          1. From Setup, in the Quick Find box, enter Agents, and then select Agentforce Agents.
          2. Click New Agent.
          3. Select Create from a Template. Select the template that you want to use to create an agent, and then click Next.
          4. Review the subagents that come with your template. You can customize these subagents and actions later, but if any of them don’t apply to your use cases, remove them. Then click Next.
          5. Give your agent a unique name, API name, description, role, and company.
            The description field is used by you and others in your org to identify your agent. The role and company fields are used by your agent to help it understand its responsibilities and the company that it represents.
          6. Under Agent User, select New Agent User. Then click Next.
            To securely access data and perform actions, Service agents operate as an agent user—a Salesforce integration user with all the permissions that the agent needs to do its job. Creating a new agent user in the guided setup creates an agent user record with minimal access so that your agent is secure by default. Grant the agent the additional access that it needs. See Best Practices for Agent User Permissions.
          7. Select Keep a record of conversations with enhanced event logs to review agent behavior. See Enable Enhanced Event Logs.
          8. Select a data source to ground your agent responses with the Answer Questions with Knowledge action. To continue without selecting any data sources, leave this field blank. You can add and remove data sources later. Then click Create.
            If you don't want to use any of the available data sources, you can create a library to limit Agentforce Service agents to specific articles or uploaded files. See Assign a Data Library to Your Agent.
          9. From the Settings page, define your agent's settings, such as system messages and language settings. These settings determine how agents behave and present themselves in conversations.
          10. Back in the builder, configure your agent with subagents, actions, and other agent assets.
          11. Test your agent in Agentforce Builder to confirm that your agent performs as expected and meets your security standards.
            The service agent operates in the same Agent User context here as it does when deployed in messaging channels, so design-time testing reflects how your service agent behaves when deployed.
          12. Connect your service agent to channels and configure the escalation subagent to transfer agent conversations.
          13. When you're ready, activate your agent.
           
          Loading
          Salesforce Help | Article