Configuring Sales Assistant in Pega Sales Automation
5 Tarefas
15 min
Scenario
Acme Technologies wants to improve sales team productivity by configuring a Sales Assistant agent in Pega Sales Automation™. The agent will support sales representatives in managing opportunity data, scheduling meetings, and automating tasks.
As a sales administrator, your task is to configure the Sales Assistant agent with the appropriate instructions and context, so that it can analyze emails, appointments, tasks, activities, opportunities, leads, and contacts. The agent must provide a list of the top five intelligent recommendations, each accompanied by clear reasoning. Additionally, it must respond accurately and perform actions that enhance the productivity of the sales team.
The following table provides the credentials you need to complete the challenge:
| Role | User name | Password |
|---|---|---|
| Sales Administrator | Sfasamplesysadmin | rules |
| Sales Representative | Tmason | rules |
Your assignment consists of the following tasks:
Task 1: Create an agent
Create a Prioritization Actions agent in the Generative AI section.
Task 2: Define agent instructions, guardrails, and tone
On the Definition tab, provide agent instructions, guardrails, and tone to enhance user interactions with the agent.
Task 3: Set up context Data Pages
In the Additional Context section, list the Data Pages that the agent requires.
Task 4: Add advanced tools and chaining
On the Advanced Tools tab, add actions the agent can perform.
Task 5: Select AI model
On the Settings tab, select the AI model for the agent.
Task 6: Confirm your work
Test the scenario by logging in as a sales representative. Begin the interaction by asking Act as a prioritization agent and list the top 5 actions to perform across the provided sales automation work objects.
The agent analyzes emails, appointments, tasks, activities, opportunities, leads, and contacts to provide intelligent recommendations. It recommends a list of top 5 action items with clear reasoning.
Challenge Walkthrough
Detailed Tasks
1 Create an agent
- In the Pega instance for the challenge, click Launch Pega Infinity to log in to Dev Studio:
- Switch to Dev Studio, and then click Records.
- Click Generative AI > Agent.
- Click the Create button to create a new agent.
- In the Label field, enter Prioritization Actions.
- In the Context section, configure the details:
- Select SAPlus Constellation
- In the Apply to field, enter Data-Portal.
- In the Add to ruleset list, select the SAPlusC11N and the 01-01-02 version.
- Click Create and Open.
2 Define Agent instructions, guardrails, and tone
- On the Definition tab, in the Instructions field, define the context and expected responses.
For example, include work object definitions such as opportunities, leads, appointments, and emails. Specify how the agent should respond to user queries and whether the data should be loaded at agent initialization or on-demand. - In the Guardrails section, define validation rules to ensure that user inputs are in the correct format.
For example, validate that email IDs are in a proper format. - In the Response Style & Tone section, specify the tone of the agent's responses.
Apply soft, casual, or formal tones depending on your use case. For example, use language that is empathetic and solution-oriented, avoiding jargon unless contextually appropriate.
Download the sample Agent Instructions, guardrails, and tone for the Prioritization Actions agent to clearly define the role that you want the agent to embody, and to generate responses for the questions asked.
3 Set up context Data Pages
In the Additional Context section, click Add Data Page to list the Data Pages that the agent requires.
For example, include data pages for the following items:
|
Name |
Data Page |
|
Leads |
D_FetchLeadsForCoach |
|
Opportunities |
D_FetchOpportunitiesForCoach |
|
Contacts |
D_FetchContactsForCoach |
|
Recent Emails and Appointments |
D_FetchRecentAppointmentsAndEmails |
|
Accounts |
D_FetchAccountsForCoach |
|
Open and Completed tasks |
D_FetchTasksForCoach |
|
Actions from completed and upcoming appointments |
D_FetchActionsForCoach |
4 Add advanced tools and chaining
- On the Advanced Tools tab, click Add to define the actions the agent can perform.
- In the Tool field, enter ScheduleMeeting, and then press the Enter key.
- Repeat steps 1-2 to add the CreateTask and SendEmail actions.
Nota: To enable agent chaining, specify any child agents that the parent agent should invoke.
5 Select AI model
- On the Settings tab, in the Model section, select the AI model that you want the agent to use.
In this example, select the Claude-37-Sonnet model.Nota: For complex use cases, select the Claude-37-sonnet model. For simpler scenarios, use the GPT 4o or 4o mini.
- On the History tab, enter the following description:
This sales assistant agent is used to suggest/recommend action items and run them and search the data/update the opportunity info etc. This agent helps the sales reps/sales managers on closing the deals successfully. - Click Save to save the configuration.
- In the header of Dev Studio, click SAPlus Constellation > Channels and interfaces.
- On the Current channel interfaces landing page, click SA Portal.
- On the Content tab, click Landing pages > Home.
- In the Agents section, click Add.
- Click Prioritization Actions, and then click Add. Make sure the changes are saved.
- In the lower-left corner of Dev studio, click the user icon, and then click Log off.
Disponível na seguinte missão:
Quer nos ajudar a melhorar esse conteúdo?