Creating Pega GenAI Opportunity Landing Page Coach
5 Tasks
10 mins
Scenario
Acme Technologies uses Pega GenAI Coach™ to enhance their sales team's efficiency. The company wants to create an Opportunity Landing Page Coach that tracks the opportunities that have had significant changes, identify opportunities that are at risk of closing, and identify stagnant opportunities that have had no activity for 14 days or more.
As a sales administrator, you are tasked with creating an Opportunity Landing Page Coach to help sales managers maintain consistent engagement, act on crucial insights, and sustain momentum. The Coach should provide real-time updates on opportunities, highlight urgent and high-risk deals, and suggest specific actions to re-engage stagnant opportunities, ensuring that the sales team can effectively manage their pipeline and drive results.
Use the following credentials to log in to the exercise system:
| Role | User name | Password |
|---|---|---|
| Sales Administrator | SalesSampleAdmin | rules |
| Sales Manager | sanderson | rules |
Your assignment consists of the following tasks:
Task 1: Create an Opportunity Landing page Coach
Create an Opportunity Landing page Coach in the GenAI Coach section.
Task 2: Set up Definitions for the Coach
On the Definition tab, provide system instructions and pre-configure some questions to enhance user interactions with the Coach.
Task 3: Add Data sources for the Coach
On the Data sources tab, add data pages to answer questions by the Coach.
Task 4: Add the Opportunity Landing page Coach as a widget
In the SAPortal channel interface, add the Opportunity Landing page Coach to the Opportunities landing page.
Task 5: Confirm your work
Test the scenario by logging in as a sales manager. Begin the interaction by asking pre-defined questions about opportunities in the Pega GenAI Coach widget.
Challenge Walkthrough
Detailed Tasks
1 Before you begin
You can download the sample System Instructions or prompt to clearly define the role you want the Coach to embody, and to generate responses for the pre-configured questions.
2 Create an Opportunity Landing page Coach
- In the Pega instance for the challenge, click Launch Pega Infinity to log in to the Sales Automation application:
- Switch to Dev Studio, and then in the header of Dev Studio, click Create > Generative AI > GenAI Coach.
- In the Label field, enter the name of the Coach as Opportunity Landing page Coach.
- In the Context section, enter the following details:
- In the Save to Branch field, select No branch. Ensure that you selected the Sales Automation application.
- In the Apply to field, enter the class as Data-Portal.
- In the Add to ruleset field, select the SAPlusC11n Ruleset and the 08-24-52 version.
- Click Create and Open.
3 Set up definitions for the Coach
- On the Definition tab, in the System Instructions field, enter a definition that summarizes the role that you want the Pega GenAI Coach to assume, as well as the prompt responses to the questions.
You can download the sample System Instructions or prompt to clearly define the role you want the Coach to embody, and to generate responses for the pre-configured questions. - In the Starter Question section, in the Question field, enter an initial question that Coach asks as soon as it is launched. For example, Which opportunities in my territory have seen the most significant changes recently?
- In the Additional Instructions field, enter some relevant text: Analyze [Opportunity Details], [Opportunity Contacts],[Tasks & Activities] and [Engagement Details] to answer this question.
- In the Quick-Select Question section, enter questions and their additional instructions that you can choose at any time during the interaction with the Coach, as follows:
Question
Additional Instructions
Which opportunities are at risk of closing?
Analyze [Opportunity Details], [Opportunity Contacts],[Tasks & Activities] and [Engagement Details] to answer this question
Which deals have gone stagnant and what can I do to re-engage the prospects?
Analyze [Opportunity Details], [Opportunity Contacts],[Tasks & Activities] and [Engagement Details] to answer this question
4 Add Data sources for the Coach
- On the Data sources tab, click Add data page to add a data source.
- In the Name field, enter the name for the data source as Opportunities interactions details.
- In the Data Page field, enter the name of the Data Page as D_OpportunitiesEngagementDetailsForCoach.
- In the Apply data transform field, enter the Data Transform that is applied to the Data Page as MapOppInteractionToJSON
- Click Save.
5 Add the Opportunity Landing page Coach as a widget
- In the Sales Automation application, select Chanels and interfaces > SAPortal.
- On the Content tab, select Landing pages > Opportunities.
- In the GenAITM Coaches section, click Add.
- Select the Opportunity Landing page Coach, and then click Add.
- Click Save.
- Log out of Dev studio.
Available in the following mission:
Want to help us improve this content?