Skip to main content

时间估计

主题

询问社区

Create Two Employee Agents

Now it’s time to create an agents and see how they look and function in the application. When setting up agents in your environment, you can start with just one agent or create as many agents as you need.

Create a General Agent

The first agent your company asks you to create is an agent that engages and interacts with your employees in response to CRM data-related requests. This includes querying a record, drafting an email, summarizing records, updating records, and‌ more. To solve this, you decide to build an agent called General Agent.

After researching the available topics and their associated actions, you land on these topics.

  • MigrationDefaultTopic—though you have to customize it to remove one of the default actions
  • Single Record Summary

Initial Agent Setup

  1. In the Setup Quick Find, search for and select Agentforce Agents.
  2. Click + New Agent. Note: If you don’t see the New Agent button, refresh the page.
  3. Select Agentforce Employee Agent as the type.

Shows the part of the Agent Creator with Agentforce Employee Agent selected.

  1. Click Next.
  2. General FAQ is selected by default. Click See Included Actions to view the included actions. For General FAQ, Answer Question with Knowledge action is associated. This is an action your agent won’t use, so you don’t need this Topic.
  3. Deselect General FAQ by clicking Added since you want to associate a couple of other Topics after you create it.
  4. Click Next.
  5. Use these settings for the agent.

Field

Value

Name

General Agent

API Name

General_Agent

Description

Automate common business tasks and assist users in their flow of work. General Agent engages and interacts with the user about any request that could be CRM data related. This could include tasks such as identifying and summarizing records, answering queries, aggregating data, finding and querying objects, updating records, or drafting and refining emails. Customize it further to meet your employees’ business needs.

Role

Leave the default role.

Company

Coral Cloud Resorts provides customers with exceptional destination activities, unforgettable experiences, and reservation services, all backed by a commitment to top-notch customer service.

Keep a record of conversations with Enhanced Event Logs to review agent behavior

Checked

  1. Leave everything else as is and click Next.
  2. For now, Data Cloud and thus Data Libraries won’t be used. Click Create.
  3. If a popup screen appears, click Let’s Go.

Add Specific Topics and Actions, Quick Test, and Activate

  1. In Topics, click New and select Add from Asset Library.

Shows the Add from Asset Library selection for associating a Topic.

  1. Check the box next to MigrationDefaultTopic and Single Record Summary, then click Finish. Both Topics are now associated with your agent.
  2. Click MigrationDefaultTopic which opens the Topic Details, showing the Topic Configuration.
  3. Click This Topic’s Actions to view all of the actions associated with MigrationDefaultTopic. You see Answer Question with Knowledge at the bottom, which uses Data Cloud. Since you don’t have Data Cloud enabled, you need to remove this action. To do this you must create a new version of the topic.
  4. Click Topic Configuration.
  1. Click MigrationDefaultTopic, then click This Topic’s Actions.
  2. Click the down arrow next to Answer Questions with Knowledge and click Remove From Topic. This change automatically saves.
  3. In the Conversation Preview window, if you see a message stating You’re about to use Agentforce, click Got It.
  4. In the Conversation Preview window, click Refresh.

Shows the Conversation Preview window with the refresh button highlighted.

  1. In the Conversation Preview window, enter Tell me about Edge Communications. Note: Typically you run more tests than this prior to activating. The Batch Test button redirects you to the Testing Center from which you can run a larger test on this agent. For the purpose of this project, you don’t need to do that.
  2. Read the information provided about Edge Communications.
  3. In the upper right corner, click Activate. Note: If the Configuration Issues Detected popup appears, click Ignore & Activate.

Activate button highlighted.

  1. Once activated, click the Back Button. Note: If a pop-up appears asking if you are sure you want to leave, click Leave. Don’t worry—your work has been saved.

Shows the Back button in the upper left corner of Agentforce Builder.

Congratulations! You’ve now created a functional employee agent. Next, you’ll create a permission set and try using your new agent.

在 Salesforce 帮助中分享 Trailhead 反馈

我们很想听听您使用 Trailhead 的经验——您现在可以随时从 Salesforce 帮助网站访问新的反馈表单。

了解更多 继续分享反馈