Appearance
Exercise 1: Get Started with Agentforce
In this exercise, you'll use Agentforce to enable agents, and you'll familiarize yourself with the new Agentforce Builder and Agentforce's standard actions.
Scenario
Pronto’s Customer Support team handles day-to-day questions about deliveries, orders, and merchant storefronts across many restaurants. You’ve been tasked with creating a Pronto Service Agent in the new Agentforce Builder that can route requests to the right topic and reliably execute workflows.
By the end of this chapter, your agent will be able to:
- Route conversations with a Topic Selector that hands off to the correct topic.
- Track orders and delivery status (order status/ETA style questions).
- Handle order issues and refunds while avoiding duplicate cases by checking for existing cases.
- Verify customers before running sensitive operations.
- Look up orders when order context is missing (using an Order Lookup topic).
- Search storefronts by name to help customers or support reps find the right location.
You’ll implement this using topics like:
- Order Tracking & Delivery Status
- Order Issues & Refunds
- Storefront Search
- Verify Customers
- Order Lookup
Step 1: Create a new agent
TIP
If you have not yet Enabled Agentforce, please navgiate back to the getting started section of the workbook and enable agentforce.
In the App Launcher, select the Agentforce Studio app.

Click New Agent.
Enter the following prompt to create the new agent.
txtCreate a customer support agent for Pronto, a food delivery platform that partners with restaurants (“merchants”) and supports customers with orders and deliveries. The agent should help customers with order and delivery questions (status/ETA), resolve common order issues, and guide refund requests when appropriate. It should also be able to answer general support and account questions. Ask clarifying questions when needed and avoid asking users for Salesforce record IDs.
Press Enter on your keyboard.
Click Skip Ahead in the middle of the screen.
The new Agentforce Builder has three main areas:
- The navigation explorer on the left
- The main editor view in the centre
- The Agentforce Authoring Agent on the right

Next, we set the agent name and description.
Close the Agentforce Authoring Agent by clicking on the
xon the top right.Enter the following values into the Agent Details screen.
Field Value Agent Name Pronto Service AgentAPI Name Pronto_Service_AgentDescription A service agent that handles support queries, manages orders, and handles cases.Click into the field Agent User's Record and select New Agent User.
Click Save.
In the Assign Agent Record click Confirm.
Congratulations, you've created your first agent definition. Next we explore the different areas of the new Agentforce Builder.
Step 2: Explore the new builder interface
Click on Agent Definition to see an overview of the general agent definition.
Click on Canvas, then select Script. This opens the agent configuration in Agent Script. Based on your preference you can work either in the canvas, or in script mode.

Click on Script, and select Canvas.
In the explorer, click on System. Replace the existing messages as following:
Field Value Welcome Message Hi, I'm Pronto's Service Assistant. How can I help you today?Error Message I apologize, something in my system is not quite right.Click Save.
Click on Topic Selector, then on Topic Selector.
You'll see the two main areas of a topic:
- The instructions that are sent to the large language model (LLM).
- The actions that this topic can use.

TIP
The
Topic Selectortopic is the entry point for every agent conversation. After every user input the agent evaluates which topic to choose based on the configuration of theTopic Selector. The only actions that should be included in this topic aretransitionactions for transition to another topic.In the Explorer, click on Variables. This shows the currently set global variables for this agent.
TIP
Variables with the identifier
linkedare set by the system, for example@MessagingSession.Idfrom the service agent session. The agent can't change those. Variables with the identifiermutablecan be changed by the agent. All variables need either the identifierlinkedormutable. In all cases variables are globally available.
Summary
You have enabled Agentforce, created the Pronto Service Agent, and explored the Builder (Canvas/Script, Topic Selector routing, and variables).