Creating a Case from emails
3 Tasks
20 mins
Scenario
Your customer, U+ Bank, wants to speed up email interactions for address changes by prepopulating Cases with the correct values. For address change emails, the bank wants the email Channel to begin the Address Change Case and populate the Case with relevant data from the email.
To support this scenario, you need to update the My Email Bot email Channel.
The following table provides the credentials you need to complete the challenge:
| Role | User name | Password |
|---|---|---|
| Email Web Client user | Customer1 | customer1 |
| Email Manager Portal user | EmailUser | password123! |
| Email Developer | EmailAdmin | password123! |
Your assignment consists of the following tasks:
Task 1: Map email content
In Infinity Studio, configure the My Email Bot Channel to map email content to Case properties.
Task 2: Configure a routing rule
In Infinity Studio, in the Email Bot Channel, configure a routing Rule to create a Case when an address change request is detected.
Task 3: Run a test in the console
In Infinity Studio, use the test console in the My Email Bot Channel to send an email requesting an address change.
Detailed Tasks
1 Map email content
- In the Pega instance for the challenge, click Launch Pega Infinity™, and then log in as an Email Developer:
- In the User name field, enter Emailadmin.
- In the Password field, enter password123!.
- In the navigation pane of Infinity Studio, click Channels, and then click the Channels Landing Page icon.
- On the Channels landing page, click My Email Bot to update the Channel configuration.
- In the My Email Bot Channel, click the Behavior tab.
- In the Suggested cases section, to the right of the Address Change Case, click the Gear icon to open the Address Change Case Type.
- In the Address Change dialog box, click the Mapping tab.
This tab shows the mapping of entities from email content to Case properties. - Click Add mapping to configure the mappings:
- In the first row, in the Type list, select Entity.
- In the Value list, select Address.
- In the Map to case list, select Mailing Address, and then click Add mapping.
- In the second row, in the Type list, select Email Header.
- In the Value list, select From (email).
- In the Map to case field, select Primary Email, and then click Add mapping.
- In the third row, in the Type list, select Email Header.
- In the Value list, select From (name).
- In the Map to case field, select Full Name.
- Click Submit.
- Click Save.
2 Configure a routing rule
- In the My Email Bot Channel, in the Intelligent routing section, if there is an existing Rule for Address Change, click the Delete icon to remove it, then click Save.
- Click Add condition to add the new Rule.
- In the Action list, select Create case.
- In the Value list, select Address Change.
Tip: In a value field such as Action or Value, you can also place the pointer in the field and then press the Down arrow key to select a valid value from the list.
- Set the When condition to NLP > Topic is equal to Address Change.
- Click Save.
3 Run a test in the console
- In the upper-right corner, click Test to test the new email Channel configuration.
- Enter the email content:
- In the From (email) field, enter [email protected].
- In the To (email) field, enter [email protected].
- From (name): Emily Foster.
- In the Subject field, enter Moving to a new house.
- In the Message text box, enter the following email content:
Hello,
My customer number is: 12457890.
I would like to inform you that I have a new address:
222 West Las Colinas Blvd, Irving, TX 75039, USA.
Regards, Emily Foster
- Click Test.
The test email evaluation is displayed.
- Observe that the email bot creates an Address Change Case and that the results show the entities that can populate the Case properties.
- Click Close to dismiss the test email evaluation.
Available in the following mission:
Want to help us improve this content?