本文是《创建 Employee Agent — 在 Agentforce 中构建、授权并使用 AI 员工助手》的练习操作步骤。阅读原文请见:创建 Employee Agent — 在 Agentforce 中构建、授权并使用 AI 员工助手。
1. Sign Up for a Developer Edition Org
- Sign up for a free [Developer Edition org with Agentforce for employees](https://trailhead.salesforce.com/promo/orgs/learn-agentforce-for-employees-on-trailhead).
- Fill out the form, click Sign me up, open the activation email, and click Verify Account.
- Connect the org to Trailhead: Connect Org, sign in, Allow, then Yes! Save it.
2. Enable Agentforce Agents
- Click the gear icon and select Setup.
- In Setup Quick Find, search for and select Salesforce Go.
- In the Search features box, search for and select Agentforce Studio.
- Click Get Started, then Turn On, then Confirm.
- Ensure the Turn on Agentforce Studio toggle is On, then refresh your browser.
3. Create a General Agent
- Open the App Launcher and select Agentforce Studio.
- From the Build menu, click Agents, then New Agent.
- In the "Or, start with a template" section, find Agentforce Employee Agent and click Details, then Select Template.
- For Agent Name, enter
General Agent(Developer Name autopopulates asGeneral_Agent). - Click Let's Go.
- Click the + icon (top right) and select Add from Asset Library.
- Find General CRM, click Select, then Add to Agent.
- Expand General CRM, hover over it, click +, and Add from Asset Library.
- Find Summarize Record, click Select, then Add to Agent.
- Hover over General FAQ, click the three dots, select Delete, then Yes, Delete.
- Click Save.
4. Preview and Activate the Agent
- Click Preview.
- Click the down arrow next to Live Test Mode and select Live Test.
- In the chat box, enter
Provide me an overview of Edge Communications. - Click Save, then Commit Version twice, then Activate twice.
5. Grant Access to the Agent
- Click the Setup icon and select Setup.
- Search for and select Permission Sets, then click New.
- Label:
Grant Agent Access; Description:This grants access to the active Agentforce for employee agents. - Click Save.
- In the Apps section, scroll to Agent Access and click Edit.
- Select General Agent and click Add (right arrow) to move it to Enabled Agents.
- Click Save, then Manage Assignments, then Add Assignment.
- Check the box next to your name, click Next, Assign, then Done.
6. Use the Agent
- Open the App Launcher and select Sales.
- Click the Agentforce icon at the top right.
- In the General Agent window, enter
Tell me about Sofia Rodriguez and include a clickable link to her record and ensure the link isn't just text.(select Contact if prompted, then Submit). - Review the summary and click Sofia Rodriguez to open her record.
- Enter
Generate an email inviting Sofia on a Biking Expedition in two weeks, use Biking Expedition Adventure! as the subject line and do not ask for additional details. - Review the generated email and click Send Email, then Send.