Configuring the Self-Service Agent by adding a Fee Inquiry Case Type
2 Tasks
Scenario
With the Self-Service Agent now created, U+ Bank's implementation team must verify that the Agent responds correctly to a range of realistic customer inputs before going live. As a CS Developer, you launch the Agentic Messaging channel and interact with the configured Self-Service Agent by using the following test case to observe and evaluate its responses.
Test case: Late fee inquiry (in-scope)
Customer input: "I have just noticed a late fee on my account and wondering if it could be waived?"
The Agent should identify this input as a valid fee inquiry, access the customer's account context through the D_pxDMSContextData Data Page, and then initiate the Fee Inquiry Case Type to guide the customer through the resolution process step by step.
Test case 2: Credit limit increase inquiry (out-of-scope)
Customer input: "I would like to increase my credit limit."
The Agent should recognize that this request falls outside its designated scope of fee inquiries and fee waivers. The Agent politely explains its limitations and redirects the customer to the appropriate self-service channel or offers to connect the customer with a customer service representative.
The following table provides the credentials you need to complete the challenge:
| Role | User name | Password |
|---|---|---|
| CS Developer | CSDeveloper | password123! |
| Customer | Emily | rules |
Your assignment consists of the following tasks:
Task 1: Configure the Self-Service Agent
Configure the Self-Service Agent by defining the Agent instructions, guardrails, and response style and tone.
Task 2: Add the Fee Inquiry Case Type
Associate the appropriate Case Type with the Agent.
Task 3: Confirm your work
Switch to the U+ Bank application, and then test the new Cases by using a late fee scenario and a credit limit increase inquiry to evaluate how the Self‑Service Agent responds.
Challenge Walkthrough
Detailed Tasks
1 Configure the Self-Service agent
- Click the Launch Pega Infinity™ bookmark, and then log in as Customer Service Developer:
- In the User name field, enter CSDeveloper.
- In the Password field, enter password123!.
- In the navigation pane of Infinity Studio, click App, and then click the Records tab.
- Expand Generative AI > Agent to view all the existing agents.
- Click the Self-Service Agent that you configured to handle fee‑related inquiries.
- Click Check out to configure the Agent.
- On the Definition landing page, complete the following fields:
- In the Agent instructions field, enter a definition that summarizes the role you want the Self-Service Agent to assume.
For example, You are a smart, conversational AI assistant for the U+ Bank Customer Service self-service portal. Your purpose is to help customers understand charges on their account, investigate potential fee discrepancies, and submit fee waiver requests on their behalf. - In the Guardrails fields, define validation Rules to ensure that user inputs are in the correct format.
For example: When a user asks for information outside of your domain, politely remind them of your domain of expertise. - In the Response Style & Tone field, enter the response style and tone guidelines from the Prompt document.
For example, Use a soft, empathetic, and reassuring tone always. Communicate in simple, natural language -- avoid technical jargon, backend field names, and system terminology. Responses must be concise and non-repetitive. Confirm details in a single sentence before moving to the next step.
- In the Agent instructions field, enter a definition that summarizes the role you want the Self-Service Agent to assume.
- In the Additional context section, click Add Data page to provide context that the Agent always access when generating responses:
- In the Name field, enter Customer context data.
- In the Data Page field, enter D_pxDMSContextData.
- Click Submit.
2 Add the Fee Inquiry Case Type
- Click the Case Types tab.
- In the Tool section, click Add.
- In the list, select the first FeeInquiry to enable the Agent to initiate and process this Case Type at run time.
- Click +Add, and then select Interaction from the list to initiate an interaction with the Agent.
- Click Save.
- Click Check in to finalize all configurations.
- Add a meaningful comment, and then click Check in.
Available in the following mission:
Want to help us improve this content?