本文是《Discover Agentforce Grid — AI 驱动的电子表格》的练习操作步骤。阅读原文请见:Discover Agentforce Grid — AI 驱动的电子表格。
1. Sign Up for a Developer Edition Org with Agentforce
- Sign up for a free [Developer Edition org with Agentforce](https://trailhead.salesforce.com/promo/orgs/agentforce-for-trailhead).
- Email: enter an active email address.
- Username: enter a unique username that looks like an email address (for example,
yourname@example.com). - Click Sign me up.
- Open the activation email (may take a few minutes) and click Verify Account.
- Set your password and challenge question.
- Connect the org to Trailhead:
- Make sure you're logged in to your Trailhead account.
- In the Challenge section, click the org name and click Connect Org.
- Enter the username and password for the Developer Edition.
- On the Allow Access? screen, click Allow.
- On the connect-for-hands-on-challenges screen, click Yes! Save it.
- (Optional) Rename the org:
- In the Verify Step section, click the playground name and click Manage Orgs.
- Click Rename, enter
Agentforce Grid Org, and click Save. - Close the page, ensure Agentforce Grid Org is selected, and click X to close the popup.
- Click Launch to open the org.
2. Get the Org Ready for Agentforce Grid
- Click Setup and select Setup.
- In the Setup Quick Find, search for and select Salesforce Go.
- In the Search features... textbox, enter and select Agentforce Studio.
- Click Get Started.
- Click Turn On then click Turn On again.
3. Check the Permissions
- Confirm you have the Manage Agentforce Grids system permission (already assigned in this org).
- Click Check Challenge to Earn 500 Points in the Challenge section.
4. Create a Grid
- Open the App Launcher.
- Search for and select Agentforce Grid.
- Click Create Grid.
- For Grid Name, enter
Account Summary. - For Description, enter
Generate account summaries and populate the Account Description with the information. - Click Create.
5. Import Salesforce Data (Account Column)
- Click Add Column and select Import Salesforce.
- Highlight Salesforce and change the title to
Account. - Open the One Result Per Row popup and enter
10in the Max Results field. Close the popup. - Leave Query Mode as Object.
- For Object Type, click Select an object and select Account.
- Click Fields to review Available and Selected Fields.
- Review the Filters area (opened automatically).
- Click Save and Run.
- Click inside the first account column (not the link) to open the right pane.
- Navigate to the Id field and select + Column.
6. Apply a Prompt Template (Summary Column)
- Click Add Column and select Prompt Template.
- Update the title to
Summary. - For Prompt Template, select Account Summary.
- Under Template Variables, for
objectToSummarize, enter@and select Account. - Click outside the box.
- Click Save and Run.
- Click the new Summary field in the first row to open the Output Preview.
- Click the JSON tab to display the output.
- Click + Column for the content field.
7. Use AI to Convert to Markdown (Markup Column)
- Click Add Column and select Use AI.
- Update the Title to
Markup. - For Model, select GPT 5.
- For LLM Instructions, enter the prompt that converts an HTML string to markdown.
- After
string:, enter@, then select Summary.content from Search columns. - Verify Plain Text is selected in Response Format.
- Click Save and Run.
8. Update the Account Description (Update Description Column)
- Click Add Column and select Update Record.
- Update the Title to
Update Description. - For Object Type, select Account.
- For Object Field, select Account Description.
- For Enter a value, enter
@and select Markup. - Click Save and Run.
9. Review the Updated Description
- From the App Launcher, search for and select Sales.
- Click the Accounts tab.
- Click an account.
- Click the Details tab and confirm the Description field includes the summary from Agentforce Grid.