Headless Use Case: Use a Conversation to Build an Agent | 用自然语言对话构建代理(练习操作步骤)

《Headless Use Case: Use a Conversation to Build an Agent | 用自然语言对话构建代理》的分步练习操作指南。...

📅 2026/10/2 ✍️ ponybai 🏷️ agentforce, salesforce, ai

本文是《Headless Use Case: Use a Conversation to Build an Agent | 用自然语言对话构建代理》的练习操作步骤。阅读原文请见:Headless Use Case: Use a Conversation to Build an Agent | 用自然语言对话构建代理。

> Note: This badge uses a beta headless builder experience. Go through it in English.

1. Build an Agent Using Natural Language

  1. In the chat box labeled "Describe the help agent you want to build", enter:

What kind of service agents can you build?

  1. Enter: What kind of service agents are good to build for a hospitality company?
  2. Enter: Good suggestions, let's go with an agent named 'Bookings Help Agent', and set the agent API name to 'bookings_help_agent'. Add a subagent Reservation Agent, named 'Reservation Management' with actions 'FinalizeReservation' and 'GetReservationTimeSlots'. Then add another subagent Guest Complaint Agent, named 'Guest Complaints' with action 'CreateCase'.
  3. If asked about personality, enter: Go with 'warm' and 'gracious'.
  4. Enter: Deploy it.
  5. Select the View in Agents list link.

2. Check the New Agent

  1. Select Launch to open the environment.
  2. Open the App Launcher and select Agentforce Studio.
  3. Select bookings_help_agent.
  4. Select Subagents and review Reservation Management (FinalizeReservation, GetReservationTimeSlots) and Guest Complaints (Create Case).

3. Preview the New Agent

  1. In the Builder, select Preview.
  2. Enter: What times do you have for the fine dining restaurant tomorrow?
  3. Enter: Will you book the latest one for me?
  4. Enter: My name is Sofia Rodriguez. My email is sofia@example.com.
  5. Enter 2 for the number of guests, then Yes to confirm.