Pega Customer Decision Hub User Guide 6
Pega Customer Decision Hub User Guide 6
Pega Customer Decision Hub User Guide 6
Trademarks
For Pegasystems Inc. trademarks and registered trademarks, all rights reserved. All other trademarks or
service marks are property of their respective holders.
For information about the third-party software that is delivered with the product, refer to the third-party
license file on your installation media that is specific to your release.
Notices
This publication describes and/or represents products and services of Pegasystems Inc. It may contain
trade secrets and proprietary information that are protected by various federal, state, and international
laws, and distributed under licenses restricting their use, copying, modification, distribution, or transmittal
in any form without prior written authorization of Pegasystems Inc.
This publication is current as of the date of publication only. Changes to the publication may be
made from time to time at the discretion of Pegasystems Inc. This publication remains the property
of Pegasystems Inc. and must be returned to it upon request. This publication does not imply any
commitment to offer or deliver the products or services described herein.
This publication may include references to Pegasystems Inc. product features that have not been licensed
by you or your company. If you have questions about whether a particular capability is included in your
installation, please consult your Pegasystems Inc. services consultant.
Although Pegasystems Inc. strives for accuracy in its publications, any publication may contain
inaccuracies or typographical errors, as well as technical inaccuracies. Pegasystems Inc. shall not be liable
for technical or editorial errors or omissions contained herein. Pegasystems Inc. may make improvements
and/or changes to the publication at any time without notice.
Any references in this publication to non-Pegasystems websites are provided for convenience only and
do not serve as an endorsement of these websites. The materials at these websites are not part of the
material for Pegasystems products, and use of those websites is at your own risk.
Information concerning non-Pegasystems products was obtained from the suppliers of those products,
their publications, or other publicly available sources. Address questions about non-Pegasystems
products to the suppliers of those products.
This publication may contain examples used in daily business operations that include the names of
people, companies, products, and other third-party publications. Such examples are fictitious and any
similarity to the names or other data used by an actual business enterprise or individual is coincidental.
This document is the property of:
Pegasystems Inc.
One Rogers Street
Cambridge, MA 02142-1209, USA
Phone: 617-374-9600 Fax: 617-374-9620
www.pega.com
Document: Pega Customer Decision Hub User Guide
Publication date: December 09, 2020
Feedback
If you have comments for how we can improve our materials, send an email to AppDocBug@pega.com.
Contents
Preface....................................................................................................................................................................................................... 11
Intended Audience....................................................................................................................................................................................11
Guide Organization...................................................................................................................................................................................11
Marketing Dashboard..............................................................................................................................................................................20
Using the Dashboard............................................................................................................................................................................... 20
Understanding the Widget Display.......................................................................................................................................... 21
Current Data Display Types........................................................................................................................................ 22
Trend Data Display Types............................................................................................................................................25
Applying Filters............................................................................................................................................................................28
Customizing the Dashboard....................................................................................................................................................................28
Managing Widgets...................................................................................................................................................................... 28
Adding a New Widget.................................................................................................................................................. 28
Removing a Widget...................................................................................................................................................... 29
Re-organizing Widgets..................................................................................................................................................30
Configuring Widget Options......................................................................................................................................................30
Customizing Insight & Action....................................................................................................................................................31
Customizing the Default Dashboard........................................................................................................................................32
Next-Best-Action...................................................................................................................................................................................... 34
Defining the structure of business issues and groups....................................................................................................................... 34
Setting constraints, contact policy limits, and controls.......................................................................................................................36
Defining engagement policies for business groups............................................................................................................................ 37
Condition types for engagement policies............................................................................................................................... 38
AI behaviors and controls....................................................................................................................................................................... 39
Enabling channels and defining triggers...............................................................................................................................................40
Enabling channels....................................................................................................................................................................... 40
Defining real-time container triggers.......................................................................................................................................40
Defining real-time event triggers..............................................................................................................................................40
Defining triggers for paid media.............................................................................................................................................. 41
Defining outbound schedules...................................................................................................................................................41
Importing Next-Best-Action settings from a template........................................................................................................................ 42
Testing Next-Best-Action configuration................................................................................................................................................. 43
Segments................................................................................................................................................................................................... 45
Creating a Criteria Segment.................................................................................................................................................................... 45
Designing Criteria Segments..................................................................................................................................................... 46
Criteria Types................................................................................................................................................................ 48
Histograms.......................................................................................................................................................48
Categoricals..................................................................................................................................................... 49
Long Categoricals........................................................................................................................................... 50
Strings...............................................................................................................................................................50
Numbers.......................................................................................................................................................... 51
Dates and Times.............................................................................................................................................51
Aggregating Data............................................................................................................................................ 52
Selecting Criteria Values from a List............................................................................................................53
Designing Criteria Segments by using a rule form (deprecated)........................................................................... 53
Optional: Configuring Criteria Segment Runs........................................................................................................................ 54
Intelligent Segmentation............................................................................................................................................................55
Configuring a Sample...................................................................................................................................................55
Configuring Analysis Projects......................................................................................................................................56
Configuring Static Analysis............................................................................................................................ 57
Configuring Modeled Analysis...................................................................................................................... 57
Associating Analysis Projects with Segments............................................................................................. 58
Creating List Segments............................................................................................................................................................................ 59
Importing Customers................................................................................................................................................................. 59
Manually Adding Customers to a List Segment..................................................................................................................... 60
Managing Segments................................................................................................................................................................................. 61
Exporting Customers in a Segment......................................................................................................................................... 62
Removing Customers from a List Segment............................................................................................................................ 62
Repopulating a Segment........................................................................................................................................................... 62
Reviewing Segment History Information.................................................................................................................................63
Control Groups......................................................................................................................................................................................... 64
Creating a Control Group........................................................................................................................................................................ 64
Populating a Control Group.................................................................................................................................................................... 65
Determining Control Group Membership............................................................................................................................................. 65
Strategies.................................................................................................................................................................................................. 67
Creating Strategies....................................................................................................................................................................................67
Using the Strategy Builder........................................................................................................................................................ 67
Configuring the Objective............................................................................................................................................68
Configuring the Calculate Customer Lifetime Value Objective................................................................ 68
Configuring the Fixed or Dynamic Action Bundle Objective.................................................................... 69
Configuring the Action Prioritization Strategy Objective...........................................................................72
Configuring the Action Targeting Using Audiences and AI Objective...................................................... 74
Configuring the Paid Optimization Objective............................................................................................. 74
Creating Strategies Manually.................................................................................................................................................... 74
Configuring Pega Customer Decision Hub Strategies......................................................................................................................... 75
Using Segments in Strategies................................................................................................................................................... 75
Using Contact Policies in Strategies.........................................................................................................................................76
Contact Policies and Action Bundles......................................................................................................................... 77
Using Geofences in Strategies.................................................................................................................................................. 78
Contact Policies........................................................................................................................................................................................84
Contact Policy Management................................................................................................................................................................... 84
Creating a new Contact Policy.................................................................................................................................................. 84
Specifying Contact Policy Availability......................................................................................................................... 85
Specifying Contact Policy Channel Limits..................................................................................................................85
Deleting a Contact Policy...........................................................................................................................................................86
Volume Constraints................................................................................................................................................................................. 87
Managing Multiple Actions per Customer............................................................................................................................................ 87
Using Volume Constraints with Action Bundles...................................................................................................................................88
Configuring Constraint Reset Options................................................................................................................................................... 88
Specifying Constraints.............................................................................................................................................................................. 89
Actions....................................................................................................................................................................................................... 91
Creating the Flow......................................................................................................................................................................................92
Adding Flow Shapes................................................................................................................................................................... 93
Send Email..................................................................................................................................................................... 94
Send SMS....................................................................................................................................................................... 97
Send Generic............................................................................................................................................................... 100
Send Multiple Treatments......................................................................................................................................... 101
Send Passbook............................................................................................................................................................102
Inbound Call Center................................................................................................................................................... 104
Wait............................................................................................................................................................................... 104
Update Status..............................................................................................................................................................105
Hand Off...................................................................................................................................................................... 106
Decision........................................................................................................................................................................109
Schedule Appointment.............................................................................................................................................. 110
Start.............................................................................................................................................................................. 110
End................................................................................................................................................................................ 111
Connecting Two Shapes.......................................................................................................................................................... 111
Simple Connectors..................................................................................................................................................... 111
Decision Connectors.................................................................................................................................................. 112
Wait Connectors......................................................................................................................................................... 112
Response Received Connector................................................................................................................................. 113
Flow Validation.......................................................................................................................................................................... 114
Adding Inbound Channel Support......................................................................................................................................... 114
Sample Flow.............................................................................................................................................................................. 116
Specifying Action Details........................................................................................................................................................................117
Basic Action Attributes.............................................................................................................................................................117
Details...........................................................................................................................................................................117
Availability.................................................................................................................................................................... 118
Financials......................................................................................................................................................................119
Expected Outcomes................................................................................................................................................... 119
Bundle Attributes......................................................................................................................................................................120
Custom Attributes.....................................................................................................................................................................120
Creating a New Attribute.........................................................................................................................................................120
Configuring Action Eligibilities...............................................................................................................................................................121
Testing the Flow...................................................................................................................................................................................... 123
Importing Actions................................................................................................................................................................................... 124
Exporting Actions......................................................................................................................................................................125
Treatments..............................................................................................................................................................................................128
Email Treatments.................................................................................................................................................................................... 129
Configuring the Email Treatment........................................................................................................................................... 130
Embedding Relevant Data.........................................................................................................................................130
Embedding a Response Link.....................................................................................................................................131
Previewing Included Sections................................................................................................................................... 132
Testing the Email Treatment................................................................................................................................................... 132
Passbook Treatments.............................................................................................................................................................................134
Configuring Pass Elements......................................................................................................................................................136
General tab..................................................................................................................................................................136
Pass Header tab......................................................................................................................................................... 137
Primary tab..................................................................................................................................................................138
Secondary tab............................................................................................................................................................. 138
Auxiliary tab.................................................................................................................................................................138
Barcode tab................................................................................................................................................................. 138
Relevance tab.............................................................................................................................................................. 139
Back tab....................................................................................................................................................................... 139
Configuring Pass Fields............................................................................................................................................................139
Configuring Advanced Passbook Options.............................................................................................................................140
Testing the Passbook Treatment............................................................................................................................................140
Configuring and Sending the Test Email.................................................................................................................140
Reviewing the Test Pass............................................................................................................................................ 140
Sections.................................................................................................................................................................................................... 141
SMS Treatments...................................................................................................................................................................................... 142
Using the SMS Treatment Editor............................................................................................................................................142
Embedding Relevant Data....................................................................................................................................................... 143
Testing the SMS Treatment..................................................................................................................................................... 143
Web Treatments......................................................................................................................................................................................144
Geofences................................................................................................................................................................................................ 159
Geofence Management..........................................................................................................................................................................159
Creating a new Geofence........................................................................................................................................................ 159
Specifying Geofence Details......................................................................................................................................160
Interacting with the Map...........................................................................................................................................161
Viewing Associated Events...................................................................................................................................................... 163
Importing Geofences................................................................................................................................................................163
Import...........................................................................................................................................................................163
Review...........................................................................................................................................................................164
Summary......................................................................................................................................................................165
Geofence Services...................................................................................................................................................................................165
Preferred Geofences Lookup.................................................................................................................................................. 166
Detect/Trigger Geofences........................................................................................................................................................ 167
Real-Time Events....................................................................................................................................................................................168
Event Management.................................................................................................................................................................................169
Creating a new Event............................................................................................................................................................... 169
Specifying Event Details.............................................................................................................................................170
Associating Geofences with the Event.................................................................................................................... 170
Triggering an Event.................................................................................................................................................................................171
Triggering an Event with the SOAP service (deprecated)....................................................................................................173
Integration with Event Strategy Manager........................................................................................................................................... 173
Revision Management...........................................................................................................................................................................218
Revision Management Widget.............................................................................................................................................................. 218
Segments and Samples......................................................................................................................................................................... 219
Preface
Pega Customer Decision Hub is a comprehensive marketing automation solution that delivers inbound
offer management and outbound marketing on a single platform.
Pega Customer Decision Hub uses a combination of predictive and adaptive analytics, real time
decisioning, and business process management to dynamically manage cross-channel conversations
(from action design to fulfillment), drive revenue, and expand customer lifetime value.
This guide explains how to:
• Use the Pega Customer Decision Hub portal
• Create Strategies to deliver actions to customers
• Leverage Segment visualization to hone in on the ideal set of customers
• Configure constraints to optimize throughput
• Create complex cross-channel actions and group them into bundles
• Design and create compelling Treatments
• Design, deliver, and update (Apple) Passbook passes
• Deliver push notifications to configured apps on Android and iOS devices
• Configure, trigger, and respond to real-time Events and Geofences
• Create Seed Lists and utilize them for testing actions
• Define and populate Control Groups and utilize them in Strategies
• Utilize the Customer Profile to view customer details
• Assess the health of your Pega Customer Decision Hub application
• Utilize other common marketing functions
Intended Audience
This guide is intended for marketing analysts and managers with Pega Platform and Decision Strategy
Manager (DSM) experience. This guide also provides various insights for administrators and implementers
of Pega Customer Decision Hub applications.
Guide Organization
This guide contains the following chapters:
Chapter Description
Pega Customer Decision Hub Provides a business overview of Pega Customer Decision Hub and
Overview explains the basics of the Pega Customer Decision Hub portal.
Marketing Dashboard Explains how users can utilize and customize the Dashboard to view
and monitor application performance.
Chapter Description
Actions Provides insights into various aspects of the action, such as creating
and testing flows, and specifying action details.
Email and SMS Account Provides information on configuring Inbound SMS, Outbound SMS,
Configuration and Outbound Email accounts.
Marketing Profile Provides details on the various elements of the Marketing Profile
and guidelines on using it in custom applications.
Chapter Description
Appendix Description
Passbook Settings Provides details on uploading certificates for using the Passbook
functionality.
Features
Pega Customer Decision Hub features the following high level capabilities:
• Next-Best-Action marketing
◦ Customer-centric approach to marketing that leverages predictive and adaptive analytics to provide
real-time and batch marketing actions and treatments to drive customer lifetime value.
◦ Capabilities to allow marketers to create cross-channel engagement strategies that continuously
look at customer history and many different customizable attributes to determine the top action,
best time, specific treatment, and best channel to interact with customers.
• Shared artifacts and components
◦ Pega Customer Decision Hub includes a core set of out-of-the-box capabilities leveraged by every
module of the solution that allows users to design, execute, deliver, and adapt to marketing
strategies.
◦ Shared components include a single portal that has customizable dashboards, action design,
treatment design, channel configuration, constraints optimization, and response management.
Logging In
The following accounts are provided as out-of-the-box samples. Your administrator should provide you
with the specific account(s) with which to log in to the system.
Header
The portal header provides icons for easy access to various tools and menus. This includes the following:
Reports Menu
The Reports menu provides access to the following landing pages and utilities:
• Interaction History - Launches the Interaction History (IH) landing page which provides access to IH
reports.
• Visual Business Director - Launches Visual Business Director.
• Customer Profile - Launches Marketing Profile.
• Report Browser - Launches the Report Browser which facilitates the management of reports in the
system.
• Report Settings - Launches the Report Settings landing page which provides access to various
reporting settings. Available to the Administrator role only.
Configuration Menu
The Configuration menu provides access to the following landing pages and utilities:
• Proposition Management - Provides links to the Proposition Management landing page.
• Visual Business Director - Launches the Visual Business Director (VBD) landing page which provides
access to VBD data sources, KPIs, and views.
• Segmentation - Provides links to the following landing pages:
◦ Segmentation Support - Enables management of Samples and Analysis projects, which are used in
intelligent segmentation.
◦ Seed Lists - Enables management of Seed Lists in the system.
• Settings - Provides links to the following landing pages. Most of these pages are only available to the
Administrator role.
◦ Application Settings - Provides ability to view various settings for the application.
◦ System Health - Initiates a health check of the marketing application.
• Contact Policies - Launches the Contact Policies landing page which facilitates the management of
Contact Policies in the system.
◦ Channels - Configure SMS, email, Passbook, Paid Media, and Push Notification.
◦ Context dictionary - Create new data contexts for your application.
• (operator initials) - Log off.
Navigation Panel
The navigation panel occupies the left side of the portal and provides direct access to salient marketing
artifacts. In addition, it also includes search and access to the user's recent items.
Users can collapse (and restore) the panel by clicking anywhere along its right edge. Dragging the right
edge allows resizing of the panel. Additionally, the system may automatically collapse the panel for small
screen sizes.
The navigation panel includes the following links:
•
Home - Launches the home page.
•
Dashboard - Launches the Dashboard which displays widgets pertaining to the performance of
the Pega Customer Decision Hub application.
•
Next-Best-Action - Expandable section that includes the following landing pages:
◦ Designer - Launches the Designer landing page which enables Next-Best-Action configuration and
authoring.
◦ Supporting Decisions - Enables the management of supporting decision configurations.
◦ Customer Journey - Enables the management of customer journeys.
•
Content - Expandable section that includes links to the following landing pages:
◦ Actions - Enables the management of actions.
◦ Treatments - Enables the management of Treatments.
◦ Real-Time Artifacts - Enables the management of Real-Time Events, Real-Time Containers, and
Geofences.
◦ Image library - Enables users to search for images in the system.
•
Intelligence - Expandable section that includes links to the following landing pages:
◦ Preciction Studio - Enables the management of predictive, adaptive, and text analytics. For more
information, refer to Prediction Studio overview.
◦ Strategies - Enables the management of Strategies.
◦ Volume Constraints - Enables the management of Volume Constraints.
◦ Eligibilities - Enables the management of Proposition Filter and When Condition rules.
◦ Tables and Trees - Enables the management of Decision Table and Decision Tree rules.
◦ Scorecards - Enables the management of Scorecard rules.
•
Simulation Testing - Launches the Simulations page which provides access to simulation runs.
•
Audiences - Enables the management of Segments and Paid Audiences in the system.
•
Data - Enables the management of data, data flows, and summaries in the system. The Data page
is available to users who have the DataAnalyst role in their user group.
• Revision Management - Launches the Revision Management landing page which provides role-based
access to the Revision Management functionality. Available only to users with Revision Management
role(s).
Recents pane
The Recents pane in the navigation panel lists the items most recently accessed by the user.
Users can click the pane header to expand (and collapse) the pane. Clicking an entry in the pane opens
the corresponding artifact.
Each entry in the pane includes the artifact's name and type (e.g. action, landing page, etc.). For work
objects, the work id is also displayed.
The number of items displayed in the Recents pane is governed by the MaxRecentsCount Dynamic System
Setting.
Home Page
The Home page is the chief starting point for every user. It provides the user with direct access to items
and actions that are relevant to them. Users can also customize the display and content of their Home
page.
The default Home page contains the following widgets:
• Define your audience - Shortcut to create a new Segment rule to define the target audience.
• Monitor outcomes - Shortcut to launch Visual Business Director.
• My Work - Displays the user's work list. Click an entry to open the corresponding work object.
Users can include any other available widgets on their Home page. Other available marketing-centric
widgets include the following:
• Revision Management - Displays Change Requests that are assigned to the user and lists each rule
within the request. Requires user to have Revision Management role.
1. Click the gear icon (in the top right) to switch the dashboard to edit mode.
2. Use the Switch template link to select the desired template for the dashboard.
3. Add desired widgets to each slot in the template.
4. Configure options for applicable widgets. Hover over the widget to determine if it has available options.
If it does, the text Click to edit is displayed.
5. Use the Publish button to apply your changes and save your customized dashboard.
Refer to official Pega Platform documentation for more details on the customization process.
Tip: The default Home page configuration can be modified by users with suitable access.
This access is governed by the CanPublishToDefault privilege, which is furnished to
marketing managers and administrators via the PegaNBAM_FW:MarketingManager role. The
PegaMarketing_FW:PortalAdministrator access role wraps this privilege and can be added to
desired access groups. Users with this requisite access can utilize the Publish to default
option in the Publish button menu to update the default Home configuration.
Marketing Dashboard
The Dashboard provides marketers with a customizable set of widgets. These widgets display the
application's performance across various marketing metrics.
Marketers can customize the widgets displayed in the Dashboard and configure the goals for each widget.
Once configured, the Dashboard enables marketers to quickly assess how their business is doing. The
marketer can also apply different filters to further refine the displayed metric data.
The Dashboard is accessible in the Pega Customer Decision Hub portal via the Dashboard link in the left
navigation pane.
Marketing widgets displayed on the Dashboard are categorized into groups. The following table lists the
available marketing widgets in each group.
AWARENESS
• Net Promoter Score
• Net Promoter Score Trend
• Social Sentiment
• Social Sentiment Trend
BUSINESS KPI
• Churn Rate
• Churn Rate Trend
• Net Revenue
• Net Revenue Trend
• ROMI
• ROMI Trend
• Retention Save Rate Trend
• Retention Save Rate and Cost Trend
ENGAGEMENT
• Email Engagement
• Email Engagement Trend
• Web Engagement
• Web Engagement Trend
Clicking this icon displays the configured message for the widget. The default message indicates whether
the goal for the widget has beet met. In addition, the color of the icon also indicates this information - the
icon color is green when the goal is met and red otherwise.
Clicking anywhere outside the view switches the widget back to its default view.
Display Types
This section highlights key features of the various displays used by marketing widgets. Each display
includes the following common elements:
• Widget name
• Insight & Action icon
• Current metric value
• Target metric value (e.g. goal, benchmark, etc.)
Marketing widgets can be classified into the following categories based on their data visualization:
• Visualizing data for the current time period
• Visualizing data trends across time periods
There are multiple display types within each of the above categories. Additional information presented on
the widget varies based on the display type.
Engagement Trend
This display type is specific to engagement related widgets and includes the following additional features:
• Conversion Goal line
• Left y-axis corresponds to the area chart (Impressions)
• Right y-axis corresponds to the dual line charts (Conversion Rate, Click Through Rate)
• Hovering over a data point displays the corresponding metric value
• Clicking the metric name in the legend toggles the display of the metric's chart
This display type is utilized by the following widgets:
• Email Engagement Trend
• Web Engagement Trend
Metric Bar
Engagement Funnel
This display type is specific to engagement related widgets and includes the following additional features:
• Current and goal values for each of the three metrics
• Funnel portion for each metric with portion size corresponding to metric volume
• Hovering over a funnel portion highlights the corresponding metric and its value
• Color of the funnel portion indicates whether the corresponding metric goal is met - green if met, red
otherwise
• Sentence indicates performance of the conversion metric against goal
This display type is utilized by the following widgets:
• Email Engagement
• Web Engagement
Social Sentiment
This display type is specific to the Social Sentiment widget and includes the following additional features:
• Major metric value (e.g. 50.00%) denotes the score for positive social sentiment
• Sentiment bar displays percentage breakdown for each sentiment
• Sentence highlights metric value change (increase vs. decrease) against configured time period (e.g.
quarter) and current performance against goal (above vs. below)
This display type is specific to the Net Promoter Score widget and includes the following additional
features:
• Major metric value (e.g. 17) denotes calculated net promoter score (NPS)
• Number and percentage of individuals in each NPS grouping (promoter, passive, detractor)
• Sentence highlights metric value change (increase vs. decrease) against configured time period (e.g.
quarter) and current performance against goal (above vs. below)
This display type functions similarly to the Trend Single Bar Single Line type described above. The only
difference is that it supports multiple bar metrics in the left y-axis.
This display type is utilized by the ROMI Trend widget.
Engagement Trend
This display type is specific to engagement related widgets and includes the following additional features:
• Conversion Goal line
• Left y-axis corresponds to the area chart (Impressions)
• Right y-axis corresponds to the dual line charts (Conversion Rate, Click Through Rate)
• Hovering over a data point displays the corresponding metric value
• Clicking the metric name in the legend toggles the display of the metric's chart
This display type is utilized by the following widgets:
• Email Engagement Trend
• Web Engagement Trend
Applying Filters
Marketers can use the controls at the top of the Dashboard to set filters on the data utilized by marketing
widgets.
Managing Widgets
This section explains how marketers can add, remove, and re-organize widgets in the Dashboard.
2. In the widgets modal window, select the desired widgets to add and click Add selected. The modal
displays widgets in their groups and includes a description for each widget.
Removing a Widget
In edit mode, users can remove a widget from the dashboard by either of the following:
• Clicking the delete icon in the top right corner of the widget
• Clicking the delete icon in the row for the particular widget in the Widgets grid
Re-organizing Widgets
In edit mode, users can re-organize widgets within a slot and move widgets across slots by either of the
following:
• Dragging the widget to the desired position in the target slot
• Using the drag icon to drag and drop the widget row to the desired position in the Widgets grid
To view available configuration options, users can either select the widget directly or click the link for the
widget in the Widgets grid.
The options for the widget are displayed in the Edit dashboard panel.
Users can click Preview to view the impact of their changes on the widget. Clicking Save saves the
configuration options and applies them to the widget.
Note: Changes to configuration options are not final until the user publishes these changes via the
Publish button. Users may use the Discard button to revert to the previous configuration of the
Dashboard .
All widgets related to marketing metrics have a configurable goal option. The name and type of this option
varies based on the metric. For example, the goal for the Return on Marketing Investment (ROMI) metric
is a percentage, while the goal for the Net Revenue metric is a number. However, there are two deviations
from the single goal option.
• Multiple goals - The Email Engagement and Web Engagement widgets have three configurable goals.
◦ Impressions (number)
◦ Click through rate (percentage)
◦ Conversation rate (percentage)
• Retention Issue - Retention related marketing widgets include an additional option to specify the
retention issue. Once specified, the widget only includes those data points associated with the
configured retention issue.
1. Switch the Dashboard into edit mode by clicking the gear icon.
2. Select a widget to configure.
3. In the Edit dashboard panel, click Edit in the Insight & Action field.
4. This will open the backing Decision Table rule for the widget. The Decision Table rule has two outcomes
- Met and Missed. These outcomes are mapped to messages using Field Value rules. Switch to
the Results tab and expand the Additional Allowed Results section to view the name of the
corresponding Field Value for each outcome.
5. To customize the message for a widget outcome, take over the corresponding Field Value rule in your
implementation layer and update it to include the desired message.
Marketers will now see the customized message when they review the insight information for this widget.
PegaMarketing_FW:PortalAdministrator Access Role wraps this privilege and can be added to desired
Access Groups.
Users with this requisite access can utilize the Publish to default option in the Publish button menu to
update the default Dashboard configuration.
Next-Best-Action
Next-Best-Action provides automated decisions based on predictive analytics, adaptive analytics, and
traditional business rules such as contact policies. You can define Next-Best-Action decisions and
requirements which apply to the whole organization, or to specific business issues or groups.
Next-Best-Action Designer is organized according to the high-level workflow which is needed to fully
configure next best action for your organization. Follow the workflow to define the business structure for
your organization, implement channel limits and constraints, define the rules that control which actions
you offer to which customers, configure how actions are prioritized, and finally specify when and where
you want to trigger Next-Best-Action. As you define various aspects of Next-Best-Action, Pega Customer
Decision Hub builds an underlying Next-Best-Action Strategy framework based on your criteria. If later
you want to modify this strategy, you can do that from Next-Best-Action Designer's intuitive, transparent
interface, instead of by editing the strategy canvas directly.
Important:
This document describes Next-Best-Action Designer version 2, introduced in Pega Customer
Decision Hub 8.3. If you previously defined Next-Best-Action using version 1 of Next-Best-Action
Designer, you can continue to use the legacy configuration. However, to fully benefit from the new
features, update your Next-Best-Action configuration as described in the Pega Customer Decision
Hub Upgrade Guide on the Pega Customer Decision Hub product page.
For information about the legacy version of Next-Best-Action Designer, see the Pega Customer
Decision Hub 8.2 User Guide.
You can configure Next-Best-Action settings manually, or quickly import them by using a predefined
template.
existing customers should be grouped under the business issue of Retention. Actions started with the
purpose of acquiring new customers belong to the business issue of Acquisition.
Business groups organize customer actions into categories. For example, as part of the business issue of
Acquisition, you can create groups for products like Credit Cards, Mortgages, or Personal Loans, with the
intention of offering these to potential new customers.
Together, business issues and groups form the organizing structure for your customer interactions. Each
action you prepare for your customers is associated with a business issue and a group.
1. In the Pega Customer Decision Hub portal, click Next-Best-Action > Designer > Constraints.
2. Click Edit.
3. Optional: To set the customer contact limit, in the Customer contact limits section, click Edit
customer contact policy.
Note: Pega Customer Decision Hub has a predefined Customer Contact Policy which sets the
customer contact limits to one email and one SMS per week. Edit the policy to configure the
channels, contact limits, duration, and the policy start and end date. For more information, see
Contact Policies.
4. Optional: To specify action suppressions, in the Contact policy library section, click + Add contact
policy.
5. Optional: Enter the policy name.
6. In the Scope section, select the type of outcome which is tracked by the policy. For example, if the
suppression should activate after a specific number of negative responses, select Track Rejects.
7. Specify whether to track responses individually for each action or for all actions in the group.
Note: If you track outcomes for all actions in the group, then all of these actions are paused
once the suppression criteria are met.
8. Select the time period over to track the responses.
By default, Pega Customer Decision Hub tracks responses over a period of 7 or 30 days. To add more
tracking periods:
a. In Dev Studio, click Configure > Decisioning > Decisions > Data Sources > Interaction Histories,
and then
b. Edit the Interaction History rule Action Outcomes for the past 7 Days or Action Outcomes for the past 30
Days.
c. Save a copy of the rule into your data set and adjust the time period as required.
9. Click Submit.
The suppression configuration appears in the Contact policy library section.
10. Enter the number of responses required to fulfill the suppression criteria, for example, 30.
11. Select the channel for which you want to track the responses, for example, All.
12. Enter the number of days for which an action should be paused after the suppression criteria are met,
for example, 5.
For example: An example suppression is If there are 30 Rejects for All treatments,
suppress the action for 5 days.
13. Optional: To add more suppression conditions, click + Add suppression.
Note: Suppression conditions defined under the same contact policy track the same outcomes
over the same period of time. They can, however, monitor different channels and have different
outcome limits for each channel.
14. Optional: To track different metrics over different periods of time, click + Add contact policy.
15. Click Save.
16. To apply a contact policy to your Next-Best-Action Strategy, select it in the Engagement policy tab of
Next-Best-Action Designer:
a. In the Pega Customer Decision Hub portal, click Next-Best-Action > Designer > Engagement
policy.
b. Click the name of a group.
c. Click Edit.
d. In the Contact policy section, click the Configure icon.
e. In the Configure contact policy window, select your new contact policy and click Add.
f. Click Apply.
g. Click Save.
1. In the Pega Customer Decision Hub portal, click Next-Best-Action > Designer > Engagement policy.
2. On the Engagement policy tab, click the name of a group, or click All groups to define an engagement
policy that applies across all groups in your business structure.
3. Click Edit.
4. Expand the Eligibility, Applicability or Suitability section.
5. In the first column, select a field, a strategy, or a when condition from the list.
Note: To make a property, To make a property, when rule, or strategy available for use as an
eligibility condition, define it as a Relevant Record for your primary context class, which by
default is your Customer class, or for its the parent or child classes.
6. In the second column, select a comparator from the list. For strategies, the comparator is always has
results for.
7. In the third column, select as needed:
• For field conditions, enter a value in the field or select a field by clicking Select values. The system
compares the value of this field to the value of the corresponding field or condition in the first
column. For example, Status work is equal to Done.
• For strategies, select the required component. The system determines whether there exist strategy
results for that component.
• When conditions do not have a third column, because their comparator can only be true or false.
8. To specify additional conditions and define the relationships between them, do the following steps:
a. Click Add a row and add as many conditions as required.
b. Use the drop-down lists between each pair of conditions to specify how these conditions relate to
each other. You can group conditions with AND or OR operators.
c. Use the drop-down list in the upper right corner to specify how condition groupings should be
evaluated.
• Group ANDs - Select this option if you want conditions linked with the AND operator to be
evaluated as a group, and conditions linked with the OR operator to be evaluated individually.
With this grouping, the grouping of condition 1 AND condition 2 OR condition 3 OR condition 4
is evaluated as (1 AND 2) OR 3 OR 4. That is, either conditions 1 and 2 must both be true, or
either one of conditions 3 and 4 must be true.
• Group ORs - Select this option if you want conditions linked with the OR operator to be
evaluated as a group, and conditions linked with the AND operator to be evaluated individually.
With this grouping, the grouping of condition 1 AND condition 2 OR condition 3 OR condition 4 is
evaluated as 1 AND (2 OR 3 OR 4). That is, both condition 1 and one of conditions 2, 3, and 4
must be true.
• Use advanced logic - Select this option if you want to define a mix of grouping by the AND and
OR operator. Use the Logic string field to specify the condition grouping.
If you change a condition that uses advanced logic back to Group ANDs or Group ORs, all the
groupings that you previously defined are reset.
9. To save the condition for future reuse, click Actions > Save to library.
The Save to library option is not available if the conditions include either Strategy rules or When
conditions with parameters. The option is also disabled for eligibility conditions which include default
criteria created with the Use advanced logic option.
10. Click Save.
11. To test the behavior of each component of the engagement policy, you can run audience simulations
and persona tests. For more information, see Testing Next-Best-Action configuration.
What to do next: The Actions section displays all currently available actions from this group. If any
actions have additional engagement policies, these policies are also shown in this section.
Tip: To quickly create new actions for this group, you can click the More icon and then click
Create actions.
Eligibility
Specify the conditions that the customer must fulfill in order to qualify for the action. For example,
an action may only be available for customers over a specific age or living in a specific geographic
location.
Applicability
Specify the conditions for the action to be relevant at this point in time. For example, a discount on a
specific phone model may not be relevant for a customer who already owns a phone of this type.
Suitability
Specify the conditions for the action to be appropriate for a customer. For example, a new credit card
offer may not be appropriate for a customer who is likely to default on payments.
Contact policy
Select one or more policies which determine when and for how long an action or a group of
actions should be suppressed. For example, you can suppress an action after a specific number of
promotional messages have been sent to customers.
Propensity
Propensity is the likelihood of a customer responding positively to an action. The propensity can be
calculated separately for every treatment. For example, if a customer is most likely to interact with a
push notification, an action which has a push notification treatment is most suitable for that customer.
It is also possible to apply propensity calculated to the action as a whole.
Context weighting
Pega Customer Decision Hub uses ontext weighting to consider the situational context for each action.
For example, if a customer contacts the call center to cancel their service package due to concerns
about the quality of their mobile service, the Retention issue should take priority for that customer. In
this example, the context weighting can be defined as:
• Keys - Intent
• Value - Cancellation
• Issue / Group - Retention / Mobile
• Weighting (+/-) - 100 %
Action value
Action value assigns a financial value for each action and prioritizes high over low value. The base value
is calculated with the Calculate Business Value strategy. The strategy uses a static business value
property which you can enter on the Details tab of each action. The static values are used as input for
the CalculateValueExtension strategy. By default, the CalculateValueExtension strategy does not
have any calculation logic, and simply passes the static Value property directly to strategy results. To
implement a custom logic for Value calculation, edit the CalculateValueExtension strategy.
Business levers > Action weighting
For each individual action, you can specify a static business weight (+/-) property on the Details tab
of the action. Actions with a higher weight are prioritized over those with a lower weight. If you do not
want to consider action weighting when deciding on Next-Best-Action, set this toggle to off.
Business levers > Business purpose weighting
You can specify a static Weighting (+/-) property for actions associated with a specific issue and group.
Actions associated with higher-weight issues and groups are prioritized over those with a lower weight.
If you do not want to consider business purpose weighting when deciding on Next-Best-Action, set this
toggle to off.
Enabling channels
Use the on/off toggles to indicate which inbound and outbound channels are active and should be
considered for Next-Best-Action.
1. In the Channels tab of the Next-Best-Action Designer, in the Channels section, review the active
toggles.
2. If you want to disable a channel for Next-Best-Action, set the related toggle to OFF.
If a channel is toggled off, its status is stored in a Decision decision data rule (DDR) and the related
part of the strategy framework is turned off. Setting the toggle to on reactivates the related part of the
strategy framework.
4. In the Business structure level list, select the business issue and group with which the event is
associated.
5. Click Submit.
6. Click Save.
1. To select the media strategy, in the Paid media > Media strategy section, click Configure.
A media strategy works on a set of actions that a customer is eligible for. It prioritizes actions by how
much you want to pay for that customer for that specific action. The prioritization can use the Omni-
channel propensity for an action, and additional destination-specific considerations, for example, on
the customer's propensity to click an ad and accept an action.
Use the Strategy Builder to quickly design and edit your media strategies. For more information, see
Paid Media Manager.
2. In the Paid media > Paid destinations section, click Configure to select one or more paid
destinations.
3. Optional: For Google Ads and Facebook Ads destinations, you can select the Lookalike Audience
check box that appears after you select a destination. This creates an audience of customers who
share the traits of your existing customers. For more information, see Paid Media Manager.
4. Click Save.
5. Optional: As a best practice, you should use a single, primary paid configuration to manage all paid
actions. However, if required, you can define additional paid configurations, for example, to use
different paid strategies for different levels of your business hierarchy:
a. In the Channels tab of the Next-Best-Action Designer, click Actions > Add paid configuration.
b. In the new Additional paid configuration section, in the Issue / Group list, select the issue and
group or groups to which the schedule applies.
c. Select the paid strategy, triggers and destinations for this hierarchy level, as described in steps 1-3.
1. In the Channels tab of the Next-Best-Action Designer, in the Primary schedule > Recurrence section,
set up a recurring schedule, start date, and end date for outbound Next-Best-Action.
2. To select the starting population, in the Outbound schedule > Starting population section, click
Configure.
Note: The starting population for Next-Best-Action is based on the primary customer context.
For more information about configuring segments, see Segments. In the current version of Pega
Customer Decision Hub, prospect segments cannot be used as starting populations for Next-
Best-Action.
3. To specify the number of times that an action can be offered to a group of customers, in the Volume
constraint section, click Configure. For more information about volume constraints, see Volume
Constraints.
4. Click Save.
The outbound schedule configuration is created in Draft mode.
5. To review and adjust the outbound schedule, click Actions > Open outbound schedule. This opens
the underlying multi-channel campaign strategy.
6. To launch the outbound schedule, click Actions > Run.
The Run action is only available after you configure the schedule.
7. To suspend an active outbound schedule, click Actions > Suspend.
8. Optional: As a best practice, you should use a single, primary outbound schedule to launch all
outbound actions. However, if required, you can define additional outbound schedules to run your
marketing operations at different times for different levels of your business hierarchy:
a. In the Channels tab of the Next-Best-Action Designer, click Actions > Add schedule.
b. In the new Additional schedule section, in the Issue / Group list, select the issue and group or
groups to which the schedule applies.
c. Select the starting population and optionally also the volume constraint, as described in steps 2 and
3.
After an outbound run is launched, you can click the Run details link to view details about the campaign
data flow. If any errors occurred in the data flow, they are displayed on top of the Run details section. For
easier troubleshooting, the Run details section also contains a link to the data flow work object. To open
the data flow, click the flow ID in the Data flow run field, and then open the data flow from the data flow
work object harness.
1. In the Pega Customer Decision Hub portal, click Next-Best-Action > Designer.
2. Do one of the following actions:
• If you did not already configure Next-Best-Action settings, select a template from the list on the
Next-Best-Action Designer landing page.
The list shows the templates available on Pega Marketplace, including the out-of-the-
boxCommunications and Financial Services templates, as well as any additional templates shared by
Pega users.
Tip: Templates developed for a specific industry may require certain artifacts to exist in your
application. For example, a template created for Pega Customer Decision Hub for Financial
Services assumes that your primary context class is PegaCRM-Data-Customer-FS rather than
PegaMKT-Data-Customer. Ensure that you use templates applicable to your industry, or import
the relevant artifacts into your application before you select the Next-Best-Action template.
• If you previously configured or imported Next-Best-Action settings, you can change the template by
clicking Taxonomy > Actions > Switch template.
Important: The template change overwrites any settings that you previously configured.
1. On the Engagement policy tab, click the name of any group, or click All groups to run the simulation
for all issues and groups in your business structure.
2. Click Actions > Persona testing.
3. If you did not previously configure a persona test, click Create test.
4. In the Create test window, configure the conditions for the test to pass.
For example: Select the action and treatment that you expect the test persona to receive according to
your Next-Best-Action Strategy.
5. In the Persona (Data transform) field, select the persona against which you want to test the
strategy. For more information, see "Configuring persona tests" in the Pega Customer Decision Hub
Implementation Guide on the Pega Customer Decision Hub product page.
6. In the Next-Best-Action scope section, select whether the test should only check engagement policy
configuration, or also include additional elements, like constraints and arbitration.
7. Click Create.
8. Select the test and click the Run selected tests icon.
9. After the persona test finishes, analyze the results to see whether the result matches the expected
outcome.
1. On the Engagement policy tab, click the name of any group, or click All groups to run the simulation
for all issues and groups in your business structure.
2. Click Actions > Persona testing.
3. If you did not previously configure a persona test, click Create test.
4. In the Persona (Data transform) field, enter the name for the customer persona, for example,
Retention Customer, and click the Open icon.
5. On the Definition tab of the data transform, specify the characteristics of the persona.
The persona characteristics are defined as properties of the customer, their journey, and other related
data. For example, if you have a specific test customer contact that you want to use as a test persona,
enter their ID in the Set .ContactId equal to row. You can add new properties by right-clicking on a row
and selecting Add child.
6. Click Create.
7. In Next-Best-Action Designer, continue with the persona test configuration, as described in Testing
Next-Best-Action configuration with persona testing.
1. On the Engagement policy tab, click the name of any group, or click All groups to run the simulation
for all issues and groups in your business structure.
2. Click Actions > Audience simulation.
3. In the Audience simulation section, select or create a simulation with which you want to test the
proposition filter:
• To use an existing simulation, select the simulation in the Simulation list.
• To create a new simulation, click Create simulation, and then select the audience to use for the
simulation.
4. After the simulation test finishes, analyze the results to see what percentage of the audience would
receive each action according to the current engagement policies.
For each component of the engagement policy, the simulation test shows numerical or percentage
values that indicate the population of the selected audience that receives the proposition based on the
current criteria. For example, if the result for a criterion that checks if the proposition is active returns
100.00%, the component did not filter out any audience members.
Segments
Segments identify a group of customer entities to use as audience in scheduled Next-Best-Action
processing. You can also use Segments on the decision strategy canvas to filter actions based on a
Segment or audience.
The following types of Segments are supported:
• Creating a Criteria Segment
• Creating List Segments
What to do next: Once a Segment is created, you can view it in the Segments landing page. For more
information, see Managing Segments.
6.
Optional: To remove a criterion from the logic string and the Segment, click the Delete icon .
7. Click Add group to add another criteria group, if needed. You can add multiple criteria groups and
combine them by using the following actions:
• Start with – Selects customers in the top group to be combined with the actions of the other
criteria groups.
• Intersect – Includes customers that meet the group’s criteria in the Segment population. This action
is available for groups other than the first.
• Exclude – Removes customers that meet the group’s criteria. This action is available for all groups.
• Merge – Adds customers matching the criteria to the Segment. These customers do not have to
meet the criteria that is specified in the preceding groups. The Merge action removes the duplicate
customers that would be added to the Segment. The Merge action is available for groups other than
the top group.
The WATERFALL COUNT field reflects the flow of customers through Segment criteria groups.
8. Optional: To rename a criteria group, double-click on the group name.
9. Optional: To remove a criteria group, click Actions > Remove.
10. You can also organize criteria groups into separate sets for easier viewing. Click the + icon to add a new
criteria set.
Criteria Types
The configuration options for a criterion depend on the criteria type. The following criteria types are
supported:
• Analysis project > Modeled fields
◦ Histograms
◦ Categoricals
◦ Long Categoricals
• Analysis project > Static fields
◦ Categoricals
◦ Long Categoricals
• Data fields
◦ Strings
◦ Numbers
◦ Dates and Times
Histograms
A histogram displays a numerical property which produced meaningful analysis information during
modeled analysis execution.
• The grouping of the analyzed data, displayed as individual columns of the histogram. Ranges for the
groupings are displayed as labels on the horizontal axis.
• The percentage of the overall population within the group, represented by the height of each column.
Percentage values are displayed as labels on the left vertical axis.
• The propensity of individual groups, represented by the red performance line. Propensity is the ratio
of the number of positive responses to the total number of responses. The propensity values are
displayed as labels on the right vertical axis.
Click on a column to select or deselect groupings. You can select multiple groupings for the criterion. The
system selects the column with the highest propensity by default.
Pega Customer Decision Hub uses the range values associated with each group to compose queries
against the customer source. It treats the left edge of a range as greater than or equal to (>=) and the
right edge as less than (<) in its queries.
Categoricals
The categorical criteria editor is used for the following criteria types when they have no more than eight
groupings:
• Symbolic modeled analysis criteria
• Numeric and symbolic static analysis criteria
Click on a bar to select or deselect groupings. You can select multiple groupings, including Missing. For
modeled analysis criteria, the system selects the bar with the highest propensity by default.
Pega Customer Decision Hub uses the symbols associated with each group to compose suitable queries
for this criterion. When multiple symbols exist in a group, the system will query for all present symbols.
For the Missing group, the system translates the query to search for where the criterion value is null.
Long Categoricals
If the number of elements for a categorical criterion is greater than eight, it becomes impractical to
visualize this criterion as a bar chart. Instead, the criterion is displayed as a long categorical.
Click Select items to open a pop-up window with a list of groupings for the criterion. You can select one
or more groupings.
The following information is available:
• Name - Name of the grouping
• Count - Number of items in the grouping
• Percent - Percentage of items (based on Sample data) in the grouping.
Strings
The string criteria editor is used for text criteria available on the Data fields tab.
The following operators are available for string criteria:
• Contains
• Starts with
• Ends with
• Exactly
Note: You can specify more than one value for the Equal to operator. Use a comma to
separate the values, for example, Ready,Waiting. If you specify multiple values for the
operator, customers who match at least one of the values are added to the Segment.
• Is null
• Count - For more information, see Aggregating Data
• In list - For more information, see Selecting Criteria Values from a List
The following additional options are available:
• Exclude – Negate the current condition
• Include missing values – Include results that do not have a value specified for the selected criterion
• Ignore case – Perform a case-insensitive search
Numbers
The number criteria editor is used for numerical criteria available on the Data fields tab.
The following operators are available for number criteria:
• Between
• Greater than
• Greater than or equal to
• Less than
• Less than or equal to
• Equal to
Note: You can specify more than one value for the Equal to operator. Use a comma to
separate the values, for example, 2000, 100. If you specify multiple values for the operator,
customers who match at least one of the values are added to the Segment.
• Missing value
• Count - For more information, see Aggregating Data
• In list - For more information, see Selecting Criteria Values from a List
The following additional options are available:
• Exclude – Negate the current condition
• Include missing values – Include results that do not have a value specified for the selected criterion
Aggregating Data
For string, number, and date and time criteria fields that belong to a repeating structure (such as a list of
purchases), you can select the Occurrences search operator to aggregate the criteria values.
1. Select the Occurrences search operator to display input fields for the comparison operator and the
comparison value. The following example criteria targets all customers that have more than thirty
Interaction History records.
2. Click Add additional criteria to specify additional criteria for the aggregation. Each additional criterion
must be on the same parent entity as the original criteria being aggregated.
3. After selecting the additional criteria, fields relevant to the criteria type are displayed. Use these fields
to configure the additional criteria.
The additional criteria are combined using AND logic. The following example targets all customers that
have had more than five outbound email communications.
Note: Aggregation using the Occurrences operator is only available for first-level entities, that
is, those entities that are directly associated with the customer class and not nested under other
associated entities.
1. Select the In list search operator, and then click Select items to open the Select items dialog box.
2. Pick one or more values from a list of existing values for the criterion.
3. To find specific values, enter the search text in the Search field, and then click the search icon.
4. To add or remove individual items, select or clear the check box next to an item. You can select or clear
multiple items.
5. To add or remove all items, click Select all or Deselect all.
6. To exclude customers from the results who have any of the selected values as their value for the
criterion, select Exclude.
7. To include customers that do not have a value specified for the selected criterion, select Include
missing values.
8. Click Apply.
1.
On the Design tab of a Criteria Segment, click the rule form icon .
2. In the rule form, click Add filter.
3. In the Column source field, enter or select the property which you want to use as a criterion.
4. In the Relationship list, select the operation that evaluates the property and value.
5. In the Value field, enter the required value of the property.
6. Use the gear icon to add filter options, such as Ignore case and Use null if empty.
7. In the Filter conditions to apply field, define the relationship between the criteria. By default, the
criteria are applied with an AND logic. If needed, you can change the relationship between some
criteria to OR.
8. Optional: Select other Segments as criteria within this Segment. Selecting a Segment criterion
automatically includes or excludes all customers in that Segment.
a. In the Segments section, click Add Segment.
b. Select the Segment from the SEGMENT NAME list.
c. In the IN / NOT IN list, select whether the new Segment evaluates customers who are in or not
in the existing Segment.
d. In the Filter Segments field, define the relationship between the Segments.
9. Click Save.
1. In the Data Options section, configure how data in the Segment is refreshed at run time. The following
options are available:
• Enable Transactional Refresh - Select this option for Segments that are used for exclusion lists
or transactional notifications to customers. Transactional refresh is more resource-heavy than the
default mode, but it ensures correct Segment population in the case of concurrent refreshes.
• Refreshable Segment - Segments which refer to this Segment as part of their criteria can
automatically refresh this Segment when they are run.
• Refresh Child Segments - The Segment can automatically refresh data in its child segments, so
long as they are marked as refreshable.
If the refreshable option is not enabled, then the Segment's contents will remain untouched and
used as is in the criteria evaluation of the parent, and any child Segment beneath the non-refreshable
Segments are also not refreshed.
Note: Top-level Segments in a dependency chain are always refreshed. Normally, Segments
lower down in a dependency chain should also be marked as refreshable, as this ensures that
any parent Segment is set up in the most accurate way. However, as a best practice, disable
the refreshable option for all Segments that are too costly (in terms of time and processing
resources) to refresh every time a parent Segment is refreshed.
2. In the Sampled Segments Options section, select a sample of criteria results. For more information,
see Control Groups.
3. In the Control Group Options section, designate Segment results as a control group. For more
information, see Control Groups.
4. In the Scheduling Options section, select the Enable Schedule check box to control when the
segment runs.
CAUTION: You must check in the Segment. Segment scheduling or the removal of any prior
schedule only takes place after the Segment is checked in.
5. In the Delivery Options panel, configure the Pega Customer Decision Hub to send email notifications
for scheduled runs and refreshes. You can customize the email by using the provided fields. The email
recipient must be an operator in the system.
Intelligent Segmentation
Intelligent segmentation assembles recommended criteria from statistical analysis of various input
sources and ranks them according to how well they do at predicting certain outcomes. This helps the
marketer to identify groups of customers, form Segments, and use them without the need for guess work.
Intelligent segmentation is supported by Analysis Projects, which create a set of predictors based on
samples of the main customer data. Intelligent segmentation also uses sampling strategies to optimize
the processing involved in discovering these predictors.
Configuring a Sample
Use a Sample to define a sample of the overall customer population. An Analysis Project takes a Sample
and performs a range of statistical analysis activities to determine which data fields have predictive power
or influence when measured against a goal, for example the purchase of a product or service.
c. Sample Strategy - Describes various sampling strategies. For Ascending and Descending, use the
Ordered On field to identify the field in the data set on which to order.
7. In the Sample Fields section, clear any check boxes corresponding to fields which are not useful in
analysis. As a general rule, fields that are system-related (for example partition key) or unique for
individual customers (for example their customer id or their full name) typically have no value from an
analysis perspective.
8. Click Save.
9. Run the Sample.
• To run the Sample manually:
a. Click Run. The Run Sample pop-up window is launched.
b. Click Confirm to populate the Sample. The Sample size field is updated to reflect the number of
rows in the Sample.
c. Click Preview to preview the contents of the Sample and its associated customer data.
• To run the Sample automatically, schedule the sample execution in the Schedule tab. Sample
scheduling works in the same way as Segment scheduling. For more information, see Optional:
Configuring Criteria Segment Runs.
10. Optional: Click the History tab to see details of the Sample population.
1. Click Configuration > Segmentation > Segmentation Support > Analysis Projects.
2. Click Create.
3. On the Create Analysis Project form, enter the following information:
• Analysis Project name
• Sample – Select a Sample from the list.
4. Click Create and open.
5. Configure the analysis type for the Analysis Project. The following analysis types are supported:
• Configuring Static Analysis provides a convenient way to understand what the groups of data look
like for a specific property and how many occurrences exist within each group.
• Configuring Modeled Analysis provides a statistical assessment of the significance of the individual
properties and their influence or power in predicting the targeted outcome.
6. Click Save.
7. Run the Analysis Project.
• To run the Analysis Project manually, click the Results tab, and then click Run.
◦ For Static Analysis, the Run button is in the Static Results section. If the Run button is inactive,
check out the Analysis Project.
◦ For Modeled Analysis, the Run button is in the Modeled Results section. If the Run button is
inactive, check out the Analysis Project.
• To run the Analysis Project automatically, schedule the Analysis Project execution in the Schedule
tab. Analysis Project scheduling works in the same way as Segment scheduling. For more
information, see Optional: Configuring Criteria Segment Runs.
8. Click the Results tab to review the results of manual and scheduled analysis runs.
9. Optional: Click the History tab to see the analysis execution statistics.
3. In the Interaction Details section, you can train the analysis on specific interaction details, in a similar
way as with responses to actions. Select the Direction, Treatment, and Channel on which you want to
focus. Use the Offered After field to restrict the analysis only to responses to those actions that were
offered after a specified date and time.
4. In the Select Predictors section, remove or add properties from the base Sample which will be used
as predictors for the analysis. Predictors which have no predictive value in modeled analysis should be
removed from this section.
5. In the Define Behaviors section, select positive and negative outcomes for the modeled analysis
based on the set of responses received so far.
Review each response type in the Available Behaviors section and mark it as a positive, negative, or
ignored behavior for the analysis. To reload the list of available behaviors, click Refresh. Marking as
Positive or Negative moves the response type into the corresponding response category (Positive
Behavior or Negative Behavior).
Importing Customers
You can use a comma-separate values (CSV) file to import customer data into your application. By adding
or updating customer records in bulk, you can quickly update the Segment. You can import customer data
at any time.
4. Click Next.
5. In the Match existing records by field, select the data field from your import file which will be used
to match existing customer records. For example, select CustomerID. The field used to match records
must be unique.
6. For each Source field in the import file, specify the Target field mapping. If you previously saved a
field mapping template, you can select it from the Template type list.
7. Optional: If you selected the Add or update import purpose, you can use the Update type list to
control which fields are updated for existing customers. To set different conditions for different fields,
clear the Update all fields check box and set the conditions in the Update type column.
8. Click Next.
9. Optional: To save a field mapping template, select the Save import settings as a template check box.
10. Click Start validation.
Tip: If the validation reports any invalid rows, click the See more link to download a CSV file
containing the records which failed to import. The last column in this file contains a description
of the error that occurred. Resolve the errors before you proceed.
11. Click Continue import.
When importing large files, the import progress can take some time. You can close the import window
and continue with other activities. The system displays the status of the import at the top of the
customer grid. Once the import completes, the system displays the number of instances that were
added or updated by the import. If there were errors during the import, the number of erroneous
records is also shown.
12. Click Finish.
3. Select one or more customers to add to the List Segment, and then click Add.
4. Optional: Repeat the above steps to add more customer records to the Segment.
5. Click Done.
Managing Segments
You can view and manage List and Criteria Segments by using the Segments landing page.
1. In the Pega Customer Decision Hub portal, click Audiences > Segments.
2. For each Segment, review the following information:
• Image associated with the Segment
• Description
• Rule name of the underlying Segment rule
• Number of customer entities in the Segment
• Percentage of the total population represented by the Segment
• When the Segment population was last refreshed
• Segment type
• When the Segment rule was last updated
Tip: The landing page lists the twenty most recently updated Segments in the system. To load
the next twenty results, click the View more results link at the end of the list.
3. To search for Segments by Issue / Group, Type, and Name, use the filters at the top of the page.
4. Click the link in the Segment description to open the Segment.
Tip: To define a custom data view, create a Report Definition in the Customer- class that has a
custom field named DataManagement and value Views.
3. Export the data view to a CSV file.
• For Criteria Segments, click Export in the pop-up window which displays the customer grid.
• For List Segments, ensure that the Segment is checked in, and then click Export on the Customer
list tab of the Segment.
3. Click the Delete icon in the customer's row in the customer grid.
Note: For Criteria Segments, this option is not available. To change which customers are
included in a Criteria Segment, adjust the selection criteria instead. For more information, see
Designing Criteria Segments.
Repopulating a Segment
After you make changes, such as adding customers or adjusting criteria, to a Segment, repopulate it to
apply your changes.
1. Click Audiences > Segments, and then click the name of a Segment.
2. Click the History tab.
3. For Criteria Segments, review statistics about the current segment run in the Current run section, and
about previous Segment runs in the Segment Statistics section.
4. For List Segments, review details about previous uploads of files with customer data records in the
Import History section.
Control Groups
In an experiment, a Control Group is a group, separated from the rest of the experiment, which is isolated
from the variable being tested. In marketing, Control Groups can be used to assess the performance of
marketing initiatives.
Pega Customer Decision Hub provides support for defining and populating Control Groups. In addition,
the Strategy rule also provides support for assessing whether a customer is in a Control Group. This
allows the user to treat Control Group members differently. For example, Control Groups members might
not receive a particular action.
Pega Customer Decision Hub uses Interaction History (IH) to maintain Control Group memberships. This
allows Control Groups to be used in both batch and real-time strategies.
4. Optional: Select whether the Control Group should be a random sampling of the selected Segment
criteria results by enabling or clearing the Select a portion... checkbox on the Options and Schedule
tab.
If selected, specify the maximum sample size or the percentage of the criteria results to be use for the
Control Group. If this option is not selected, the entire set returned by the Segment criteria will be used
as the Control Group.
The Sample option can also be used independently on a Segment (without the Control Group option)
to create a Segment with a random sampling of the selected criteria's results.
• To populate a Control Group manually, on the Segment rule form, click the Run button.
• To populate a Control Group automatically, specify a schedule on the Options and Schedule tab.
Once the Control Group has been populated, the number of customers in the Control Group is shown
in the Segment toolbar. The "Show Customers" button can be used to view the customers in the Control
Group.
At a high level, this Strategy pushes out a selected action to customers that are not in a selected Control
Group. The salient shapes in this Strategy are explained below.
1. Interaction History shape
The Interaction History shape is used to fetch the Control Group membership records for the customer.
To do so, the following conditions are specified on the shape:
• MktType - This must be set to "ControlGroup"
• MktValue - This should be set to the name of the Control Group
In addition, the “last days” value is cleared in order to include all IH records.
To minimize the number of fields being retrieved, the "Manually select properties…” checkbox is enabled.
2. Group By shape
The IH shape fetches all records that meet the specified criteria ordered in reverse chronological order
(latest entry first). The latest IH entry (if one exists) depicts the current membership status in the specified
Control Group. To get at this entry, the Group By shape can be used to select the first entry. No additional
grouping/aggregation criteria need to be specified.
3. Filter shape
The Filter shape specifies the criteria to output the input action. The filter expression must inspect the
status of the last membership record. This value is stored in the "pyOutcome" field of the record. There
are three possible values for this field:
• Member - Customer is currently IN the specified Control Group
• NonMember - Customer is currently NOT IN the specified Control Group, but has previously been a
member of this group.
• (Missing) - Customer is currently not and has never been in the specified Control Group.
The filter expression must also account for Control Group validity dates, if they have been specified.
The following represents a sample filter expression that takes the above factors into account:
@if(@equals(LatestCGStatus.ControlGroupValidityStart,""), true, @ (Pega-
RULES:DateTime).CompareDates(@(Pega-RULES:DateTime).CurrentDateTime(),
LatestCGStatus.ControlGroupValidityStart)) && @if(@equals(LatestCGStatus.ControlGroupValidityEnd,""),
true, @ (Pega-RULES:DateTime).CompareDates (@(Pega-RULES:DateTime).CurrentDateTime(),
LatestCGStatus.ControlGroupValidityEnd))
Strategies
Strategies match the actions to the customer entities in the target Segment and ensure that each
customer is targeted with the most suitable action. To match actions to customers, Strategies apply
business goals and prioritization criteria.
Creating Strategies
You can create new Strategies from the Strategies landing page in the Pega Customer Decision Hub portal.
1. To create a new Strategy with the Strategy Builder, click Create > Guide me through it on the
Strategies landing page.
2. Enter the Strategy name. The system automatically generates an identifier for the Strategy based on
the specified name. To change the identifier, use the pencil icon.
3. Enter the Strategy description.
4. In the Purpose section, click Configure.
5. In the Configure Objective window, select a Strategy objective, and then click Apply. For more
information about using this window, see the Using a Configuration Modal Window appendix. A new
configuration section for the selected objective appears under the Purpose section. The contents of the
configuration section depend on the objective which you selected.
6. Configure the selected objective. For more information, see Configuring the Objective.
7. Click Save. Any configuration errors are displayed on top of the page. You must resolve them before
the Strategy is generated.
8. Click Actions > Open canvas to review the generated Strategy.
9. Optional: Manually configure the Strategy.
• For general information about Strategy configuration in Pega Platform, see About Strategy rules.
• For information about Strategy configuration specific to Pega Customer Decision Hub, see
Configuring Pega Customer Decision Hub Strategies.
10. Optional: To delete the Strategy Builder configuration for this Strategy, click Delete. This does not
remove the generated Strategy, only the ability to edit it in the Strategy Builder.
Note: You can also use the Strategy Builder to edit existing Strategies. To access the Strategy
Builder for an existing Strategy, find the Strategy on the Strategies landing page and click
Actions > Open Strategy Builder. If you make any manual changes to your Strategy, and then
edit the Strategy using the Strategy Builder, your manual changes will be overwritten.
• Strategy - Configure a Strategy that returns this value. After selecting a Strategy, select the strategy
result property that contains the value.
5. Click Save.
4. Optional: To view all actions in a group, click Actions > View all actions.
5. Optional: To remove a group from the targeting approach, click Actions > Remove by the name of the
group.
6. Optional: Specify eligibility criteria for the selected actions. For more information, see Configuring
Elibilities.
7. Specify how the selected actions should be prioritized. For more information, see Configuring
Prioritization.
Configuring Eligibilities
When configuring analytics-driven targeting approaches for Strategies, or business issue nodes in Next-
Best-Action Designer, you can use Proposition Filter rules to specify eligibility criteria for the selected
actions.
The eligibility conditions you specify in Next-Best-Action Designer are applied to the targeting approach.
They can be overridden on the Eligibility tab for individual actions.
In the Eligibilities section, select on of the following options:
• Click Add criteria to define new eligibility conditions by using a condition builder. After you save the
configuration, Pega Customer Decision Hub generates When rules and Proposition Filters according to
the specified criteria. For more information, see Configuring Action Eligibilities.
• Click Actions > Add action-specific eligibilities to add an action to the list that does not currently
have eligibility conditions. After you add an action, you can open it and add specific eligibilities. For
more information, see Configuring Action Eligibilities.
• ClickActions > Use existing eligibilities to add an existing Proposition Filter.
What to do next:
Refer to Pega Platform documentation for more details on Proposition Filter rules.
Configuring Prioritization
When configuring analytics-driven targeting approaches for Strategies, or business issue nodes in Next-
Best-Action Designer, you must specify how the selected actions should be prioritized. A prioritization
Strategy determines the relative priority of actions in the group and ranks them so that the customer is
always presented with the right action.
appendix.
Note: The list only shows the Strategies that have the NBACategory custom field set to
PRIORITIZATION. New rules created from this window automatically have this custom field set.
• A/B Testing - Specify the percentage frequency when each targeting approach should be applied. A
value must be specified for each approach and the values must add up to 100%.
• Conditional - Specify a conditional expression to arbitrate between targeting approaches. Drag and
drop rows corresponding to targeting approaches to reorder them. The expression can use data
from actions and customer entities. To access customer entities data, enter Primary.[customer
property] , for example, Primary.Age .
• You can configure overall prioritization in the same way as a group or issue-level prioritization. For
more information, see Configuring Prioritization.
1. In the Prioritization section, specify how actions should be prioritized. Select one of the following
options:
• Analytical model - Select this option to use a predictive or adaptive model to determine action
priority.
a. Click Configure . The Configure Analytical Model pop-up window appears. The window lists the
adaptive and predictive models in the system. For more information about the window, see the
Using a Configuration Modal Window appendix.
b. Select an analytical model, and then click Apply.
• Property - Select this option to use a property as the driver for prioritization. Use the smart prompt
to select the property.
2. Optional: In the Prioritization calculation section, assign weights to prioritization results. Use this
option to increase or decrease priority of specific results.
a. In the Weighting section, click Configure.
b. In the Configure Weighting window, select the Decision Table that you want to use to assign weights
to prioritization results, and then click Apply. For more information about the window, see the
Using a Configuration Modal Window appendix.
3. Optional: In the Prioritization calculation section, customize the expression used to calculate the
priority.
a. In the Priority section, click Configure . The Configure Priority pop-up window appears. The
window lists the Field Value rules for the PriorityCalculation field in the Embed-PegaMKT-
NBAComponent-PriorityCalculation class. For more information about the window, see the Using a
Configuration Modal Window appendix.
b. Select the field value which you want to use to determine priority, and then click Apply.
4. Optional: In the Prioritization threshold section, specify a threshold to apply to the prioritization
results. If a threshold is specified, results that do not meet the threshold criteria are ignored by the
prioritization Strategy.
a. Select Threshold.
b. Select an operator from the Condition drop-down list.
c. Enter a comparison value in the Value field. You can specify a static threshold value or a strategy
result property as the comparison value.
5. Optional: In the Prioritization output section, specify how the Strategy results should be ranked and
how many results the Strategy should return.
a. Select the order in which the results should be ranked by clicking either the Ascending or
Descending radio button.
b. Specify how many results the Strategy should return. You can choose to retrieve all results, or a
specific number of the top results.
1. Enter a short description of the Strategy. The Strategy identifier is created automatically.
2. Select the Strategy Result class, or define a custom Strategy Result class instead. For more information
about customizing Strategy Result classes, see the Pega Customer Decision Hub Implementation Guide
on the Pega Customer Decision Hub product page.
3. Select the starting decision context, which will add an embedded strategy to the canvas. The
embedded strategy will be configured with the data that is defined in the Context Dictionary. For more
information about the Context Dictionary, see the Pega Customer Decision Hub Implementation Guide
on the Pega Customer Decision Hub product page.
4. Click Create and open.
1. To add a Segment Filter shape, in the Strategy canvas, right-click anywhere in the canvas, and then click
Arbitration > Segment Filter.
2. Right-click the Segment Filter shape, and then click Properties.
3. In the Segment Filter Properties window, in the Filter Condition > Segment rule field, select a
Segment which you want to use to filter Strategy results.
4. Click Submit.
5. Connect the Segment Filter shape to other shapes as appropriate. For example, the following Strategy
uses Segment Filter shapes to provide data to a Decision Tree shape:
If the prerequisites are not met, Contact Policy limits are ignored, except for settings in the Contact Policy
> Output section. The Contact Policy will always limit the number of actions to the value specified in the
Output section, even if other limits are ignored. For more information, see step 4 below.
1. To add a Contact Policy shape, in the Strategy canvas, right-click anywhere in the canvas, and then click
Arbitration > Contact Policy.
2. Right-click the Contact Policy shape, and then click Properties.
3. In the Contact Policy Properties window, in the Contact Policy > Context field, select a Contact Policy
that you want to use to restrict Strategy results.
4. Optional: In the Contact Policy > Output section, specify the number of actions that are allowed by
the Contact Policy shape. Select on of the following options:
• First – This option restricts the output of the Contact Policy shape to a specific number of actions.
For example, if you enter 5 as the number of allowed actions, the Contact Policy shape filters out
all actions after the first five that satisfy the Contact Policy criteria. The default number of allowed
actions is 1.
Note: Ensure that actions are prioritized before the Contact Policy shape so that Contact
Policy can restrict the output to the highest-priority actions.
• All – This option does not filter out any actions that satisfy the Contact Policy criteria.
5. Click Submit.
6. Optional: Add more Contact Policy shapes to the canvas.
For example, you can link a Contact Policy shape which sets the daily limit of actions on the Email
channel to a Contact Policy shape which sets the weekly limit on the same channel. In this way, you can
ensure that both daily and weekly channel limits are satisfied.
1. To add a Geofence Filter shape, in the Strategy canvas, right-click anywhere in the canvas, and then
click Arbitration > Geofence Filter.
2. Right-click the Geofence Filter shape, and then click Properties.
3. In the Geofence Filter Properties dialog box, in the Geofences > Select Geofences to check against
customer location section, specify whether you want to add Geofences one at a time, or in bulk. The
following options are available:
• Select Geofences one at a time
• Select multiple Geofences
4. Select one or more Geofences that you want to use to filter action inputs. When the Strategy runs,
each Geofence rule is evaluated until a Geofence is satisfied, that is, the Customer location is within the
Geofence. The Geofence rules are evaluated from the top to the bottom of the list. Reorder the list if
you want to give priority to specific Geofences.
5. In the Options > Select the shape behavior when customer location data is unavailable section,
specify how the Geofence shape should behave when the Customer location is not available. Select
one of the following options:
• Exclude source component results
• Pass through source component results
6. Optional: In the Options > Select Customer location properties section, configure the properties
that are used to determine the latitude and longitude of the Customer location. The default location
properties are set by the application administrator. For more information, see Administrative Settings.
To change the location properties, select one of the following options:
• Location data from the Customer profile – Prefix the property with Primary. , for example,
Primary.Latitude
• Location data from the action data – Prefix the property with a period, for example, .Latitude
• Calculated fields – Prefix the property with the name of a Strategy shape
7. Optional: In the Options > Select Customer location properties section, select the Use Customer
location from Real-Time Event if available check box to use location data from a triggered Event. If
location data is not available for the Event, the customer location fields specified in step 6 will be used.
For more information about Events, see Real-Time Events.
8. Click Submit.
9. Connect the Geofence Filter shape to other shapes as appropriate.
1. Configure the Next-Best-Action business issues and business groups. For more information,
seeDefining the structure of business issues and groups.
2. Select a business issue metric to optimize. The metric will be used to prioritize actions in each of the
associated business groups. Only rate metrics can be optimized.
a. Click Next-Best-Action > Designer.
b. Edit the business issue for which you want to configure an optimization Strategy.
c. In the Business outcomes section, click Configure.
d. In the Configure Metrics pop-up window, select one or more metrics to monitor, and then click
Apply.
e. From the monitored metrics, select the radio button for the rate metric that you want to optimize
and use to prioritize actions.
3. Configure the outcome optimization Strategy.
a. Pega Customer Decision Hub created a default optimization Strategy for the rate metric you
selected. In the Outcome optimization section, click the name of the Strategy to configure it for
your needs.
b. In the Measure effectiveness section, select a source from the Control group source list. The
control group receives actions that are randomly selected rather than ranked by using analytics. The
outcomes of the control group are then compared to the outcomes of the target group to measure
the effectiveness of the analytics. Select one of the following source types:
• Percentage – Select this option to split the customers by percentage. By default, 2% of the
customers are randomly assigned to the control group and 98% to the target group. Update
the control group percentage to assign a larger or smaller percentage of the customers to the
control group.
Note: The percentage rates specified here are an approximation. It is possible for the
control group to be slightly higher or lower than specified.
• Property – Select a property and a property value to indicate that a customer belongs to the
control group. For example, you can create the property .ControlGroup and configure the
expression to look for customers where the value of the property equals "Yes".
• Strategy – Click Configure to select a custom control group Strategy, and then select a property
and a property value to indicate that a customer belongs to the control group. The property must
be a result property from the selected control group Strategy, and it must belong to the SR class.
c. In the Outcome stages section, configure up to three stages for which you want to track and
optimize the outcomes. For example, you can track and optimize the click through rate, and then
the accept rate.
1. The final stage is already defined. It uses the metric that you selected for optimization in the
Next-Best-Action Designer, for example, Accept rate. If you want to add more stages before the
final stage, click +Insert outcome stage.
2. In the Metrics section, select the metric that you want to optimize for this stage, for example,
Click Through Rate.
3. In the Response waiting time section, specify when the stage should time out. For example, a
stage can time out if a customer does not open an email or click a banner ad within a specific
amount of time. When the stage uses an adaptive model, if the customer does not respond
before the specified time, a negative response is recorded.
4. In the Predict outcome section, configure the analytics for the optimization Strategy. Select one
of the following options:
• Generate analytical model – Automatically generates an adaptive model when you save the
optimization Strategy configuration. To define the possible response and timeout response,
which correspond to the positive and negative outcomes on the adaptive model rule form,
click Responses.
• Use existing analytical model – To select an existing adaptive or predictive model, click
Configure . For predictive models, you must also select the outcome field, which represents
the calculated propensity for the outcome to occur.
• Use strategy – To select a custom prediction Strategy, click Configure, and then specify the
Strategy result property, which represents the propensity for the outcome to occur.
• Use property – Specify a decimal property from the customer class, which represents the
propensity for the outcome to occur.
d. Click Save. The optimization Strategy and its artifacts are generated.
Note: The optimization strategy is regenerated each time you edit and save its
configuration.
e. Close the optimization Strategy configuration.
f. Optional:
Optional: To configure a separate optimization Strategy for a selected channel, click +Add channel
specialization, select the channel for which you want to define a separate optimization Strategy,
and then repeat steps 1-5 for the new Strategy. For example, you can prioritize email actions
differently than web ad actions.
g. To save the Business Issue configuration, click Save. If you configured separate optimization
strategies for different channels, saving the Business Issue configuration regenerates the channel
arbitration strategy that is used to switch between the default and the channel-specific strategies.
4. Apply the optimization Strategy to strategies on the Business Group level. By default, if you optimize
a metric at the Business Issue level, the strategy for all the associated Business Groups is set to Use
outcome optimization. For greater flexibility, you can choose not to optimize a specific Business Group.
a. Click Next-Best-Action > Designer.
b. Edit the Business Group for which you want to configure an optimization Strategy.
c. Optional:
Optional: In the Strategy section, to change the type of Strategy method used for this business
group, click Configure.
d. Optional:
Optional: In the Targeting approach section, adjust the targeting approach, eligibilities, and
prioritization.
Note: In the Outcome driven targeting approach, the prioritization Strategy uses the channel
arbitration Strategy, which is generated when you save the Business Issue configuration with
one or more outcome optimization Strategies.
e. Click Save. The Business Group-level Strategy is generated.
Before you begin: Assign the pzBiasPolicyConfiguration privilege to your access group. For more
information, see "Optional: Granting access to configuring ethical bias policies" in the Pega Customer
Decision Hub Implementation Guide on the Pega Customer Decision Hub product page.
1. In the Pega Customer Decision Hub portal, click Configuration > Ethical Bias Policy
2. On the Bias fields tab, click Add bias field.
Tip: Any properties that are related to your main customer class, such as gender, age, and
ethnicity-related properties, are good candidates for bias testing, even if your strategies or AI
models do not directly reference these properties. This is because indirect bias can still occur.
3. If the property that you select has a number value, in the Add bias field window, specify whether you
want Pega Platform to interpret the value as a category (for example, gender or ethnicity), or as an
ordinal number (for example, for age).
Note: If there are many categorical values, the system only checks the 20 most frequent values
for bias. In most cases, numerical values should not be classified as a category. However, if the
property is not truly an ordinal number, you may want to treat it as a category, for example, you
can use a postal code to test for location-related bias.
4. On the Bias fields tab, review and configure the bias threshold settings for each issue in your business
structure.
The bias threshold measurement depends on the type of field that you select:
• Rate ratio - Rate ratio is used to calculate bias for categorical fields by comparing the number of
customers who were selected for an action to those not selected for an action, and then correlating
the result to the selected bias field. For example, the rate ratio represented in the following table
indicates that actions are sent more often to male rather than female customers:
A rate ratio of 1 represents no shifts in the distribution. You can select a warning range with a
threshold between 0 (send a warning if any bias is detected), and 0.7 (send a warning only if very
high bias is detected). You can also choose to ignore this bias field for a particular issue in your
business structure.
• Gini coefficient - The Gini inequality coefficient is used to calculate bias for numerical fields. For
example, it detects whether the distribution of age is different for customers who receive an action.
A Gini coefficient of 0 represents no shifts in the distribution. You can select a warning threshold
between 0 (send a warning if any bias is detected) and 0.50 - 2.00 (send a warning only if very high
bias is detected). You can also choose to ignore this bias field for a particular issue in your business
structure.
Tip: For issues such as credit risk, set the value of the threshold lower than for marketing
issues such as upsell, to better detect the variations.
5. Click Save.
6. To use the bias policy to test the behavior of your strategies:
a. In the Pega Customer Decision Hub portal, click Simulation Testing.
b. Create a new simulation test with the purpose Ethical bias.
For more information, see Running a decision strategy simulation on sampled production data.
Contact Policies
Contact Policies provide a mechanism for controlling and restricting how many times a customer is
contacted in accordance with corporate and/or regulatory guidelines. A single policy can contain the
contact limits for multiple channels of communication. Each contact limit is applicable over a specified
time period (e.g. weekly, yearly, etc.). Furthermore, the contact policy, as a whole, can be disabled, enabled
only for a specified date range, or always enabled.
Contact Policies are accessible in the Pega Customer Decision Hub via Configuration > Contact Policies.
The Contact Policies landing page provides a quick overview of the various Contact Policies configured in
the application. The landing page displays the start and end date of each policy along with its availability.
Details about the limits specified for a particular policy are visible by expanding the row for the individual
policy (via the arrow on the left side), as shown below:
1. In the Policy Starts field, specify the start date for the policy to be applicable. If this value is not
specified, the policy is deemed to be always applicable.
2. In the Policy Ends field, specify the end date for the policy to be applicable. Using this value requires
that a valid policy start date is also specified.
3. In the Available field, specify whether the policy is available.
1. From the Channel list, select the channel or channels on which to restrict outbound communication.
2. In the Contact(s) per customer field, specify the maximum number of contacts allowed per customer.
3. From the Duration list, select the duration over which the channel restrictions are applicable:
• Daily
• Weekly
• Semimonthly
• Monthly
• Quarterly
• Yearly
New weeks start on Sunday.
Semimonthly periods are: from the 1st to the 15th of a month; and from the 16th to the end of the
month.
New quarters start on the first day of January, April, July, and October.
Volume Constraints
A Volume Constraint limits the number of actions that are delivered to customers.
You can define the following constraint types:
• Per channel - Limits the number of actions delivered on a specific channel. For example, you can set a
constraint that limits the number of emails sent per day.
• Per action - Limits the number of times a specific action is offered to customers. For example, you
can set a constraint that limits the number of times that a specific Credit Card offer is presented to
customers.
• Per action property - Limits the number of times a group of actions is offered to customers. The actions
are grouped based on a specific property or properties. For example, you can limit the number of
actions which belong to a specific business issue.
Channel constraints can be combined with action or action property constraints. For example, you can
specify that no more than 1000 Credit Card offer emails can be sent in a given time period.
You can configure the constraint to require a minimum as well as a maximum number of actions. For
example, you can specify that the campaign requires at least 50000 call center interactions.
To apply these constraints, the Volume Constraint rule should be associated with an outbound run in the
Next-Best-Action Designer.
For more information, see Setting constraints, contact policy limits, and controls.
To view all Volume Constraint rules configured in your system, in the Pega Customer Decision Hub portal,
click Intelligence > Volume Constraints.
• Constrain each action individually - Select this option to check each action or action bundle for
the customer separately against applicable channel and action constraints. In this way, the highest
priority action or actions for a customer may pass constraint checks, while lower priority actions may
be rejected, for example due to volume constraints.
Note: If the marketing Strategy pushes out multiple actions for a customer, these actions
should be prioritized in the Strategy since the highest priority action (based on the pxPriority
field) will be made to the customer.
• Constrain as a group for the customer (output all actions) - Select this option to use the highest
priority action to apply constraints on the channels and actions, without removing the other actions
for a customer. If the highest priority action is allowed to pass the constraint, all lower priority actions
for this customer are also allowed without applying separate constraint checks. In this way, all eligible
actions for a customer can be displayed.
Note: You can automatically apply the setting Constrain as a group for the customer (output
all actions) to all volume constraints in your application. To do this, edit the Dynamic System
Setting MKTConstraintAsGroup and set its value to true. If the value of the setting is set to
true, the two customer volume constraint options are no longer displayed when you edit a
volume constraint.
Whether constraint limits are reset globally or individually, the following reset frequency options are
available:
• Manually: Select this option to manually reset constraint counts via the provided reset button(s). The
Volume Constraint rule must be checked in for the reset button(s) to be enabled.
When limits are reset individually, select Reset counts from the Actions menu:
When limits are reset globally, use the Reset button(s) for the appropriate (action or channel)
constraint(s):
• Each time it is accessed: System will reset constraint limits each time the Volume Constraint rule is
applied.
• Daily: System will reset the constraint limits the first time they are applied on a particular day.
• Weekly: System will reset constraint limits the first time they are applied in a particular week (first day
of week = Sunday).
• Semi-Monthly: System will reset constraint limits the first time they are applied in a particular semi-
monthly period (semi-monthly periods begin on the first and sixteenth days of each month).
• Monthly: System will reset constraint limits the first time they are applied in a particular month.
• Quarterly: System will reset constraint limits the first time they are applied in a particular quarter
(quarters begin on the first day of January, April, July, and October of each year).
• Yearly: System will reset constraint limits the first time they are applied in a particular year.
Specifying Constraints
Click Add definition to create a new constraint. Once volume constraint can contain multiple definitions.
For example, you can add constraints for multiple channels to the same volume constraint.
The following configuration options are available:
Minimum volume
Enter the desired minimum volume for this action.
Maximum volume
Enter the desired maximum volume for this action.
Reset Interval
Select the reset policy for this constraint. This field is only available if you chose to specify constraint
limits individually.
Enabled?
Set the toggle to Off to disable this definition.
Channel
Select the delivery channel to constrain. In order for the constraint optimization engine to properly
apply Channel constraints, in your strategy, set the value of the pyChannel property exactly to the
channel you wish to constrain (for example, Email or SMS). The value is case-sensitive.
Action
Select the name of the action to constrain. The auto-complete presents a list of actions categorized by
their Issue and Group.
Property
Click Add Property to define a constraint based on one or more properties of an action. For example,
to limit the number of actions from a particular group, select Group from the Property drop-down list.
Note: For String property values consisting of more than one word, for example VIP
customer, enter the value without quotes or other delimiters.
Value
After you select a property in the Property field, specify the value of the property used to define the
constraint. For example, to limit the number of actions for the Credit Cards group, enter Credit Card
into the Value field.
Remaining
This field is read-only and represents the remaining volume for this action interval.
Actions
An action holds various details about a particular offering, such as Start Date, End Date, and Expected
Revenue. In addition to the proposition data, the Action rule enables the user to visually specify the flow
of steps for a particular offering (Flow).
Note: Each action is backed by a Decisioning proposition. The system automatically manages
this relationship by creating, deploying, and deleting the proposition instance as needed. Since an
action is closely tied to a proposition, it must always be created in the context of an Issue and a
Group.
The actions landing page lists available action rules in the system. This landing page is accessible in the
Pega Customer Decision Hub portal via: Content > Actions.
This landing page lists the twenty most recently updated actions in the system. Users can use the View
more results at the end of the list to load the next twenty results. Users can also use the filters at the top
of the page to search for actions by Issue / Group and Name.
For each listed action, the landing page displays the following information:
• Rule name - Clicking the name opens the Action rule.
• Friendly name
• Action availability - Start and/or end date of the action, if configured
• Impression rate of this action - Ratio of total impressions (associated with this action) and the action
volume
• Action volume - Total number of times this action has been initiated
• Conversion rate of this action - Ratio of total conversions (associated with this action) and the action
volume
• Icons indicating the channels utilized by the action
• Image associated with the action
The Create button enables marketers to create a new action.
A newly created action starts out with the Start and End shapes, as shown below.
Test Action Test the Flow. Refer to the Testing the Flow
section.
Send Email
The Send Email shape enables the user to configure an email message for delivery.
The following General Configuration options are available for this shape:
Name Purpose
Treatment The property which holds the name of the Email Treatment
Name to send. In the case of Online Delivery, the Treatment Name
specified must be backed by an existing Email Treatment rule
since this is used as the content of the email to be sent.
Key Code Marketing code used to identify the treatment. This value can be
output in the sent email and/or the output file/db, and can be
used to track the performance of different treatments. If a key
Name Purpose
Delivery Options
Emails can be delivered in various ways - they can be sent by the system (Online mode) or they can be
written to a data warehouse for processing by other systems (File and DB modes). Users can enable one
or more of these modes at the same time.
The following Delivery Configuration options are available for this shape:
Name Purpose
Use Subject Denotes that this shape should directly use the Email
From Treatment subject specified in the referenced Email Treatment. This
(Online mode) subject is shown as read-only in the “Email Subject” field.
Specify Denotes that this shape should use the specified “Email
Subject(Online Subject”.
mode)
Select Template File/DB Template rule which contains the specifics of what
(File/DB modes) should be output to the file/table. This includes the file/
table name, location, header information, and the specific
data fields that need to be output. Refer to the Templates
chapter for more information.
symbol. Each block of text that is not a property reference should be wrapped in double quotes. This is
exemplified below:
• Desired Subject: Hi <Customer’s Name>, a new “Product” awaits you!
• Entered Subject: "Hi " + .Customer.pyFullName + ", a new \"Product\" awaits you!"
If an email subject doesn’t meet the supported formats, the following error is displayed to the user:
Invalid value specified for Email Subject. Value doesn’t adhere to the Validate:
BalancedQuotationMarks.
Email Account
Users also have the option to specify the Outbound Email account to use for sending the email message.
These accounts are typically configured by the administrator. Refer to the Email and SMS Account
Configuration chapter for more details.
The following options are available in the Email Account sub-section under the Advanced section of the
Send Email Properties modal:
Name Purpose
Account Name of the Outbound Email account to use for sending the
email.
From/Reply Denotes that the sender’s name (from) and reply-to address
To:Use Email in the email being sent should be taken from the values
Account specified on the Email account.
Settings
From/Reply Denotes that the name and email address of the operator
To:Use that initiates this email should be used for the sender’s
Operator name and reply-to address.
Settings
From Name that will be used as the sender’s name in the email
being sent.
Name Purpose
Reply To Email address that will be set as the reply-to address in the
email being sent.
Send SMS
The Send SMS shape enables the user to configure an SMS message for delivery.
The following General Configuration options are available for this shape:
Name Purpose
Treatment The property which holds the name of the SMS Treatment to be
Name sent.
Key Code Marketing code used to identify the treatment. This value can be
output in the sent SMS message and/or the output file/db, and
can be used to track the performance of different treatments.
If a key code value is specified on the SMS Treatment being
referenced, it will be populated into this field upon selecting the
treatment.
Delivery Options
SMS treatments can be delivered in various ways - they can be sent by the system (Online mode) or they
can be written to a data warehouse for processing by other systems (File and DB modes). Users can
enable one or more of these modes at the same time.
The following Delivery Configuration options are available for this shape:
Name Purpose
Select File/DB Template rule which contains the specifics of what should
Template be output to the file/table. This includes the file/table name,
(File/DB location, header information, and the specific data fields that
modes) need to be output. Refer to the Templates chapter for more
information.
SMS Account
Users also have the option to specify the SMS account to use for sending the SMS message. These
accounts are typically configured by the system administrator. Refer to the Email and SMS Account
Configuration chapter for more details.
The following Account Configuration options are available in the SMS Account sub-section under the
Advanced section of the Send SMS Properties modal:
Name Purpose
Use Default SMS Account Determines whether the Default SMS account
should be used for sending this SMS message.
Once configured, the test message can also be directly sent via the “Test this SMS” right-click menu item
on the Send SMS shape. Upon sending a test message, the status of the test is displayed. Any errors
in the test delivery are displayed in case of a failure. These can be corrected and the test SMS can be
resubmitted for delivery.
Send Generic
Use the Send Generic shape to configure and send a Generic treatment.
This shape provides a hook to process actions via outbound delivery mechanisms, other than the ones
currently provided by the system (such as email or SMS). Use this shape to output relevant data to an
output file or database table for processing by legacy systems.
The following General Configuration options are available for this shape:
Name Purpose
Treatment Name of the treatment. This can be used to track and organize the
Name output data.
Key Code Marketing code used to identify the treatment. This value can
be output in the output file or table and can be used to track the
performance of different treatments.
Delivery Options
Generic treatments can be written to a data warehouse (file or database table) for processing by other
systems. Users can enable one or more of these modes at the same time.
The following Delivery Configuration options are available for this shape:
Name Purpose
Select File or Database Template rule which contains the specifics of what
Template should be output to the file or table. This includes the file or table
Name Purpose
(File/DB name, location, header information, and the specific data fields
modes) that need to be output. Refer to the Templates chapter for more
information.
Content Details
The Content Details section allows the user to upload related content for this shape.
Both links and files can be uploaded using this section. The user can also enter a description for each
item. Once the file or link is added, it displays in the content grid at the bottom of this section.
Treatment Specification
The following configurations options are available for specifying the treatments and channels for this
shape:
• Treatment Origin – This setting determines how the channel for delivery is determined. The two
options are:
◦ Strategy/Action – In this scenario, the channel value determined by strategy execution (as
part of a run) is used as the delivery channel. The user can alternately set the channel value
(.OfferData.pyChannel property) directly in the Flow prior to this shape.
◦ Decision Rule – In this scenario, the channel value is determined by executing a decision rule.
The user must also specify the Decision Type (decision table or decision tree) and the name of the
Decision Rule.
• Treatments – This group of settings is used to specify the treatments for delivery. The user can select
the channels available for delivery by enabling the Outbound Email, Outbound SMS, and Passbook
check boxes. The configuration options available for each channel are similar to those present on the
channel-specific delivery shapes. Refer to the descriptions provided for each of these shapes for more
details:
◦ Outbound Email – Send Email shape
◦ Outbound SMS – Send SMS shape
◦ Passbook – Send Passbook shape
• Default Treatment – This setting determines the default channel value to use in case the channel
returned by the Treatment Origin setting is either undefined or not currently supported. The values
available for this setting are predicated by the channels that are enabled in the Treatments group.
Delivery Options
Emails and SMS messages can be delivered in various ways - they can be sent by the system (Online
mode) or they can be written to a data warehouse for processing by other systems (File and DB modes).
Users can enable one or more of these modes at the same time.
The configuration options available are similar to the ones available for the Send Email and Send SMS
shapes. These options are situated in the following areas of the Send Multiple Treatments shape:
• Write to File/DB options – In the Output section
• Email Account options – In the Advanced section
• SMS Account options – In the Advanced section
Send Passbook
The Send Passbook shape enables the user to configure a Passbook Treatment for delivery.
The following general configuration options are available for this shape:
Name Purpose
Key Code Marketing code used to identify the treatment. This value can
be output in the sent email and/or the generated pass, and
can be used to track the performance of different treatments.
If a key code value is specified on the Passbook Treatment
being referenced, it will be auto-populated into this field upon
selecting the treatment.
Name Purpose
Delivery Options
New passes are delivered as attachments to emails. On iOS devices, the customer can open the attached
pass and can add it to their Passbook.
The following delivery configuration options are available for this shape:
Name Purpose
On Update
Users have multiple options for updating passes that have previously been sent. When the same
Passbook Treatment is used in multiple shapes in the same flow, the first delivery is treated as a new pass.
Subsequent deliveries (shapes) are treated as updates to the existing pass. Furthermore, if the Passbook
Treatment is configured as a global treatment (“Keep updating the pass…” option is enabled on the
treatment’s Advanced tab), even the first passbook shape will result in an update scenario if the pass has
already been sent to the customer previously (via a different action).
The following configuration options are available for updating passes:
Name Purpose
Push Select this option to utilize the Apple Push Notification service
Notification (APNs) to signal the device that an update is available for the pass.
The device will then make a web service call to get the latest pass.
Note: If neither notification option (Push or Email) is enabled, the system will generate and store
the updated pass internally. This updated pass will be available to pass holders (customers) when
they attempt to manually update the pass.
Email Account
Users also have the option to specify the Outbound Email account to use for sending the message. These
configuration options are available in the Advanced tab of the Send Passbook shape and are described in
the Email Account sub-section of the Send Email shape.
Name Purpose
Section Name of the Section rule to use. The content of this section is
returned when an inbound application (such as NBAA) requests
action content from the system.
Channel Inbound channel for the Treatment (Default value for this shape is
CallCenter).
Work Status of the action after executing this step in the flow.
Status
Note: There should be only one Inbound shape in a flow. Having multiple Inbound shapes in the
same flow could cause non-deterministic behavior in resolving the content that should be returned
to the inbound application.
The Inbound shape, by itself, simply serves as a determining point for the content to be returned for
external requests. However, this shape can be (and typically is) combined with the InboundTicket ticketing
mechanism to provide a branch of flow execution for processing an inbound request. Refer to Adding
Inbound Channel Support for more details.
Wait
The Wait shape enables the user to pause the flow execution for a specified duration. This shape can be
used when an unconditional wait is required in the flow. When the specified wait duration has lapsed, flow
execution automatically resumes with the next shape in the flow.
This shape supports the following modes for specifying the wait duration:
• Offset - Use this mode to set the wait time to a specified duration from when this shape is executed.
Use the Days, Hours, Minutes, and Seconds fields to specify the offset. Optionally, enable the Business
Days check box to apply the specified offset only using business days.
• Date/Time - Use this mode to set the wait expiration time to a specified future date and time. Specify
the desired date and time.
• Property - Use this mode to set the wait expiration time using the value of a date time property or
expression. Select the desired property or specify the desired expression.
Note: Ensure that the specified property (or expression) will have a valid date and time value
during action runtime.
Users can also enable a wait in flow execution on wait-based delivery shapes. This includes the Send
Email, Send SMS, Send Passbook, Send Generic, Send Multiple Treatments, and Push Notifications shapes.
To enable the wait and configure the wait options (listed above), enable the Wait after sending check box
on these shapes.
Update Status
The Update Status shape is used to specify the status of the action as it works its way through various
stages of the Flow.
This status can be used to group actions for reporting and other aggregations. This status can also be
used to determine the appropriate path to be taken down a subsequent branch in the Flow execution. The
Update Status shape also enables the user to record Behavior and Response information for the action
into Interaction History.
The following Configuration options are available for the Update Status shape:
Name Purpose
Name Purpose
• Negative
• Neutral
• Positive
Hand Off
Use the Hand Off shape to launch other processes (in the background) from the Flow. This serves as
a launching point for external processes which can be triggered at the appropriate time in the action
execution. For example, use the Hand Off shape to initiate a Fulfillment process when a customer accepts
an action.
Note: Initial processing of the handed-off work object is sequential with the Flow execution until
the new work object reaches a stopping point (such as an Assignment). At this point, Flow execution
resumes and the handed-off work object lives and executes separately on its own.
The following Configuration options are available for the Hand Off shape:
Name Purpose
Work Class Name Name of the class which contains the process
(Work Object flow) to be started.
Work Status(Status section) Status of the action after the new process has
been initiated.
As part of the Hand Off shape, the entire contents of the action work object (including action details)
are initially made available to the newly created work object. This information is stored in the top
level OfferWorkPage clipboard page. This information is available whilst the new work object shares
the execution with the action work object (see Note at the beginning of this section). If the new work
object requires any of this data for its processing, it is recommended to copy relevant data from the
OfferWorkPage onto appropriate locations on the new work object. This could be done via the use of the
default Data Transform rule (pyDefault) or by other mechanisms in the work process flow before it enters
a waiting point (such as an Assignment).
In a similar vein, a reference to the newly handed-off work object is stored on the original action work
object. This is made available under the pyReferencedInsKeys construct. This information can be used
to provide a reference code to the customer in an email or for any other cross-referencing purposes, as
deemed fit by the user.
Note: In order for the system to successfully create and launch the handed-off work object, all
necessary rules (such as Flow, Data Transform, Work Parties, etc.) should be properly configured for
the desired work object.
• Data Transform:
◦ pyDefault
• Properties:
◦ Channel
◦ CustomerID
◦ OfferName
• Flow:
◦ FulfillOffer
• Work Parties:
◦ Default
• Flow Action:
◦ Approve
• Section:
◦ FulfillOffer
This work object involves a minimal process flow where the object is placed in a workbasket and is
resolved upon approval. The FulfillOffer Flow rule is shown below:
The above flow is configured to create a new work object since we expect it to have its own lifecycle
and want it to be actionable after it is stored in the workbasket. For simpler flows with straight through
processing (no assignment shapes), the flow can be configured with the temporary object setting in the
Process tab.
As mentioned previously, both customer and action data are available to this flow until it hits the first
assignment. After this assignment, only data that has been saved onto the work object will be available.
The following (pyDefault) Data Transform demonstrates the copying of (both action and customer) data
from the action page onto the work object, upon its initial creation:
In the above Data Transform, the Customer object is added as the Customer work party on the new
object.
A sample Work Parties rule for this work object is shown below:
The sample Flow Action and Section use basic PRPC concepts to display some of the copied over data and
present an action to resolve the work object. This is demonstrated by the following instance of a handed-
off Offer Fulfillment work object:
Decision
The decision shape enables the user to execute a variety of different decision constructs (such as decision
trees, decision tables, etc.) to provide a basis for branching in the execution of the Flow.
The following Decision types are currently supported:
• Boolean Expression
• Decision Table
• Decision Tree
• Fork
• Map Value
• Predictive Model
• Scorecard Model
More information on the various options for configuring each of the decision types (listed above) can be
found in Pega Platform documentation.
Schedule Appointment
The Schedule Appointment smart shape enables the user to schedule and configure follow-up work to be
performed at a particular point in the flow lifecycle.
The user can utilize the “Instructions” field to specify any instructions to aid in processing the scheduled
appointment.
Select Assignee
The user can choose from the following options:
• Current Operator – Routes the appointment to the operator that initiates this action.
• Specify Operator – Routes the appointment to the operator specified in the Operator field.
• Workbasket – Routes the appointment to the workbasket specified in the Workbasket field.
Schedule Options
The user can choose from the following options:
• Relative Date - Sets the appointment time relative to the time when this shape is processed in the
action. The user must specify the relative number of days, the appointment time, and the time zone.
The user can also enable the Business Days? checkbox to denote that the relative number of days
should be applied using only business days.
• Specify Date – Sets the appointment time to the specified date and time.
Start
The Start shape denotes the beginning of the Flow. Each Flow must have one and only one Start shape.
End
The End shape denotes the termination point of the Flow execution. Each Flow can have one or more End
shapes.
More information on the options for configuring the Start and End shapes can be found in Pega Platform
documentation.
Simple Connectors
These connectors simply connect one shape to another. There is no logic path determination behind
these connectors.
The following shapes have simple connectors emanating from them:
• Inbound
• Update Status
• Hand Off
• Start
Decision Connectors
These connectors emanate from the Decision shape. Decision connectors can be sub-categorized based
on the condition type – Result, Always, When, and Else.
Wait Connectors
The wait connector emanates from shapes that have a waiting mechanism tied to them (wait-based
shapes). This includes the following shapes:
• Send Email
• Send SMS
• Send Generic
• Send Passbook
• Send Multiple Treatments
• Push Notification
• Wait
There are two types of the Wait connector – Continue and Wait Expired. Only one Wait connector can
originate from a wait-based shape. If waiting is enabled for the shape, the Wait Expired connector is used;
otherwise, the Continue connector is used. The appropriate Wait connector (Continue vs. Wait Expired) is
automatically generated when you connect a wait-based shape to another shape.
Note: Since the system manages the Wait connectors, these should not be changed manually. If
you wish to update the type of Wait connector originating from a shape, toggle the Wait field on the
shape. If you delete the Wait connector by accident, simply draw a new connector coming out of
the shape and the appropriate Wait connector will be recreated for you.
In the Flow depicted above, the System puts the action in a wait state for the duration specified (5 days). If
no response is received within this wait duration, Flow execution will resume along the Wait Expired path.
However, if a response is received before the wait duration has expired; the action will instantly get out of
the wait state and go down the Response Received path.
Note: The ability of the system to go down the Response Received path is tied to the built-in
response mechanism for Email and SMS treatments. Refer to Embedding a Response Link in the
Treatments chapter for adding this mechanism to Email treatments. For SMS treatments, this
mechanism is handled via the configuration of Inbound SMS accounts. For more details, refer to
Configuring an Inbound SMS Account in the Email and SMS Accounts Configuration chapter.
To add a Response Received connector to a Send Email or Send SMS shape:
1. Enable Wait on the shape and configure the wait duration. Then, draw a connector from the shape to
the backing shape for your Wait Expired action. The system will automatically create the Wait Expired
connector for you.
2. Draw a second connector from the shape to the backing shape for the Response Received path. Open
this connector’s properties panel and select ResponseReceived as the value for the Flow Action smart
prompt and provide a suitable Name for the connector (e.g. Response Received).
Flow Validation
When the action is saved, the system validates multiple aspects of the action and presents the user with
any violations that are found. These violations are reported as warnings when the Flow is in Draft mode
and the action can still be saved. When Draft mode is disabled, these violations are reported as errors and
must be corrected in order for the action to be saved.
These errors and warnings are displayed underneath the action header.
If a shape has any errors associated to it, an error icon is also displayed on the shape. The tooltip on the
error icon displays the associated error message.
1. When an inbound request is received (for a specific action and customer), the system first determines
whether the specified action is already in flight for the specified customer. If so, the particular
action is loaded and flow execution is forced down the Inbound path. This is done by the use of
the InboundTicket construct. The InboundTicket can be associated with most flow shapes (with the
exception of the Start shape and the Wait shape). This ticket denotes the place in the flow where
processing should jump (switch to) when an inbound request is received for an in-flight action.
The InboundTicket is enabled by specifying it as the value for the Ticket Name in the Tickets section
(under Advanced ) of the appropriate flow shape, as shown below.
Note: To avoid ambiguity in flow execution, the InboundTicket should be specified on only one
shape in a flow.
2. On the other hand, if the specified action is not currently in-flight for the specified customer, the
system creates a new action object and starts executing the flow on it, in the context of the channel
that was part of the inbound request. If there’s a need to have separate processing paths for different
channels (say Inbound vs. Outbound, or Call Center vs. ATM), this can be achieved by branching the
flow on Channel at the appropriate place.
In the flow snippet above, the flow execution is initially branched based on the channel. If the channel
on the input request is Call Center, the flow goes down the Record Response route – in this case, the
customer is responding to the action in the Call Center, and there is no need to send them the action
email. For all other channels, we send the action email and wait for either the customer to respond or
the wait duration to expire.
Both the scenarios, outlined above, should be handled in an action if it needs to support requests on an
inbound channel. Thus, such an action should have both:
• A shape designated as the resumption point for inbound requests by having the InboundTicket set on
it
Sample Flow
The following sample Flow assimilates the concepts that have been outlined in the previous sections:
Details
The following table describes the data fields contained in the Details section:
Availability
The following table describes the data fields contained in the Availability section:
Financials
The following table describes the data fields contained in the Financials section:
Expected Outcomes
The following table describes the data fields contained in the Expected outcomes section:
Bundle Attributes
Bundles attributes are used to specify the bundling settings for the action. Refer to the Action Bundles
chapter for more details.
Custom Attributes
The Custom Attributes section lists other proposition fields defined for use by implementers of the
application. The following sets of attributes display in this section:
• All top level custom attributes
• All Issue level custom attributes belonging to the Issue for this action
• All Group level custom attributes belonging to the Group for this action
If the action belongs to a versioned Group, implementers can customize the display of attributes. In such
a case, this section will utilize the customized form for specification of these attributes. Refer to Pega
Platform documentation for guidelines on creating custom forms for Decision Data rules.
To Do
3. Specify the Name and Type of the new attribute in the Create Property form and click Create.
The next steps vary based on whether the application utilizes Decision Data rules to version propositions.
• Application doesn't version propositions - No further action is needed.
• Application versions propositions - The new attribute must be added to the Decision Data rule of each
group where it needs to be utilized. This process is described below.
Eligibility
Specify the conditions that the customer must fulfill in order to qualify for the action. For example, an
action may only be available for customers in a specific geographic location.
Relevancy
Specify the conditions for the action to be relevant at this point in time. For example, a discount on a
specific phone model may not be relevant for a customer who already owns a phone of this type.
Suitability
Specify the conditions for the action to be appropriate for a customer. For example, a new credit card
offer may not be appropriate for a customer who is likely to default on payments.
If you want to define eligibility conditions for multiple actions at the same time, edit the Business Group
configuration on Engagement policy tab of the Next-Best-Action Designer. Any conditions defined at the
Business Group level are displayed on top of the page, in the Group Eligibility section. You can toggle the
Apply check box to allow or disallow them for this action. To view the Business Group configuration in the
Next-Best-Action Designer, click the Business Group name in Inherited from <Business Group>.
1. Optional: To remove all previously added criteria, click Actions > Clear all criteria.
2. On the Engagement policy tab, expand the Eligibility, Relevancy, or Suitability section.
3. In the first column, select a field, a Strategy, or a When condition from the list.
Note: To make a property available for use as an eligibility condition, define it as a Relevant
Record for your primary context class, which by default is your Customer class. For more
information, see Adding Relevant Records to the Customer class in the Pega Customer Decision Hub
Upgrade Guide on the Pega Customer Decision Hub product page.
4. In the second column, select a comparator from the list. For Strategies, the comparator is always has
results for.
Conditions that are evaluated as a group are displayed on a single block of gray background, so you can
identify them more easily.
Recipients can click these links to test the response handling paths of flow execution. Information will not
be captured for these responses in History.
Any errors in the test are reported at the top of the Test action tab. Once these are corrected, the test can
be re-executed.
The Track Results section lists the progress of recently executed and currently running tests.
After configuring the Test action tab, the test process can also be initiated directly from a shape in the
Flow by utilizing the Test action from here right-click menu item. This will trigger the action test using the
settings specified on the Test action tab, with the starting point set to the triggering shape.
Importing Actions
In addition to creating actions manually, you can also import actions created outside of Pega Customer
Decision Hub by uploading a .csv file with the action data.
1. Prepare a valid .csv file with the list of actions that you want to import. The .csv file must contain
the name and status (.pyIsPropositionActive) value of the action. Possible values for the
.pyIsPropositionActive are Always, Never, and the expiration date of the action.
Note: To easily create a valid .csv file, export a template for the Issue and Group where you
want to create the actions. For more information, see Exporting Actions.
2. In the Actions landing page, click Create > Create actions from file.
3. Click Choose File and select a valid .csv file.
The .csv file must contain the name and status (.pyIsPropositionActive) value of the action. Possible
values for the .pyIsPropositionActive are Always, Never, and the expiration date of the action.
4. Select the Issue and Group for the actions in the import file.
5. In the Template Type section, select whether Pega Customer Decision Hub should apply an flow
template to the imported actions.
• None - Actions are imported with a default flow. The default flow consists of a Start and an End
shape.
• Reference flow from another action - For each action in the .csv file, you can specify an existing
action to be used as template for the imported action. The imported action is created with the same
flow as the template action. If the template action is not found, the new action is imported with a
default flow. The default flow consists of a Start and an End shape.
• Copy flow from another action - If your .csv file does not specify individual templates for each
action, you can select one action to use as template for all actions in the .csv file. The imported
actions are created with the same flow as the template action.
6. Optional: If you want to completely overwrite existing actions with actions from the .csv file, select
Delete existing actions that are not in the file.
This will delete any action which is not included in the .csv file you are importing.
7. Click Import.
The pop-up window displays the import summary, including the number of actions imported, the
number of actions deleted, and the number of errors. If there are any errors in the .csv file, download
the error report and resolve each error before you continue.
Exporting Actions
You can export actions created in Pega Customer Decision Hub to a .csv file with the action data. You can
also use the Export function to quickly create a valid import template for actions created outside of Pega
Customer Decision Hub. For more information, see Importing Actions.
Performance
This section provides an overview of how the action is performing across the following three metrics:
• Volume - Total number of times this action has been made
• Impression rate - Ratio (expressed as a percentage) of the number of times this action has been
opened (i.e. impressions) to the volume of the action
• Conversion rate - Ratio (expressed as a percentage) of the number of times this action has been
accepted to the volume of the action
Key Predictors
This section provides information on Adaptive Models that include this action. Each model is listed
separately and the first model is expanded by default. The information presented for each model provides
a quick profile of a customer that is likely to respond to this action.
The following information is presented for each model:
• Model name - Click to open the behavior report associated with the model.
• Overall performance of the model
• Direction and channel for the corresponding predictor information
• Active predictors for the model. For each predictor, the group with the highest propensity is shown.
Hover over the green circle to see this propensity value.
A sample predictors summary is shown below.
When adding new actions, for which there are no models yet, how does Pega Customer Decision Hub
ensure that customers receive actions that are relevant?
For newly introduced actions, AI models may not yet know which customers to target. To help ensure
that customers receive actions that are relevant to them, Pega Customer Decision Hub uses the following
mechanisms:
Propensity smoothing
Pega Customer Decision Hub uses propensity smoothing to boost the propensities for new models
by doing a weighted average between a high initial fixed propensity value, and the propensity value
returned by the model. As the model gathers more feedback, the effect of the initial propensity is
dampened. Propensity smoothing is applied to both inbound and outbound actions.
This method does not introduce any randomization, so when arbitrating between two totally new
actions, the same one will always win. This approach works well for inbound. For outbound, where
there can be many new actions for a while (until the first responses come in), Pega Customer Decision
Hub applies Thompson Sampling before applying propensity smoothing.
Starting in Pega Customer Decision Hub 8.4, Thompson Sampling and model maturity are used to
improve the targeting for newly added outbound actions. To minimize the possibility of customers
receiving actions that are not relevant, only 2% of the customer population are initially targeted with
new actions. As the model collects the resulting learnings and matures, the targeted percentage
increases until it reaches 100% for fully mature models. A model is considered mature after it has
received 200 or more positive responses.
To prevent multiple new actions from having the same starting propensity, Pega Customer Decision
Hub uses Thompson Sampling for outbound actions. The propensity is initially set to a random value
between 0 and 1. As the model matures, this quickly converges to the model propensity.
Outbound model propensities are first re-adjusted by Thompson Sampling, and then by propensity
smoothing. Thompson Sampling is not applied to inbound actions.
This method always assigns a random propensity to a small percentage of the customers. This ensures
that the models are exposed to responses to actions that they would not have offered without the
randomization element. In this way, models keep learning and evolving. Unlike Thompson Sampling,
this randomization continues to happen, even if the models are already considered mature.
In addition, this mechanism provides an easy way to report on the lift of the models. In the out-of-the-
box implementation, the assignment of customers to either the model or a random control group is
consistent across channels but rotates every month.
Treatments
A treatment is the definition of the content that is delivered to a customer as part of an action over a
specific communication channel. The system provides support for four kinds of treatments – Email,
Passbook, Section, and SMS. Each of these types is further explored in subsequent sections.
Treatment rules are primarily accessed from and created in the context of actions. When designing the
action, users can use the property panel of appropriate action shapes (e.g. Send Email, Send SMS, etc.) to
review existing treatments of the corresponding type. To create a new treatment, the user simply needs to
type in the desired name and click the magnifying glass to launch the Create form for the treatment.
Treatments can be defined at the top level or can be categorized into issues and groups. The system
automatically selects the issue and group in the Create form using the corresponding values from the
action rule. Users can change these selections to store the new treatment at a different hierarchical level.
Email Treatments
A newly created Email Treatment starts out with input fields - for Subject and Key Code - and a blank
canvas to compose the email content, as shown below.
The editor also includes an array of buttons to insert content (such as links, images, properties, etc.) into
the treatment:
Two of the buttons in this array are essential in designing effective customer-focused treatments. These
are further outlined below.
Note: When an SMS message contains embedded fields, the character count is an approximation
of the message length. Each embedded field counts as 15 characters towards the character count
for the message.
Clicking this button opens the Button Parameters dialog. This dialog presents the user with a variety
of options for configuring the response mechanism for the treatment. The type of response link is
determined by the value selected in the Function drop-down. The following options are available:
• Accept action - This option embeds a link for the customer to accept the action. The user must select
whether to direct the customer to a response screen or to an external URL.
• Decline action - This option embeds a link for the customer to decline the action. The user must select
whether to direct the customer to a response screen or to an external URL.
• Open internal page – This option embeds a link to launch an internal page. The user must specify the
name of the response screen (internal page).
Note: This page cannot be customized with customer or action data, because internal pages do
not support referencing this type of data. Use the Open external URL option instead.
• Open external URL – This option embeds a link to launch an external URL. The user must specify the
external URL to open.
• C – Customer ID
• R – Customer response
• I – Issue of the action
• G – Group of the action
• O – Name of the action
• T – Name of the Email Treatment
◦ Seed List - Select a predefined Seed List as the intended recipients of the test email. The data for
each seed is populated as the customer data and is visible (if referenced) in the test email. In this
case, the Email 1 column in the Seed List (.pyEmail1 property) specifies the email address to which
the test email is sent. Refer to the Seed Lists chapter for information on configuring a Seed List.
• Test Account Settings – Specify Email Account settings for the test email.
◦ Use Default Email Account - Select this option to use the Default outbound Email Account.
◦ Specify Email Account - Select this option to specify the outbound Email Account to use for
delivering the test email. Specify the account name in the Account field.
◦ From/Reply To: Use Email Account Settings - Select this option to use the sender’s name and
reply-to address that is configured on the Email Account being used.
◦ From/Reply To: Use Operator Settings - Select this option to use the name and email address of
the current operator for these values.
◦ From/Reply To: Override Account Settings - Select this option to specify the sender’s name and
reply-to address for the test email. Specify these values in the From and Reply To fields.
After the test message has been configured, it can be sent via the Send Test Message button.
Upon clicking this button, the Email Treatment is saved and the test email is sent to the specified
recipients. The status of the test is displayed.
Any errors in the test delivery are displayed in case of a failure. These can be corrected and the test email
can be resubmitted for delivery.
Passbook Treatments
Passbook is an application available on iOS devices (such as iPhone or iPod touch) that can be used to
store things (termed passes) such as boarding passes, tickets, and coupons. These passes can be used to
perform appropriate tasks, such as checking in to a flight or redeeming a coupon.
A Passbook Treatment enables marketing users to design the contents of a pass using interactive tools
and a preview pane that displays a rendering of the pass based on the user’s configurations. Users can
configure each element of a pass, preview the impact of their changes, and test the generated pass by
sending it as an email attachment.
Each pass is associated with a pass style. This style determines the overall visual appearance of the pass
and impacts the placement of different fields on the pass. Currently, the system supports the following
Passbook Styles:
• Coupon – Appropriate for coupons, discounts, and special offers
• Generic – Appropriate for all other uses
Users must select the Passbook Style for the pass as part of creating a new Passbook Treatment. Users
can’t change the style of a Passbook Treatment while copying.
A newly created Generic Passbook Treatment starts out as shown below.
For more details on Passbook, refer to Apple’s Passbook Programming Guide, available at: https://
developer.apple.com/library/ios/documentation/userexperience/conceptual/PassKit_PG/Chapters/
Introduction.html
General tab
Use this tab to configure the following general settings for the pass:
Visual Elements Pass icon Icon that the Apple device shows
with the pass on the lock screen
and in iOS apps (such as Mail)
when representing this pass. A
preview of the selected icon is
shown next to the field.
Visual Elements High-res (or 2x) pass icon High-res version of the pass icon
(used in Retina displays)
Visual Elements Strip image(Coupons only) Image that displays behind the
Primary fields
Colors Large text elements Color used for the values of the
fields shown on the front of the
pass
Colors Label text elements Color used for the labels of the
fields shown on the front of the
pass
For images, users can use the gear icon to launch the Image Catalog, which can be used to search and
select the desired image.
For specifying colors, users can either directly enter the hex code for the color or click the color square
(next to the input box) to launch the color picker. The Standard tab provides commonly used standard
colors while the Custom tab provides multiple ways to select the desired color.
Name Purpose
Main logo Logo image that displays at the top left corner of
the pass
High-res (or 2x) logo High-res version of the logo icon (used in Retina
displays)
Logo text Optional text that displays next to the logo icon
For images, users can use the gear icon to launch the Image Catalog, which can be used to search and
select the desired image.
Header Fields
Use this section to add fields to be displayed in the pass header. Users can configure a maximum of three
fields for the header. Header fields are the only fields that are visible when the pass is stacked with other
passes in the Passbook app. They should be used sparingly to show only the most vital pass information.
Refer to Configuring Pass Fields for details on configuration options for pass fields.
Primary tab
Use this tab to configure the primary field for the pass. The primary field typically contains the most
important pass information and is displayed prominently.
Refer to Configuring Pass Fields for details on configuration options for pass fields.
Secondary tab
Use this tab to configure the secondary fields for the pass. Users can configure a maximum of four
secondary fields. Secondary fields are less prominent than the primary field and are typically shown in a
smaller font size. Users should specify secondary fields in the order of their importance.
Refer to Configuring Pass Fields for details on configuration options for pass fields.
Auxiliary tab
Use this tab to configure additional fields to display on the pass. Users can configure a maximum of four
auxiliary fields. If secondary fields are present, they will take precedence over auxiliary fields.
Refer to Configuring Pass Fields for details on configuration options for pass fields.
Note: In most cases, coupons and generic passes can have a maximum of four secondary and
auxiliary fields, combined.
Barcode tab
Use this tab to specify the barcode configuration for the pass. Users can include a barcode in the pass and
configure the data contained in the barcode. Users can also choose to display a text message beneath
the barcode. The barcode inclusion in a pass is optional and users can choose to create a pass without a
barcode.
The system provides support for the following barcode formats:
• Aztec
• Quick Response (QR) code
• Portable Data file (PDF) 417
After selecting the barcode format, users need to select what should happen when the barcode is
scanned. The system provides support for the following two options:
• Register a positive response when a barcode is scanned
Select this option to have the system record a positive response for the action through which this pass
is delivered. In this scenario, the system injects a callback link with pertinent details. When the pass’s
barcode is scanned, the injected link invokes appropriate the service on the system and the positive
response is captured.
• Customize the barcode data
Select this option to specify the data to be stored in the barcode. The barcode format determines
the amount of data that the barcode can contain. Refer to the official documentation for each of
these formats for more details on their data limits. In this scenario, no response is captured as part of
scanning the barcode. Response capture (if needed) must be handled in a different part of the process.
Users can also choose to specify a text message that will display with the barcode. This field can be
used to display human-readable information (such as coupon codes or membership numbers). This is
particularly useful if the pass can be used at places where a barcode scanner might not be available.
Finally, some barcode scanners require the data encapsulated in the barcode to be encoded. Users can
specify the encoding to use or use the default encoding (ISO 8859-1).
Relevance tab
Use this tab to configure locations at which this pass will be relevant. Users can specify up to ten locations.
When a holder of this pass is at (or within) one of the specified locations, the specified notification
message is displayed on the holder’s device. For each location, the user can specify:
• Location information - Users can either select a Geofence rule or directly specify the latitude and
longitude of the location. Refer to the Geofences chapter for more details on the Geofence rule.
• Notification message – Users can specify the message to display on the pass holder’s device when the
holder is at or within the specified location.
Back tab
Use this tab to configure fields to display on the back of the pass. Users can specify up to twenty fields for
the back of the pass. Users can use back fields to specify fields that are too long for the front of the pass
(e.g. terms and conditions) or any other additional information that may be helpful for pass holders. If the
contents of the back exceed what can be displayed on the screen at once, pass holders are able to scroll
through the contents.
Refer to Configuring Pass Fields for details on configuration options for pass fields.
Note: For specific details on the various elements involved in pass creation (such as images, fields,
and barcodes), refer to the Pass Design and Creation chapter of Apple’s Passbook Programming
Guide, available at: https://developer.apple.com/library/ios/documentation/userexperience/
conceptual/PassKit_PG/Chapters/Creating.html
Click the pass to open it – the front of the pass is displayed. Click the icon to view the back of the
pass. Use the Done button to return to the front of the pass. Use the Add button to add the pass to your
passbook.
Sections
A newly created Section starts out as shown below.
For more information about creating Sections, refer to the Pega Platform documentation.
Note: Unlike other marketing artifacts, a Section rule does not show Issue and Group drop-downs
in the Create form. However, these are still correctly set using the values from the action rule. The
Apply To setting of the Section rule is automatically set to correspond to the issues and group class
under PegaMKT-Work-Offer.
SMS Treatments
A newly created SMS Treatment starts out with an input field for the key code and a blank canvas to
compose the SMS message, as shown below.
• Spell check – Users can use perform a spell check via the Check Spelling icon:
Spelling errors are underlined in red. Clicking an incorrectly spelled word provides a list of possible
corrections. Selecting one of these corrections replaces the incorrect word with the selected
suggestion.
When an SMS message contains embedded fields, the character count is an approximation of the
message length. Each embedded field counts as 15 characters towards the character count for the
message.
◦ Seed List - Select a predefined Seed List as the intended recipients of the test SMS message. The
data for each seed is populated as the customer data and is visible (if referenced) in the message. In
this case, the Mobile Phone column in the Seed List (.pyMobilePhone property) specifies the phone
number to which the test SMS message is sent. Refer to the Seed Lists chapter for information on
configuring a Seed List.
• Test Account Settings – Specify SMS Account settings for sending the test SMS message.
◦ Use Default SMS Account - Select this option to use the Default outbound SMS Account.
◦ Specify SMS Account - Select this option to specify the outbound SMS Account to use for delivering
the test message. Specify the account name in the Test Account field.
After the test message has been configured, it can be sent via the Send Test Message button.
Upon clicking this button, the SMS Treatment is saved and the test SMS message is sent to the specified
recipients. The status of the test is displayed. Any errors in the test delivery are displayed in case of a
failure. These can be corrected and the test message resubmitted for delivery.
Web Treatments
A Web Treatment represents the visual message you want to communicate to your customer on the
web channel. It typically consists of an image or HTML fragment and text which is rendered in a specific
location on a web page. If a user clicks on this image or HTML, Pega tracks the click event and redirects the
user to a specified web page. This redirection is specified through the click-through URL.
Web Treatments are placed on web pages and contain a link which takes a Customer to a target page
when clicked. To create a Web Treatment:
What to do next: If you want to use adaptive analytics for Next-Best-Treatment selection, save the
Web_Click_Through_Rate adaptive model into your Artifacts ruleset and add the relevant Customer
property predictors. The predictors allow the adaptive model to learn and produce the desired
results.
Customer Journey
A customer journey is the stages and steps customers go through as they engage with a brand for a
specific outcome, such as applying for a credit card or adding a new mobile device.
It is important for marketers to understand how customers are engaging with their brand, on which
channels, and the messages that are resonating or need attention. Because customer journeys show an
aggregation of customers that are in any stage or life cycle for a particular outcome, you can use them to
see the paths and volumes that customers are following. You can also drill down to see more details about
the actions and the characteristics of customers that respond to these actions.
You can define stages for each unique scenario in a customer journey, and specify the conditions in which
customers move between them. For example, customers may become aware that they need or want a
new mobile phone. They consider different phones, compare features and pricing, and make a decision
to purchase the product that best meets their needs. To capture this process, you can define a customer
journey with phases such as Awareness, Consideration, Decision, and Purchase. Each stage has defined
entry criteria, and can be further divided into steps. Each customer journey step can be linked to an
action.
Pega Customer Decision Hub automatically selects relevant customer journeys based on entry criteria you
define. A customer may participate in multiple journeys at the same time. Customers progress through
these journeys in two ways:
• When customers respond to an action associated with a specific journey stage and step, they progress
to that stage and step in the journey.
• When data from data streams such as web analytics or event streams indicates that a customer
entered, progressed, or completed a specific journey. Pega Customer Decision Hub compares the
available data to the entry criteria you define and moves the customer to the relevant stage of the
journey.
1. In the Pega Customer Decision Hub portal, click Next-Best-Action > Customer Journey.
2. Click Create.
3. In the Journey details section, enter the following information:
• Name and Description
• Issue and Group (Present content from) - Specify an Issue or Group if you want to assign actions to
journey steps. Specifying an Issue or Group filters the list of actions according to the Issue or Group
you select.
• Maximum journey length - Specify the expected number of days it takes the customer to complete
this journey. After this time, the customer will no longer be eligible for this journey.
• Journey rank - Specify the priority of this journey, relative to other journeys in your application.
4.
In the Entry Criteria section, click the gear icon to define proposition filters, which are similar to
action eligibilities. For more information, see Configuring Eligibilities.
5. In the Select how you want to configure your journey section, select if you want to create the
journey using a predefined template, or define all stages and steps manually.
• To create the journey from a template, click Start with a template, and then select a predefined
template from the list.
• To manually add journey stages, click Create new.
6. Define the stages that make up the customer journey. For example, a sales journey can consist of
Awareness, Consideration and Decision, after which the journey is considered complete.
• To add a new journey stage, click Add Stage.
•
To remove a stage, click the down arrow by the name of the stage, and then click Delete stage.
7. Define the entrance criteria for each stage in the customer journey. This helps ensure that the
customer's progress from stage to stage is tracked. For more information, see Configuring Eligibilities.
a. Click the name of the stage.
b. Click the gear icon in the ENTRY CRITERIA section.
8. Define the steps which make up the journey stages.
a. To add a step to a stage, click Add Step.
b. For each step, you can specify the entry criteria to define when a customer is eligible for this step.
Click the name of the step, then click the gear icon in the ENTRY CRITERIA section. For more
information, see Configuring Eligibilities.
c. Optional: You can also link selected steps with actions that should be extended to a customer at this
step of the journey. To associate a step with one or more actions, click the name of the step, then
click the gear icon in the CONTENT section. For more information, see Actions.
9. Click Save.
10. Click Activate to activate the customer journey.
1. In the Pega Customer Decision Hub portal, click Next-Best-Action > Customer Journey.
2. Click a customer journey to review its stages and steps. An Overview of the journey is displayed.
3. For each step in the journey, review the messages and communications on different channels,
displayed as nodes on the journey graph. Click a node to examine the performance of specific
messages for a specific journey step.
For example, you can compare the number of customers who progressed to the next journey step
to the number of customers who declined the action at this step. You can also view the top grouping
for each active predictor from the adaptive model in the Customer Predictors section. If the step is
associated with multiple actions, you can compare volume, impression and click-through statistics for
each action.
4. Optional: To change the timeframe from the current quarter, select Last Quarter or This Year in the
Timeframe section.
5. Optional: To view an animated version of the journey progress, click Explore, and then click a journey
node. The number of customers who progressed through this step is displayed.
6. Create a template from the customer journey, so that other marketers can reuse it. To save a customer
journey as a template, click Actions > Save as template.
7. To activate or deactivate a customer journey, click Activate or Deactivate.
Note: To activate a customer journey, first make sure that you defined entry criteria for all
journey stages. For more information, see Defining Customer Journeys.
8. To edit a customer journey, deactivate it, then click Edit. You cannot edit a customer journey while it is
active.
9. To delete a customer journey, deactivate it, then click Delete. You cannot delete an active customer
journey.
1. In the Pega Customer Decision Hub portal, click Content > Treatments.
2. On the Treatments landing page, click Create > File.
3. Enter a description of the template.
4. Select the issue and group for storing the output template rule.
To create the rule at the top level of your next-best-action business structure, leave the Issue and
Group fields empty. The level at which you create the template determines the attributes (action
details) that are available for use within the template.
5. Click Create and open.
6. Provide the following information:
a. In the Repository name field, enter the name of the repository where you want to store the file.
b. In the File path field, enter the path on the repository where you want to store the output file, and
the name of the file where you want to store the output content.
The format for the file path and name is /folder/filename.
For example: actions/output/mailing-list.csv.
Note: If you configure multiple output templates,each file must have a unique name.
7. Specify whether you want to finalize the template at the end of each outbound run.
By finalizing a template at the end of each run, you ensure that all data in the file is the result of a
single run. That is, the final output includes all data related to the run that triggered the finalization. If
want the data from multiple campaigns to be written to the same file, leave this option unselected.
8. If you chose to finalize the template at the end of each run, select Include run ID in the file name if
you want the file name to include the run ID for easier identification.
For example: actions/output/mailing-list_PR1.csv.
9. Specify whether you want to include the date and time in the file name when you finalize the template.
When the template is finalized, the name of the output file includes the date and time configured in the
MKTFileNameDateMask dynamic system setting. By default, the format is YYYY-MM-DD-hhmmss
For example: actions/output/mailing-list_PR1_2020-02-03-111609.csv.
Tip: As a best practice, if you chose to finalize the template at the end of each run, configure
the file name to include the run ID, the data and time of the template finalization, or both. This
prevents the output file from being overwritten by subsequent runs,
10. In the Delimiter type field, select the delimiter for the output CSV file.
Use a delimiter which is recognized by the target repository for the file. Common delimiters include
commas (,) and semicolons (;).
Note: If you choose to finalize the template at the end of the run, all data from the run is
appended to the existing data in the table.
7. If you did not choose to finalize the template at the end of each run, specify how you want to write the
information to the destination database:
• To replace the data in the destination table with new data, select the Overwrite existing data
check box.
• To add new data to the destination table, select the Append to existing data check box.
1. On the Fields tab of a template, click Add to add a new field to the template contents.
2. Enter a name for the field.
Note: The system uses this value as the name for the database table column or file column
header. Do not use database reserved words such as Group for the names, as this will cause
errors during the template finalization.
3. Select whether the field is a Data Field or Text.
4. In the Content field, select the data field to output, or type in the text.
5. For file templates, if the field that you added is a data field, select the format to apply to the field.
For example: Depending on the data field that you selected, formats can include date formatting,
currency formatting, decimal separators, and others.
1. In the Schedule section, select the Enable schedule check box to configure when and how frequently
to finalize this output template.
Tip: As a best practice, do not schedule the template to be finalized more often than every 30
minutes. Finalizing the template too frequently can result in unexpected behavior.
2. Optional: In the Delivery options section, configure the notification that you want to send when the
template is finalized.
3. Optional: In the Advanced section, configure a post-finalization activity for this output template:
a. In the Task name field, enter a name for the task.
b. In the Task description field, enter a description for the task.
c. In the Activity class field, select the Applies To class of the post-finalization activity from the list.
Note: The post-finalization activity must reside in the PegaMKT-Work-Offer class or in one of
its descendant classes.
d. In the Activity name, select the post-finalization activity (Rule-Obj-Activity) from the list.
What to do next: After you specify the contents of an output template, you can configure the
following outbound shapes in an action flow to write to the template:
• Send Email
• Send SMS
• Send Generic
• Sent Multiple Treatments
Action Bundles
In typical marketing scenarios, it is often desirable to group offerings into bundles. There may be varied
reasons for doing so, such as incentives, logistics, etc. To address this marketing need, the system
provides support for grouping actions into bundles.
Respond to Email - Resume the parent - Start all member - Resume the parent
link for bundle (all flow flows that haven’t been flow
members) started
- Parent flow does not
resume
Respond to Email link - Resume the parent - Start or resume the - Start or resume the
for individual action flow member flow member flow
Update Status shape in N/A (since member - Record IH response - Record IH response
member action action is never started) for member and its for member only
parent
Parent action - Complete parent and - Complete parent and - Complete parent and
completion all member actions member actions that member actions that
haven’t been started haven’t been started
• Action Role - Specify the role this action will play in the bundle. Select Yes if this action is a parent
action, otherwise select No. Also, select the bundle type for the parent action.
For the parent action, the bundle type is specified (FixedBundle, FlexibleBundle, or GroupedOffers) and
the bundle parent flag is set to true.
For all actions (parent and two members), the bundle name is specified. In the above example, the parent
action's name is used as the bundle name.
responsibility is the same across all three bundle types. Once the email has been sent, the behavior of the
parent action flow typically varies slightly based on the bundle type.
Fixed Bundle
In a fixed bundle, the parent flow is responsible for handling responses received for the bundle, as shown
in the flow snippet below.
Flexible Bundle
In a flexible bundle, the parent flow is only responsible for the initial communication of the action bundle.
Responses received for the bundle will not progress the parent flow. A simple parent flow is shown below.
Grouped Actions
In a grouped bundle, the parent flow is responsible for the initial communication. Typically, bundle-level
response links are not provided in this mode. If a bundle-level link is made available, the parent flow
will be resumed. This could be used to trigger a follow-up email with more information and/or update
Interaction History records for the parent and all member actions that haven't been started.
Fixed Bundle
In a fixed bundle, the member flow is never started. Thus, the member flow can simply be an empty flow.
This treatment includes the following salient pieces of a bundle Email Treatment:
• Bundle name - References the .OfferData.BundleName property
• Response link for bundle – Added using the Insert Button functionality
• Impression capture - References the RecordImpression section. With bundles, it is typical to include the
impression capture section at the parent level.
• Member details - References the BundleTemplate section. This section uses the BundleOfferMembers
page list property to display the member actions in a grid with accept and reject response links for
each member.
The BundleOfferMembers property is populated at runtime to contain details of the various bundle
members. This can be used in dynamic containers such as the repeating grid. Users can also make
static references to member actions in this page list. For example, to display the name of the first
action in the bundle, reference the .BundleOfferMembers(1).OfferData.pyName property.
Another common usage pattern is to update the grid in the BundleTemplate (or equivalent) section at
the top level (PegaMKT-Work-Offer) to include a sub-section for displaying relevant action information,
say MemberOfferDetails. Users can then create a top-level version of this section to serve as a base for
all member actions. To customize the details for a particular issue or group, the user simply needs to
override the details section in the appropriate issue or group class.
Geofences
A Geofence is a virtual boundary around a particular location. Marketing users can define Geofences in
the system and then use them to trigger Events. For example, a customer entering (or nearing) a store
could trigger the Geofence for that store. This could in turn trigger an Event whereby the customer is
presented with an appropriate action. Users can also reference Geofences in strategies and can harness
this to determine the most relevant action for a particular customer.
Geofences are accessible in the Pega Customer Decision Hub portal, via: Content > Real-Time Artifacts >
Geofences.
The Geofences landing page provides a quick overview of the various fences configured in the application.
The Geofence rule can be opened by double-clicking the Geofence row.
Geofence Management
This section explains the various modes available for managing Geofences.
• Coordinates – Users can specify the latitude and longitude of the desired location.
After specifying the location for the Geofence, the “Search” button is used to locate the Geofence in the
map. If the specified location is valid, the Map section will render the Geofence and the Details section will
display available details for the Geofence.
The radius of the Geofence and the unit of measurement can be modified. Upon modification, the Map
will re-render using the new radius values.
to relocate the Geofence’s location. The details section will display the new address and coordinates.
• Resizing the Geofence by dragging any of the four endpoints (north, south, east, and west). The details
section will display the new radius value.
If multiple Geofences are located in too close a radius to render separately, they are represented
together by a circle with the number of Geofences it contains. Users can click on the number to view a
list of the contained Geofences.
3. Show with Radius - Select this option to view nearby Geofences along with their radii. Each
neighboring Geofence is represented by a blue pin as its center and a blue circle corresponding in size
to its radius.
As previously, if there is a high density of Geofences, they are represented by a circle with the number
of contained Geofences. The shading of the circle also provides a visual cue to its density. Denser
circles will be more opaque than less dense circles.
Importing Geofences
Users can also choose to bulk import Geofences into the system. Click the Import link on the Geofences
landing page to launch the Import Geofences process. The import process has the following three stages:
Import
Use the Choose File button to select the comma-separated values (CSV) file containing the list of
Geofences to import. After selecting the CSV file, use the “Next” button to proceed to the review stage.
Geofence Name, Radius, Radius Unit, Latitude, Longitude, Street Address, City,
State, Postal Code, Country
• Geofence Name must be provided
• Either location coordinates (latitude/longitude) or address (street/city/state…) must be provided for
each Geofence, but not both.
• Radius unit should be either “Miles” or “Kilometers”. If radius unit is not provided, it is defaulted to
“Kilometers”.
• If radius is not provided, it is defaulted to 1
Example Geofence entries:
• Using coordinates:
PegaBedford,2,Miles,42.928,-71.464,,,,,
• Using address fields:
PegaBedford2,2,Kilometers,,,8 Commerce Drive,Bedford,NH,03110,USA
Review
This stage enables the user to review the import process and handle any conflicts. The user is presented
with total number of Geofence records, number of Geofences that will be created, number of warnings,
and number of errors.
The Geofences to Import grid lists each entry in the import file along with its pertinent details and its
status. The grid is paginated if there are sufficient entries in the import file.
3. Error - Geofence is invalid and will not be created. The reason for the error is displayed as a tooltip on
the status.
If desired, users can return to the import stage via the Back button and re-import the file after
addressing any errors.
Managing Conflicts
The system provides the following options for handling conflicts in the import process:
• Skip conflicts and keep my existing data
Select this option to ignore any conflicting Geofence entries and retain the original Geofence rule or
the first Geofence import file entry, as appropriate.
• Overwrite all my existing data with the new import data
Select this option to overwrite existing Geofence rules (in the system) and/or earlier import file entries
with the latest file entry.
• Overwrite my existing data as marked above
Select this option to pick which import file entries should overwrite existing entries. Select the
Overwrite checkbox for each desired entry. Entries where the checkbox is not checked will be ignored.
After reviewing the import results and managing the conflicts, users must check the I have reviewed…
checkbox.
Finally, use the Next button to finalize the import of Geofences and initiate the back-end creation (or
updating) of Geofence rules.
Summary
This stage provides the user with a summary of the Geofence import process.
After reviewing the results, use the Done button to exit the import process.
Geofence Services
In addition to configuring Geofence rules in Pega Customer Decision Hub , the app that wishes to
detect when a Geofence is entered (tripped) must make service requests to the system to determine if
a Geofence is tripped. If a Geofence is tripped, all Events associated with it will be triggered (assuming
they are currently applicable). The system provides multiple services which can be used separately or in
tandem to facilitate this functionality.
REST application/json
Detect/Trigger Geofences
The Detect/Trigger set of services are used to detect whether a customer’s device has tripped a Geofence
in the system and to trigger Events associated with tripped Geofences. These services support handling
requests for multiple customers in a single request.
The following two variants of the service exist:
• HandleMktGeolocations HTTP Service
http://<host>:<port>/prweb/PRHTTPService/PegaMKTGeolocation/Services/
HandleMktGeolocations?
CustomerID=<CustomerID1,2,..n>&DeviceID=<DeviceID1,2,..n>&DeviceLatitude=<DeviceLatitude1,
When using this service for multiple customers, ensure that each of the values are comma-separated
(e.g. CustomerID=A1,A2,B1) and that the length of each of the request fields (such as CustomerID,
DeviceLatitude, etc.) is the same.
• HandleMktGeolocations SOAP Service
The following URL provides the WSDL for your this service: http://<host>:<port>/prweb/
PRSOAPServlet/SOAP/PegaMKTGeolocation/Services?WSDL
The following is an example SOAP request for two customers:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-
envelope" xmlns:geol="GeolocationPayload"> <soap:Header/>
<soap:Body> <geol:GeolocationPayload> <Geolocation>
<CustomerID>JR</CustomerID> <DeviceID>ANDR1234</DeviceID>
<DeviceLatitude>41.34</DeviceLatitude> <DeviceLongitude>-71.79</
DeviceLongitude> </Geolocation> <Geolocation>
<CustomerID>RA</CustomerID> <DeviceID>IO12</DeviceID>
<DeviceLatitude>41.797</DeviceLatitude> <DeviceLongitude>-72.077</
DeviceLongitude> </Geolocation> </geol:GeolocationPayload> </
soap:Body></soap:Envelope>
Real-Time Events
Events provide a mechanism for responding to real-time marketing opportunities. An Event is essentially
an entry-point into the marketing application which can be initiated by internal or external systems.
Real-Time Events are listed on the Events tab of the Real-Time Artifacts landing page. This landing page is
accessible in the Pega Customer Decision Hub portal via: Content > Real-Time Artifacts.
The Events landing page provides a quick overview of the Events rules configured in the application. The
landing page indicates whether an Event is active or inactive. The Valid From and Valid To values (if
configured) are displayed in green if they are currently satisfied.
Event Management
This section explains the various aspects of managing Events.
Tab Purpose
Name
Event Specify the availability details for the Event and associate Geofences with the Event.
Details
History Specify the Description and Usage information for this Event.
Use the Edit multiple button to add multiple Geofences using a list-to-list interaction.
The left list contains the available Geofences while the right list contains the currently selected Geofences.
Use the icons adjacent to the lists to manage Geofences between (and within) the lists.
Icon Purpose
Move the selected Geofence from the available to the associated list.
Move the selected Geofence from the associated to the available list.
Triggering an Event
Use the out-of-the-box Event Stream service to trigger Events and respond to them immediately.
You can create real-time runs for data flows that have a data set that can be streamed in real-time as the
primary input. Data flow runs that are initiated through the Data Flows landing page process the data
using the checked-in instance of the Data Flow rule and the rules that are referenced by that Data Flow
rule.
1. Log in to Pega Customer Decision Hub as an operator with access to Dev Studio.
2. Click Configure > Decisioning > Decisions > Data Flows > Real-time processing.
3. On the Real-time processing tab, click New.
4. Associate a Data Flow rule with the data flow run by doing the following steps:
Record failure
• Fail the run after more than x failed records – Terminate the processing of the data flow and
mark it as failed after the threshold for the allowed total number of failed records is reached or
exceeded. If the threshold is not reached or exceeded, the data flow run finishes with errors. The
default value is 1000 failed records.
Node failure
• Restart the partitions on other nodes – For non-resumable data flow runs, transfer the
processing to the remaining active Data Flow service nodes. The starting point is based on the
first record in the data partition. With this setting enabled, each record can be processed more
than once.
• Fail the entire run – For non-resumable data flow runs, terminate the data flow run and mark it
as failed when a Data Flow service node fails. This setting provides backward compatibility with
previous versions of Pega Platform.
Snapshot management
• Create a snapshot every x seconds – For resumable data flow runs, specify the elapsed time
for creating snapshots of the data flow runs state. The default value is 5 seconds.
9. Click Done.
Data flow nodes are required to start the run. If the service contains no nodes in the cluster, a message
is displayed with a link to the Services landing page, where you can add nodes.
10. To analyze the lifecycle of the run and troubleshoot potential issues, in the Run details tab of the data
flow run, click View Lifecycle Events.
In the window that opens, each event has a list of details, for example, reason, which you can analyze
to better understand the event or debug an issue. You can use the Actions menu to export the events
to a single file.
Note: By default, events from the last 10 days are displayed. You can change this value by
editing the dataflow/run/lifecycleEventsRetentionDays dynamic data setting.
What to do next:
Pega Customer Decision Hub 8.4 includes the CDHEventSource data set and the related
ProcessFromEventSource data flow which can be used to trigger real-time events. In addition, you can
configure an external Kafka cluster for event processing, as described in Configuring Kafka to process
real-time events.
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:even="EventPayload"
xmlns:urn="urn:PegaRULES:SOAP:PegaMKTDataMktEvent:Services">
<soapenv:Header>
<even:EventPayload>?</even:EventPayload>
</soapenv:Header>
<soapenv:Body>
<urn:EventPayload>
<CustomerID>JR</CustomerID>
<EventName>AccountOpened</EventName>
<EventType>Branch</EventType>
<Latitude>42.9613</Latitude>
<Longitude>-71.4798</Longitude>
</urn:EventPayload>
</soapenv:Body>
</soapenv:Envelope>
2. Pega Customer Decision Hub and ESM are deployed on same instance, ESM Data Flows do not have
access to the Pega Customer Decision Hub application.
3. Pega Customer Decision Hub and ESM are deployed on different instances.
In scenario 1, integrators can directly use a hook activity. For scenarios 2 and 3, integrators will need to
use an integration ruleset.
Real-Time Containers
Real-Time Containers provide a way for marketers to manage content that appears in real-time channels,
such as web and mobile. As an example, a marketer may define a Container to represent a region of
a web page. They can then associate the Container with a Next-Best-Action in the Next-Best-Action
Designer. In real-time when the Container is called (say on a web page), a Next-Best-Action is executed
and the Container gets populated with results.
Pega Customer Decision Hub provides a set of APIs, which can be invoked from real-time channels, to
facilitate the population of a Container and to capture customer responses.
Real-Time Containers are listed on the Containers tab of the Real-Time Artifacts landing page. This
landing page is accessible in the Pega Customer Decision Hub portal via: Content > Real-Time Artifacts
The Containers landing page provides a quick overview of the Containers configured in the application.
Container Management
This section explains the various aspects of managing Real-Time Containers.
Container Specify the availability details for the Container; view Next-Best-
Details Action configuration associated with this Container.
The Supporting Decisions associated with this Container section displays the Supporting Decision
configuration that has been associated with this Container. Refer to the Next-Best-Action chapter for
details on associating Containers with NBA.
Note: A Container can have multiple entities associated with it, as long as only one of them is
active at any given point in time.
The following table lists the information that displays for each entity associated with this Container:
Column Description
Associated NBA / Associated supporting decision Name of the NBA configuration, or supporting
decision, to which this Container is associated.
Click the name to open the entity.
End Date Date and time when this Container stops being
active for this entity
Decision Hub application behaves as the hub for decision logic and any other Pega application can
leverage Container features without being built on Pega Customer Decision Hub.
Note: This service supports identity matching for the Web and Mobile channels.
http://<host>:<port>/prweb/PRRestService/PegaMKTContainer/V2/Container
{
"ContainerName": "NextBestAction",
"Channel": "CallCenter",
"CustomerID": "CONT -1",
"Direction": "Inbound",
"Placements":"Hero, Tile, Tile",
"Contexts": [{
"Type": "Intent",
"Value": "Refi mortgage",
"Key": "IntentName"
},{
"Type": "Intent",
"Value": "Moderate",
"Key": "CallVolumeIndicator"
}]
}
http://<HOST>:<PORT>/prweb/PRRestService/PegaMKTContainer/V2/Container?
CustomerID=1&ContainerName=AcquisitionSD&Channel=Web&Direction=Inbound&ContextKey=intent&Co
Service Response
For the response, the service returns a JSON Object with the following attributes:
• Status – OK for successful result
• ContainerList – The Container service can request multiple containers in a single request. This is an
array of the called containers and results
◦ RankedResults - An array containing one or more actions returned by Strategy execution. Each
action in this array has the following attributes:
▪ Name – Name of the action
▪ Issue – Issue to which the action belongs
▪ Group – Group to which the action belongs
▪ InteractionID – Decision results identifier for the Container call. Decision results are stored
in a Cassandra datastore (pxDecisionResults) as part of the Adaptive Analytics delayed learning
feature. The InteractionID is required during the CaptureResponse process to match the
response to the original decision result, so that adaptive models can learn from the interaction.
▪ Category – Category to which the action belongs
▪ CustomerCost – Cost of this product/service to the customer
▪ Label – Business friendly description of the action
▪ Benefits – Benefits to the customer
▪ WhyRelevant – Why this action is relevant for the customer
▪ Direction – Direction in which the interaction was initiated, Inbound vs Outbound
▪ ShortDescription – Short description of the action
▪ PaidAudienceName – Name of the paid audience
▪ Identifier – Unique identifier for the action
▪ Pricing – Description of the pricing
▪ Journey – Name of the associated customer journey
▪ JourneyStage – Name of the associated customer journey stage
▪ JourneyStep – Name of the associated customer journey step
▪ EligibilityDescription – Criteria for customers to be eligible for this action
▪ Propensity - Action propensity value
▪ AgentCompensation – Agent compensation amount if customer accepts action
▪ ClassIdentifier – Internal class for the action results
▪ Priority - Action priority based on Strategy configuration
▪ Channel – Channel the interaction occurred on
▪ BundleName – Name of the action bundle
{
"Status": "OK",
"ContainerList": [{
"Status": "OK",
"ContainerName": "TopOffers",
"RankedResults": [{
"Group": "Mortgage",
"Issue": "Sales",
"InteractionID": "3944968229930172786",
"Category": "",
"CustomerCost": 0,
"Label": "30 Year Mortgage No Costs",
"Benefits": "Fixed rates are fixed until a
specific end date. At the end of the fixed term, your mortgage interest rate
reverts to the Variable Rate / Buy - to - Let Variable Rate.Call(800) 867 -
5309 ",
"WhyRelevant": "www.uplusbank.com/mortgage-
offer",
"Direction": "Inbound",
"Name": "YearMortgageNoClosingCosts",
"ShortDescription": "U+ Bank Mortgages",
"PaidAudienceName": "",
"Identifier": "/Sales/Mortgage/
YearMortgageNoClosingCosts",
"Pricing": "",
"Journey": "",
"JourneyStage": "",
"JourneyStep": "",
"ServiceCaseID": "",
"EligibilityDescription": "Purchase of a
single-family, primary residence, a credit score of 740,",
"Propensity": 0.76,
"AgentCompensation": 50,
"ClassIdentifier": "Offer",
"Priority": 0.76,
"Channel": "CallCenter",
"BundleName": "",
"ImageURL": "/u/bank/ad-imgs/30yrNo.png",
"Rank": 1,
"BundleParent": "false",
"Variant": "",
"Treatment": "",
"InternalCost": 0,
"CampaignID": "NBA",
"OfferValue": 0,
"ClickThroughURL": "http://myhost:myport/
prweb/PRHTTPService/ PegaMKTContainer/Services/CaptureClickThrough?Px=%09%7Bpr
%7Dl1q
%2FRWFI8c9EdhfxuvoNBOTDBNM0TCxZanC0vKI9bbQgRGRniKxg0i2nyDEWgNu1o5dyYZ3t69JE"
}]
}]
}
IsValueInContext
The IsValueInContext function checks if a value exists in the list of Contexts passed in the Container
Request. It has the following parameters:
• Type – This parameter identifies the type of context.
• Key – This parameter identifies the name of context.
• Value – This parameter contains the data to be evaluated.
@PegaMKTUtilities.IsValueInContext("Intent","IntentName","CloseAccount",Primary.ContainerPayload.Contexts)
GetContextValue
The GetContextValue function returns the value for the specified Type and Key in the Container Contexts.
It has the following parameters:
• Type – This parameter identifies the type of context.
• Key – This parameter identifies the name of context.
• Value – This parameter contains the data to be evaluated.
@PegaMKTUtilities.GetContextValue("Intent","IntentName",Primary.ContainerPayload.Contexts)
Container settings
You can toggle the following additional settings for Context in Strategies:
• Identity matching - Enabled by default. To disable, toggle the MKTEnableIdentityMatching dynamic
system setting.
• Customer lookup - Enabled by default. To disable, toggle the MKTEnableCustomerLookup dynamic
system setting.
• Customer validation - Disabled by default. To enable, toggle the MKTEnableCustomerValidation
dynamic system setting.
CaptureResponse
CaptureResponse is a REST service that supports the POST HTTP method. This service allows callers to
capture responses to actions triggered via Real-Time Containers.
The URL pattern for this service is:
http://<host>:<port>/prweb/PRRestService/PegaMKTContainer/V2/CaptureResponse
This service can also be used to initiate the first action in its request. To utilize this feature and include
action initiation, use the following URL pattern:
http://<host>:<port>/prweb/PRRestService/PegaMKTContainer/V2/CaptureResponse/
Initiate
{
"ContainerName":"TopOffers",
"CustomerID":"17",
"RankedResults": [{
"Name": "PlatinumCardOffers",
"Issue": "Sales",
"Group": "CreditCards",
"Rank": 1,
"CampaignID": "NBA",
"InteractionID": "-563481321460449721",
"Outcome": "Accepted",
"Channel": "Web",
"Direction": "Inbound",
"Journey":"",
"JourneyStage":"",
"JourneyStep":""
}]
}
Service Response
For the response, the service returns a JSON object with the following attributes:
• Status – OK for successful result, Error otherwise
• Message – Confirmation message when successful, error message in case of an error
A sample service response is shown below:
{
"Status": "OK",
"Message": "Response captured successfully"
CustomerOfferHistory
CustomerOfferHistory is a REST service that supports both GET and POST HTTP methods. This service
returns the Interaction History records for a customer.
The URL pattern for this service is:
http://<host>:<port>/prweb/PRRestService/PegaMKTContainer/V2/
CustomerOfferHistory
Service Request
For the request, the service expects a JSON Object with the following attributes:
• CustomerID – Customer identifier (required)
A sample invocation request is shown below:
{"CustomerID":
"CONNOR",}
Service Response
For the response, the service returns a JSON object with the following attributes:
• OfferHistory – An array of History records for the customer. Each record contains the following
attributes:
◦ Name - Name of the action
◦ Issue - Issue to which the action belongs
◦ Group – Group to which the action belongs
◦ Channel – Channel via which this action was communicated
◦ Direction – Direction of communication for this action
◦ InteractionID – Interaction History record identifier for this action
◦ ExternalID - Associated work object identifier
◦ OutcomeTime - Time when the outcome was captured
◦ Outcome - Response recorded for this action (e.g. Accepted, Rejected, Impression, etc.)
◦ Behaviour - Behavior of the specified outcome (e.g. Positive, Negative, Neutral, etc.)
◦ Identifier - Identifier for the action
Note: For Negotiation history records, there is a nested OfferHistory element which is an array of
action names.
A sample service response is shown below:
{
"OfferHistory": [
{
"Name": "Negotiation",
"Issue": "Negotiation",
"Channel": "CallCenter",
"InteractionID": "7382338912749122452",
"ExternalID": "S-13805",
"OutcomeTime": "20160225T125501.526 GMT",
"Behaviour": "Negative",
"OfferHistory": [
{ "Name": "Handsets_fromGoogleNexus4" },
{ "Name": "DataPlan100Min" },
{ "Name": "MemoryCard_V2_M3" }
],
"Outcome": "Rejected",
"Identifier": "/Negotiation/Negotiation/Negotiation",
"Direction": "Inbound",
"Group": "Negotiation"
},
{
"Name": "MI",
"Issue": "Sales",
"Channel": "CallCenter",
"InteractionID": "-7714067498846096636",
"ExternalID": "",
"OutcomeTime": "20160224T101058.055 GMT",
"Behaviour": "Positive",
"Outcome": "Accepted",
"Identifier": "/Sales/Handsets/MI",
"Direction": "Inbound",
"Group": "Handsets"
}]
}
CaptureClickThrough
CaptureClickThrough is an HTTP service that allows callers to request the handling of a click on the
Container for a generic channel. This service records a click in IH before redirecting to the requested
URL. Based on the Container ’s configuration, this service may also initiate the specified action for the
customer.
To invoke this service, callers must use the ClickThroughURL that was returned for the action by the
ExecuteContainer API.
The invocation URL for this service resembles the following:
http://<host>:<port>/prweb/PRHTTPService/PegaMKTContainer/Services/
CaptureClickThrough?
Tip:
To invoke a Container with the V2 service, instantiate:
4. Initialize the service controller object using one of the following mechanisms.
a. Directly update serverHostName and serverPort in realtimecontainerscript.js, as shown in the
snippet below. When using this mechanism, the instantiation of the service controller (Step 3 above)
will already initialize the controller using these values.
b. Invoke the initialize method on the service controller after instantiating it. For example:
nbamServiceCtrl.initialize(window.location.hostname, window.location.port);
5. Invoke the desired API using the corresponding service controller method.
ReferrerUrl, Utm_medium,
callback
Container Resiliency
If a Strategy execution fails due to an exception, Pega Customer Decision Hub invokes a fallback Strategy.
The fallback Strategy results in a response when a service activity is executed. To configure the required
action data, save the strategy FallbackStrategy into your implementation layer.
When your Container Service exceeds the Service Level Agreement defined for the Container Service by
more than a specified number of consecutive violations, Pega Customer Decision Hub invokes a fallback
service activity instead of the default service activity. The fallback service activity returns the default set
of actions for every request. To change the set of actions, save the FallBackContainerResponse data
transform into your implementation layer and configure the default Container Service response.
A sample response from the invocation of this service is shown below:
"ContainerList": [
{ "Status": "OK",
"ContainerName": " TopOffers ",
"RankedResults": [
{
"Group": "Default",
"Issue": "Fallback",
"InteractionID": "-8654833423861133119",
"Category": "Category",
"CustomerCost": "0",
"WhyRelevant": "WhyRelevant",
"Benefits": "Benefits",
"Direction": "Direction",
"Name": "FallbackOffer",
"ShortDescription": "ShortDescription",
"PaidAudienceName": "PaidAudienceName",
"Identifier": "Identifier",
"Pricing": "Pricing",
"JourneyStage": "JourneyStage",
"JourneyStep": "JourneyStep",
"EligibilityDescription": "EligibilityDescription",
"Propensity": "0",
"AgentCompensation": "0",
"Priority": "0",
"ClassIdentifier": "Offer",
"Channel": "Channel",
"ImageURL": "ImageURL",
"Rank": "1",
"BundleParent": "BundleParent",
"Variant": "Variant",
"Treatment": "Treatment",
"InternalCost": "0",
"CampaignID": "CampaignID",
"OfferValue": "0",
"ClickThroughURL": "ClickThroughURL",
"Journey": "Journey"
}
]
} ]
Seed Lists
A Seed List is a collection of artificial entities (also called “seeds”) that can be used to test, monitor, and
validate various aspects of the processing infrastructure. For example, such a list can be used to test the
timeliness and reliability of processes being handled by a third party.
Each seed represents a make-believe customer and all applicable customer attributes can be specified
for a seed. Multiple lists, each containing their own seed data, can be created and managed within the
marketing application. These lists can be used to test the following capabilities:
• Action execution
• Personalized email delivery
• Personalized SMS delivery
Seed Lists are listed under the Seed Lists landing page, which is accessible in the Pega Customer Decision
Hub portal via: Configuration > Segmentation > Seed Lists.
The following actions are available on the Seed Lists landing page:
• Create – Create a new Seed List. See Creating a new Seed List.
• Refresh icon – Reload the Seed List grid
• Help – View context-sensitive help
• Close icon – Close the landing page
Click Submit to create the Seed List. At this point, the backing structure of the Seed List is created. The
landing page grid should refresh and display the newly created Seed List. The row count column for the
new Seed List will initially be 0.
This editor displays all entries (seeds) as rows in the Seed List. The columns of the Seed List are made up
of the columns from the customer table.
To.. Do…
Add a new seed Click the add icon. Fill in all necessary fields and click anywhere
outside the input row to save the record. To cancel your
To.. Do…
changes and discard the new record, click the delete icon at
the right end of the row.
Modify an existing Click anywhere in the desired row. The row should toggle
seed to editable mode. After making the desired changes, click
anywhere outside the row to save your changes.
Delete an existing Click the delete icon at the right end of the row.
seed
Upon clicking this button, the backing Seed List structure will be synchronized with the customer class.
This task should typically be performed by the administrator and will impact all existing Seed Lists. This
task should be performed in the following scenarios:
• Initially after a new install
• Whenever the customer class changes
• When attributes are added to (or removed from) the customer class and these changes need to be
reflected in the seed data
The administrator can also use the Seed List Definition link to view the current Seed List structure.
Clicking this link opens the SeedListPopulationRD Report Definition, which represents the structure
utilized by the Seed List editor. If desired, administrators can directly modify this Report Definition to
update the columns visible in the Seed List editor. However, any manual updates to this Report Definition
will be overwritten when the Update Seed List Columns button is used on the landing page.
Exclusion List
Use exclusion lists to prevent Pega Customer Decision Hub from initiating outbound actions for a specific
set of customer entities. For example, you can set up an exclusion list for customers who opted out of
receiving notifications, customers who unsubscribed from your newsletter, or customers whose email
addresses are invalid.
If you specify an exclusion list of customers, Pega Customer Decision Hub checks it during action initiation
and wait expiration for outbound channels. Actions for customers on the exclusion list are not initiated or
continued.
Exclusion lists are not applied to actions that are initiated through real-time containers and inbound
channels.
1. Create a Segment for customer entities who should be excluded from contact.
Both Criteria and List Segments can be used as exclusion lists. For more information about Segments,
see Segments.
2. In App Studio, click Settings > Context Dictionary.
3. Click the Configure icon for the context where you want to enable the exclusion list.
4. In the Exclusion list field, select the Segment which you created in step 1.
5. If your Next-Best-Action Designer configuration includes Real-Time Events, edit the configuration and
save it to regenerate the underlying data flows.
1. In App Studio, click Settings > Channels > SMS > Outbound.
2. Click the Edit icon by the Default account to configure it.
3. In the Setup tab, fill out the required connection details:
• Host Address - The address of the SMS center host, for example, my.smsc.com.
• Host Port - The port number of the SMS center host, for example, 1041.
• User ID and Password - Authentication credentials for the SMS account.
• Test Number - The number which is used to receive test messages for this account.
• Sender's Number - The number which is displayed as the sending number for messages sent from
this account.
4. Optional: In the Maximum Connections field, enter the maximum number of connections available
at the same time.
5. Optional: Select Track delivery receipt to enable delivery receits. For more information, see
Configuring SMS Delivery Receipts.
6. Optional: Set Delivery mode to Asynchronous to send messages in bulk using the asynchronous
option.
7. Optional: In the Account Availability section, specify delivery time frames for SMS messages related
to actions.
Select one of the following options:
• Always Available - The account is always available to deliver messages.
• Specify Range - The account only delivers messages during the specified time range. Specify the
following value for the time range:
◦ From - Start value for the time range, for example, 9.00 AM
◦ To - End value for the time range, for example, 7.00 PM
◦ Time Zone - Time zone for the start and end time values. By default, Pega Customer Decision
Hub uses the time zone of the current user.
Note: Delivery time frames do not apply to messages which are not related to actions, for
example, work object-related notification.
8. Optional: In the Advanced tab, configure advanced account settings, such as response timeout,
character encoding, and reconnect options.
9. Optional: In the Additional settings tab, specify the name and value for any additional SMPP
configuration settings which are not available in the Setup and Advanced tabs.
Note: After configuring the new SMS account, select it as the delivery account the Send SMS
and Send Multi shapes in the actions where you want to use the non-default SMS account for
messaging.
1. In App Studio, click Settings > Channels > SMS > Inbound.
2. Click Add connection.
3. In the Connection Setup tab, fill out the required connection details:
• Account name - A unique name for the inbound SMS account, for example, InboundSMSMain. The
name must contain only letters and numbers.
• Host address - The address of the SMS center host, for example, my.smsc.com.
• Host port - The port number of the SMS center host, for example, 1041.
• Inbox address - The address of the SMS inbox on which Pega Customer Decision Hub should listen
for responses.
• IP address - The IP address of the SMS center host.
• User ID and Password - Authentication credentials for the SMS account.
4. Optional: In the Additional settings tab, specify the name and value for any additional SMPP
configuration settings which are not available in the Connection Setup tab.
5. In the Response behaviors tab, specify how the application should process inbound SMS messages.
a. Optional:
Optional: Specify what type of messages this inbound SMS account will receive.
The following options are available:
• Messages and delivery receipts - The SMS account can receive incoming messages, as well as
delivery receipts for SMS messages which Pega Customer Decision Hub sends to Customers.
• Delivery receipts only - The SMS account can receive only delivery receipts.
For more information, see Configuring SMS Delivery Receipts.
b. Select how Pega Customer Decision Hub should match received messages to responses:
• One response - Select this option to assign the same action and response value for all SMS
messages received on this account.
• Decision table - Select this option to select one or more decision tables which associate the
received message with a positive or negative action response. Each result from the decision table
can be associated with the same action or with different individual actions.
c. Configure the necessary settings for matching received messages to responses.
• If you selected the One response option, in the Responses for inbound messages section,
select an action and a response. Depending on the selected response, all incoming messages are
treated as either acceptance or rejection for the selected action.
• If you selected the Decision table option, in the Manage decision tables section, configure
how the incoming messages should be matched to actions, and then select the decision table for
parsing the response. For more information, see Using Decision Tables to Manage SMS Action
Responses.
d. Specify how Pega Customer Decision Hub should process responses to actions which are not active
for a given Customer:
• Push it to a workbasket – Select this option to prevent Customers from responding to actions
which are not active for them. Responses to inactive actions are treated as an error and
moved to the UnhandledInboundSMS workbasket for further processing. You can access this
workbasket in the Case Manager portal.
• Start the action for the customer – Select this option to initiate a new action for the Customer
if they respond to an action which is not active for them.
6. Click OK.
7. Toggle the control in the Running column to start listening for incoming messages.
The Connection status column indicates the current status of the account.
1. In Dev Studio, configure a decision table in the PegaMKT-Work-Offer class. Below are some
considerations for accessing message and Customer data in decision tables:
• Customer data is available through the .Customer page property under the action class.
• Inbound message data is available through the .InboundResponseData.SMS page property under
the action class. The .InboundResponseData.SMS page includes properties for the incoming
number (.SourceNumber) and the message content (.MessageBody).
• The below screenshot shows a predefined InboundSMSParsingSample1 decision table, which you
can use as template to create your own decision tables.
Note: If you want to use more than one decision table, do not specify a return value for
the otherwise row in the decision tables. Leaving the otherwise row blank allows Pega
Customer Decision Hub to move on to evaluating the next decision table in the list.
2. In the Manage decision tables section of the Response behaviors tab, select one of the following
options:
• One action – Select this option if all messages received on this account should be associated with a
single action.
• Individual actions – Select this option if this account receives responses to multiple actions. In this
case, specify each action name alongside the response value in the decision table grid.
3. Optional: If you selected the One action option, use the Action field to specify the action with which
all incoming messages should be associated.
4. Select a decision table and click Add decision table.
5. For each decision table result, select the response value and, if applicable, an action name.
1. In App Studio, click Settings > Channels > SMS > Outbound.
2. Edit or create an outbound SMS account for which you want to enable delivery receipts.
3. On the Setup tab of the SMS account, select Track delivery receipt.
4. Click Settings > Channels > SMS > Inbound.
5. Edit or create an inbound SMS account which corresponds to the outbound SMS account where you
enabled delivery receipts.
The inbound account must have the same connection setup data as the outbound account.
6. On the Response behaviors tab, specify what type of messages this inbound SMS account will receive.
• Messages and delivery receipts - The SMS account can receive incoming messages, as well as
delivery receipts for SMS messages which Pega Customer Decision Hub sends to Customers.
• Delivery receipts only - The SMS account can receive only delivery receipts.
Push Notifications
Push Notification is a mechanism by which a server sends (pushes) a message to the client. In terms of
mobile apps, the push notification mechanism can be used by an app to send notification messages to its
users.
Pega Customer Decision Hub currently provides support for sending push notifications to apps running
on the following platforms:
• Android - Using Firebase Cloud Messaging for Android (FCM) https://firebase.google.com/docs/cloud-
messaging/
• iOS - Apple Push Notification Service https://developer.apple.com/library/archive/documentation/
NetworkingInternet/Conceptual/RemoteNotificationsPG/APNSOverview.html
Refer to the above links for more details on each of these services.
The following table lists the various roles involved in the push notification process along with their
responsibilities:
Setting Purpose
Setting Purpose
Server Key Server key for this app. This value should be
provided by the app developer and is required for
using the FCM service.
Setting Purpose
App Apple .p12 certificate for this app. Use the Choose File button
Certificate to locate the certificate.
Click Submit to create the new app and the associated platform variant.
The configured variants for an app can be viewed via the expand pane icon, located to the left of the app
name.
Provide a value for Test Push Token and click the Test button to send the test push notification message.
A push token uniquely identifies the installation of an app on a particular device. The app developer
should be able to provide you with the push token associated with the test device.
The system displays the status of the test message in the Test Result field.
The test message is delivered (as a push notification) to the app on the test device. The following image
shows the test notification, as received for a sample app running on the Android platform:
Note: The Remove action is disabled on a variant once app users have been registered to receive
notifications for it.
General Configuration
The following general configuration options are available in the General section of the properties panel
for this shape:
Name Purpose
Application Configuration
The following settings are available in the Application Configuration section of the properties panel for
this shape:
Name Purpose
Name Purpose
Wait Determines whether flow execution should wait after pushing the
notification message. When this is enabled, the user can specify the
duration for the wait by setting the properties below appropriately.
Name Purpose
Set Badge
The Set Badge? option (in the Additional Details section of the properties panel) allows users to set a
numeric badge value along with the notification message. This value only has an impact if it's supported
by the app platform. For example, in iOS, the badge value is shown as a number on the app's icon. The
Badge Value field can either be a static number or a numeric expression.
Registration Service
The registration service is a REST service that supports the POST HTTP method. The URL for this service is:
http://<host>:<port>/prweb/PRRestService/PushNotification/Registration/Register
For the request, this service expects a JSON object having the following structure:
{
"AppVariantID":"<AppVariantID>",
"PushToken":"<PushToken>",
"UserID":"<UserID>"}
Un-registration Service
The un-registration service is a REST service that supports the POST HTTP method. The URL for this
service is:
http://<host>:<port>/prweb/PRRestService/PushNotification/Registration/
Unregister
For the request, this service expects a JSON object having the following structure:
{
"AppVariantID":"<AppVariantID>",
"PushToken":"<PushToken>"}
Marketing Profile
Marketing Profile is a way of describing a customer categorically so that they can be grouped for
marketing purposes. This includes a set of characteristics that identifies the customer and their value to
the organization. This profile also includes a quick glance of the interaction between the customer and the
organization.
Marketing Profile is accessible in the Pega Customer Decision Hub portal via: Reports > Customer Profile
When initially launched, the Marketing Profile simply contains a search box. Users can use this box
to search for the desired customer either by the customer’s name or ID. Upon searching, the system
presents a list of matching customers. Users can select the desired customer from this list to view that
customer’s profile.
Marketing Profile can also be used to search for and review anonymous customers. Refer to the Identity
Matching and Marketing Profile section in the Identity Matching chapter for details.
Profile Elements
This section outlines the various elements of a customer’s Marketing Profile. This includes the following:
• Customer Details
• Customer Dimensions
• Customer Demographics
• Propensity Scores
• Engagement History
Customer Details
This section provides basic information about the customer such as their name, image, gender, address,
and email.
In addition to basic information, this section also presents a view of the customer’s segmentation, i.e. the
Segments to which this customer belongs. In our example, the customer is a member of five different
Segments.
The customer segmentation view provides the user with a quick insight into the customer’s categorization.
This information can be useful when determining how to appeal to a particular customer.
The Segments list for a customer does not display virtual Segments.
Customer Dimensions
This section provides the user with a visual overview of the customer’s performance across various
dimensions including Lifetime Value, Churn Risk and Credit Risk.
The scores on each of these dimensions are visually indicated and are also classified into high (H),
medium (M), and low (L).
In addition, the recommended next best action for this customer is also displayed.
Customer Demographics
This section displays basic information about the customer. This information is further categorized into:
• Communication – Customer’s email address and mobile phone number
• Demographics – Customer’s age, gender, and income
• Social Handles – Customer’s handle on various social media outlets
Propensity Scores
This section displays the customer’s propensity scores for the top three actions for the customer.
Propensity is the likelihood that the customer will accept the action.
Engagement History
This section presents an overview of the customer’s engagement with the organization. The top of this
section contains a visual breakdown of this engagement, in terms of customer interactions, impressions,
and the actions taken by the customer.
In addition, the interactions count is further broken down into the various communication channels (such
as Email, Web, etc.), as shown below:
Finally, this section also presents a summary of the customer’s engagement. This information is displayed
in a chronological order, with the most recent engagement at the top. For each engagement, the icon
on the timeline indicates the channel of communication. Additionally, if the engagement resulted in
an impression or the action being taken, this is indicated via the appropriate colored dot next to the
interaction date.
Users can utilize the calendar icon to specify a different time period for the timeline.
Furthermore, users can click the engagement circles to filter the timeline to the specific engagement type
(e.g. Impression or Action Taken).
Data Management
Pega Customer Decision Hub enables marketers to manage customer and associated data through the
Data Management landing page.
To access the Data Management landing page, log in to the Pega Customer Decision Hub portal as a user
with the DataAnalyst role in your user group. In the navigation panel, click Data > Data Management.
The Data Management page opens. Click the Manage Data link for a particular customer entity.
Upon clicking this link, the Data Management landing page opens in the context of the launching entity
(e.g. customer). Marketers can utilize this landing page to perform the following actions:
• View and search for instances
• Manage individual instances
• Import instances
• Export instances
When the landing page initially opens, it displays the Default view. This view displays all externally mapped
properties for the data type. In this view, the first column in the grid is the key property of the data type.
The Default view for the customer entity has an additional feature. Marketers can click the link value in the
first (key) column in the grid to open the Marketing Profile for the corresponding customer.
Implementers of the application can define other views to use with their data types. Marketers can see the
list of available views in the drop-down above the header and can switch to a different view by selecting it
in the drop-down and clicking the View button.
Note: Each view is backed by a Report Definition in the entity's data class. For a Report Definition
to be available as a data view, it must have a custom field defined with the field name set to
DataManagement and the value set to Views.
Marketers can also search for particular instances by specifying the desired text in the search input field
above the grid and clicking the magnifying glass icon. The system performs the search across all columns
in the current view and displays the results in the data grid.
Marketers can also refine grid contents by using column filters.
• Delete an instance - To delete an instance, click the delete icon at the end of the row.
Access to add, modify, or delete data instances is managed by standard Pega Platform security constructs.
Administrators can utilize these constructs to grant or restrict access as needed.
Importing Instances
Marketers can utilize the import mechanism on the Data Management landing page to import multiple
instances using a comma-separated-values (CSV) file.
To initiate an import, click the Import link above the instances grid.
Note: The Import link is disabled if a data import is already in progress for the data type.
At a high level, the import process has the following three steps:
1. Upload CSV file and select one of the following import purposes:
a. Add or update - Use this option to create new records for those instances in the import file that
don't currently exist in the system, and to update records for those instances that do exist.
b. Add only - Use this option to only create new records for those instances in the import file that
don't currently exist in the system. Records for existing instances will not be updated.
c. Delete - Use this option to delete matching records from the system.
2. Map fields - Select the field to use for matching records and specify the mappings for all fields to
import.
3. Import records - Trigger the import process. Optionally, choose to save the specified field mappings for
subsequent imports.
Note: The import process utilizes the Data Management functionality of the Pega Platform. Use
the help icon in the wizard to launch the help topic for details on this process.
When importing large files, the import progress can take some time. Marketers can close the import
window and continue with other activities. The system displays the status of the import at the top of
the Data Management landing page. Once the import completes, the system displays the number of
instances that were added or updated by the import. If there were errors during the import, the number
of erroneous records is also shown.
Click the See more link to download a CSV file containing the records which failed to import. The last
column in this file contains a description of the error that occurred.
Exporting Instances
Click the Export link above the instances grid in the Data Management landing page to export a CSV file
containing data instances represented by the currently selected view.
Revision Management
Revision Management is a Pega Platform feature that enables business users (such as marketers) to take
ownership of parts of the enterprise application.
Revision Management is a feature that allows small incremental business led changes to be made to the
enterprise applications. Business users (such as marketers) can make, test and deploy changes via a safe,
controlled change management process. Revision management changes are made within the business
sandbox via an application overlay which allows IT to control what types of business changes are possible.
Revision Management enables marketing users to revision, package, and import marketing artifacts. The
DecisionManager:PegaMarketing role facilitates Revision Management in the Pega Customer Decision
Hub portal. This role is automatically added to the RevisionManager and StrategyDesigner access groups
for overlays created for Pega Customer Decision Hub applications.
Most marketing artifacts can be included and updated in revisions using the processes described in the
Revision Management guide. Revision managers can start a new Revision and create Change Requests
within the Revision. A Change Request can contain marketing rules and can be assigned to a marketer.
The My Work widget (shown below) and the Revision Management widget enable marketers to view their
assigned Change Requests.
This widget displays Change Requests that are assigned to the user and lists each rule within the request.
Users can click Edit to open the rule directly from the widget.
Users can directly open these rules from the grid shown above. Unlike other rule types, these rules
will need to be checked out before they can be updated. Once the rule has been updated, it should be
checked back in.
These rules can be managed in the following two ways:
• Included with an existing Revision
• Packaged directly
No special action is required to package these rules as they will be included in the revision package which
is generated upon completion of the Revision.
Packaged directly
Even when there isn't an active Revision, users can open and modify Segments and Samples. In such a
case, once all modified rules have been checked in, revision managers can utilize the Package rules...
button to package these rules directly from the Segmentation tab in the Revision Management landing
page.
Clicking this button automatically generates a Revision, completes it, and makes the revision package
available.
After the import is complete, the following actions are recommended for such packages:
• Run imported Segments and Samples to apply the latest definitions.
• Review imported Volume Constraints and determine if any of the manually reset constraints should be
reset.
Note: For marketing rules that support scheduling (Segments, Samples, Analysis Projects, Output
Templates), the import process retains the schedule configuration (if configured) on the destination
environment.
Understanding the relationship between Pega 1:1 Operations Manager and Revision Management
Pega 1:1 Operations Manager extends the standard Revision Management capabilities of Pega Customer
Decision Hub and the Customer Decision Hub by providing a simple process where a business-as-usual
change request is triggered by a non-technical team member with the use of a transparent user interface.
In this way, Pega 1:1 Operations Manager makes it possible to quickly record and process standard, high-
volume change requests related to actions.
Pega 1:1 Operations Manager uses the same flows and activities as standard Revision Management.
Because of that, it seamlessly integrates with Revision Management and complements normal Revision
Management operations. For example, if a change request is withdrawn or rejected in Pega 1:1
Operations Manager, the status also changes in Revision Manager. If a revision is withdrawn or rejected in
Revision Manager, the status change is reflected in Pega 1:1 Operations Manager.
Note: Pega 1:1 Operations Manager does not support fast-track revisions. To manage emergency
high-priority or emergency rule changes, use the fast-track capacity provided by Revision
Management.
1. Log in to Pega 1:1 Operations Manager as a user with the <your implementation
application>:BusinessUser access group.
The default portal for the <your implementation application>:BusinessUser user group is the 1:1
Operations Manager portal. For more information, see the Pega 1:1 Operations Manager Implementation
Guide on the Pega Customer Decision Hub product page.
2. In the left navigation bar, click Create.
3. In the Create change request window, select whether you want to create a new action, update an
existing action, or whether you are unsure at this time, and then enter a description of the request.
For example: Create a new action which promotes the Platinum Credit Card to
customers who are part of our loyalty program.
4. Click Create.
5. After you create the request, you can view it in the My change requests table on the Home page of the
Pega 1:1 Operations Manager portal.
Pega 1:1 Operations Manager creates the change request and sends it by email to a user with the <your
implementation application>:TeamLead user group.
1. To view all your pending change requests, log in as a user with the <your implementation
application>:TeamLead access group.
2. In the To do section of the 1:1 Operations Manager Home page, click Go next to the request which you
want to review.
3. Review the request details in the panel on the left.
4. To view the business reason specified by the user who created the request, expand the Business
reasons menu.
5. In the Score field, enter a numerical value between 1 and 100.
Use the score value to prioritize actions. For example, a score of 50 can indicate medium priority and a
score of 100 - critical priority.
6. Approve or reject the change request by performing one of the following actions:
• To approve the request, click Approve.
• To reject the request, click More > Reject.
7. Optional: If you chose to reject the request, specify the reason for rejection.
If the request is approved, it is moved to the Plan stage, and sent back to the user who created it.
1. After you receive a notification email that your change request was approved, log in as a user with the
<your implementation application>:BusinessUser access group.
2. In the To do section of the Pega 1:1 Operations Manager Home page, click Go next to the request on
which you want to work.
3. Review the request details on the Details tab and adjust them as required, for example, to provide
more information about the action.
4. In the Eligibilities tab, select the conditions under which the action can be offered to customers.
For example: An action can be offered only to customers who signed up for a loyalty card.
5. In the Channels tab, describe the treatments which you want to be associated with the action.
For example: Provide the text for the web ad or ads which you require, and describe their placement
on the web page.
6. Click Finish.
7. In the Rank field, indicate the request priority by entering the rank for the change request.
8. Click Submit.
The request advances to the Build stage. A user who has the necessary access rights to work on the tasks
required to complete the request may now start working to build the necessary changes. If needed, Pega
1:1 Operations Manager creates an application overlay and matching revision for the work.
1. To view all your pending change requests, log in as a user with the <your implementation
application>:NBASpecialist access group.
2. In the To do section of the 1:1 Operations Manager Home page, click Go by the request which you want
to review.
3. Review the request details and the required Build tasks.
4. Complete the required tasks.
Rules are locked as you work on them, to prevent multiple users from working on the same rule or
task. As you complete each task, matching rules are generated and saved into the application overlay
ruleset and revision.
The request advances to the Test stage. By default, the 1:1 Operations Manager completes the Test stage
immediately, because the stage does not contain any built-in tasks. In future versions of Pega Customer
Decision Hub, a default testing process will be implemented. You can also edit the Change Request
case type and add additional approval logic. For more information, see the Pega 1:1 Operations Manager
Implementation Guide on the Pega Customer Decision Hub product page.
1. To view all your pending change requests, log in as a user with the <your implementation
application>:TeamLead access group.
2. In the To do section of the 1:1 Operations Manager Home page, click Go by the request which you want
to review.
3. Review the list of rules which were created or edited for the change request.
4. To send the revision to a revision manager, click Submit.
The revision with the change request can now be deployed to production according to the standard
Revision Management process. The change request is resolved. To view it, click Change requests in the
left navigation pane of 1:1 Operations Manager, and then click Closed.
Identity Matching
Identity matching is a feature that allows a Pega Customer Decision Hub application to identify individuals
across their addressable devices. This feature also enables a seamless transition between an anonymous
individual and a recognized customer.
When an individual is anonymous (e.g. not logged in), relevant information is captured during their
various interactions with the application. This information can then be utilized to determine the Next-
Best-Action for this individual. When the individual authenticates themselves as a customer, their
anonymous interaction data is merged with their previous interaction history. This allows the marketing
application to maintain a complete view of the customer journey.
Identity matching is incorporated in the following functional areas:
• Email
• Real-Time Containers
Identity matching utilizes browser cookies to store identifying information. For individuals yet to be
identified, a unique id is stored in the cookie. Once an individual has been identified as a customer, their
(encrypted) customer id is stored. During the individual's interactions with the application, additional
data is collected and associated with the appropriate identifier (customer id or unique id). The captured
associations are specific to the functional area and are listed in the corresponding section.
• CustomerID to IP Address
Additionally, identity matching is implicitly performed by the following Real-Time Container services:
• Container - Only for the Web channel
• ExecuteWebContainer
When this checkbox is checked, the search looks for anonymous customers using their unique identifier.
Upon clicking the link for the anonymous customer, their interaction details are displayed.
At a later point, if the anonymous individual identifies themselves as a known customer, the anonymous
interaction details are merged with the customer's interaction history. Searching for the anonymous
individual (by their unique id) now reveals the identified customer in the search results.
For example, Next-Best-Action may determine that based on an interaction in the call center, an individual
named Troy Murphy has a high propensity to accept a UPlusBank Travel Credit Card offer from his bank,
the UPlus Bank. Paid Media Manager adds Troy to an audience, for example, UPlusBank Travel Credit
Card – High Priority, on each ad platform. Within each ad platform these audiences are configured to be
targeted with the appropriate advertising creative for the action. The maximum bid amount for the add
click or impression can also be aligned with the priority of that action for each individual.
The result is that soon after the interaction in the call center, Troy's Next-Best-Action is updated across
major ad platforms. He is targeted with Travel Credit Card advertisements across major media properties
that he interacts with regularly, such as Facebook, Instagram, YouTube, and Google Search.
In this way each known individual, including customers and prospects, can be targeted with ads based
on individual-level decisioning rather than audience-based rules. These decisions and the model-based
learning which powers them can run on the full fidelity of enterprise data within the firewall. Only the
action-based decision is communicated to the advertising platforms in the form of individual audience
updates.
This chapter describes how you can use Paid Media Manager to reduce wasted ad spend, increase your
return on ad spend, optimize cost per click, and prospect for new customers on paid media.
For information about configuring the PII mapping, refer to the Pega Customer Decision Hub Implementation
Guide on the Pega Customer Decision Hub product page.
Platform (DSP). Each of these media buying platforms should have a separate destination to account for
differences in paid action priority for an individual across different destinations.
Paid Media Manager provides out-of-the-box support for the Adobe Audience Manager DMP. Paid
Media Manager generates the appropriate traits and audiences within Adobe Audience Manager (AAM)
through the AAM API. After a scheduled run completes, a file is also generated with the audience updates
produced by Next Best Action. This file is delivered via S3 bucket or FTP to Adobe. Adobe Audience
Manager can take up to 48 hours to propagate these updates to downstream DSPs and other third-party
cookie-based platforms. In addition to Adobe Audience Manager, you can also configure paid destinations
for a generic DMP.
For DMPs, updates are only made in response to scheduled runs and segments.
1. In the Pega Customer Decision Hub portal, click Audiences > Segments.
2. Open a segment.
3. Click the Paid sync tab.
4. Click Add paid destinations.
For CRM S2S-based destinations, such as Facebook Ads, Google Ads, and LinkedIn Ads, each segment
update triggers a corresponding audience update. For web-based destinations, the updated segment
information is available when the Paid Audience Web service is called. For Data Management Platform
destinations, scheduled runs trigger the updates.
You can view the synchronization status for each destination in the Status column. Click a row for more
details.
Errors in Paid Segment processing are recorded as Paid Notification work objects. For more information,
see Errors and Warnings.
If you disable Paid Sync for a Segment, audiences created from that segment are deleted from the Paid
destination during the next synchronization.
sometimes saw ads which were not relevant to him, for example, ads for the same type of checking
account which he already had.
After UPlusBank extends their Next-Best-Best-Action to paid channels, information about each individual's
Next-Best-Action is communicated to Facebook Ads. Individuals are placed into custom audiences, with
each audience consisting only of individuals who are eligible for a particular offer. Each audience is
associated with an ad set, which contains one or more ads for the offer. One of Troy's Next-Best-Actions is
determined to be a cashback credit card offer, so he is added to the Sales-Usage-CashBack1 audience set,
which is targeted with an ad set configured with associated advertisements.
As a result, Troy now sees an ad for the cashback credit card in his Facebook feed.
The below tasks describe how to configure Paid Media Manager so that it can create audiences based on
the offer eligibility data you have collected in your Pega Customer Decision Hub application.
• Real-time containers - You can use real-time containers to manage content which appears in
real-time channels, such as web and mobile. For more information, see Real-Time Containers.
If you enable paid processing for real-time containers, whenever the real-time container service
runs, another real-time container run is triggered with the same JSON request data except for the
Channel, which is set to Paid.
For example, if a real-time container called NextBestAction is triggered for the web channel, it can
generate a JSON request object with the following data:
{
"ContainerName" : "NextBestAction",
"Channel" : "Web",
"Direction": "Inbound",
"CustomerID": "CONT -1",
}
If paid processing is enabled, another request is generated with the following data:
{
"ContainerName" : "NextBestAction",
"Channel" : "Paid",
"Direction": "Inbound",
"CustomerID": "CONT -1",
}
The first request returns the Next-Best-Action results as response to the caller. The second request
runs asynchronously. It triggers Next-Best-Action processing specific to the Paid channels, including
the execution of a Paid Strategy if selected, and synchronizes the Next-Best-Action results with
the paid destinations selected in the Next-Best-Action Designer configuration. While the real-time
container runs, flow execution is halted.
• Outbound schedule - In order to make paid audience updates across all known individuals on a
regular basis, for example, nightly, configure Paid for a business issue or group to be updated after
scheduled outbound runs.
Updates to audiences on paid destinations can be triggered by outbound runs. If you enable
this option, each outbound run results in an update to the action-based audiences to which an
individual should belong. The paid audiences are selected based on new offer-based decisions
for each individual in the starting population. For best results, configure a single paid outbound
schedule at the highest applicable level of the hierarchy.
After a scheduled run starts, it generates a single data flow run for all configured paid destinations.
Customer records are sent to destinations in batches and the destination information is added to
customer pages. If a Media Strategy exists, it runs for each destination and updates the available list
of actions. After this, the synchronization ends with either Completed or Failed status.
5. Click Save.
Tip: Refer to the GlobalChannelStrategy when creating your own Channel Strategies. The
GlobalChannelStrategy contains annotations which will help you define your own Strategies.
What to do next: After you apply the Global Channel Strategy for a business issue or group, enable
at least some actions for Paid processing.
1. Create or edit an action, for example, a Credit Card action. For more information, see Actions.
2. On the Treatments tab of the action, select Paid. The action is now enabled for paid destinations.
3. In the paid destination, define the ad creative which should be displayed to individuals in your action's
audience.
The ad creatives are associated with ad sets or ad groups created for the action. Individuals like Troy, who
belong to an audience linked to one of the ad sets, see the ads displayed, for example, while browsing
their Facebook feed or watching videos on Youtube.
Enabling campaign generation for Facebook Ads and Google Ads creates a campaign for each offer. If a
paid strategy is used, an ad set and ad group is generated for each priority level. These priority-specific ad
groups/ad sets can be configured with a max bid aligned with the priority level.
To enable this option for a specific Facebook Ads or Google Ads destination:
Note: The automatically generated ad sets or groups have the same name as the paid audience
with which they are associated.
The association between the generated paid audience and the ad set enables the individual
added to the audience to be targeted with the correct action at the correct willingness to pay.
Altering this association prevents this mechanism from working.
9. Finish the configuration of the automatically generated advertising campaigns in the destination
platform.
1. In the Pega Customer Decision Hub portal, click Intelligence > Strategies.
2. Click Create > Guide me through it.
3. Enter the strategy name, for example, Priority Based Targeting.
4. In the Purpose section, click Configure.
5. Select the Paid optimization objective.
6. Click Apply.
7. In the Optimization section, select the default value of Basic optimization.
The Strategy Builder automatically generates an optimization strategy with predefined settings for the
audience, campaign and ad group or ad set names.
The prioritization is based on a Priority lookup decision table, which calculates the priority value
based on each individual's score. Individuals are then assigned to audiences with matching priority,
and ineligible individuals are filtered out.
8. To edit the default name for each audience, click Edit naming.
9. Select the strategy in the Next-Best-Action Designer.
a. In the Pega Customer Decision Hub portal, click Next-Best-Action > Designer > Channels.
b. In the Media strategy section, click Configure.
c. Select the strategy which you created.
d. In the Paid destinations section, for each paid destination, select the type of bidding results.
For a strategy which uses basic optimization, only the Offer priority bidding result is available for all
destinations. For information about specifying different bidding results per destination, see Reduce
wasted ad spend based on the predicted value of a click.
When the selected strategy runs, the audiences it creates in the destination platform indicate the priority,
which can then be aligned with the willingness to pay for associated ads. High-priority audiences for a
specific action indicate that the action has high priority for the individuals in that audience, and therefore
you may be willing to set a higher max bid for their interactions.
For Troy Murphy, executing the media strategy communicates to Facebook that you are willing to pay
more for his clicks on a loan consolidation offer than for the cashback credit card offer. When he accesses
his Facebook feed, he is now more likely to see the loan consolidation offer instead.
LinkedIn. In this way, you can bid more for the individual on the destination where they are more likely to
interact with your message.
The service supports the POST HTTP method. The website to which an individual is redirected when they
click the URL must contain JavaScript that fetches parameters from the click URL and passes them to the
CapturePaidResponse service.
For the request, the service expects a JSON Object with the following attributes:
• CustomerID - Used to identify individuals based on information captured during their interactions
with the destination. For individuals yet to be identified, a unique id is stored in a browser cookie.
Once an individual has been identified as a customer, their encrypted customer id is stored. For more
information, see Identity Matching.
• ExternalAudienceId - For ad platforms other than Google Ads and Facebook Ads, this parameter is
instead used to associate an ad to a specific audience and find the action corresponding to the ad.
Configure the click URL of the ad to include the ExternalAudienceId. You can see the ExternalAudienceId
for each audience in the AUDIENCE KEY field on the Paid Media Audiences landing page.
• AccountId - The ID of the paid destination.
• ReferrerUrl - The HTTP referer of the requested website.
• Source - The site which sent the request.
• Utm_medium - The type of link which was used.
• AdSetID - For Facebook Ads and Google Ads, include the AdSetID parameter in the click URL. For
Facebook Ads, the AdSetID parameter corresponds to adset_id; for more information, see About URL
parameters. For Google Ads, the parameter corresponds to {adgroupid}; for more information, see
About ValueTrack parameters. The parameters identify the ad set for which the ad is created, and
identify the action corresponding to the ad.
• DestinationType - For Facebook Ads and Google Ads, this parameter identifies the destination type.
An example POST request is below:
{ "CustomerID":"TestID31265",
"ExternalAudienceId":"90a6",
"AccountId" : "facebook_test_ac",
"ReferrerUrl": "facebook.com",
"Utm_medium":"Banner Ad" ,
"AdSetID":"TestAd85372",
"DestinationType":Facebook
In order to update which ads an individual is targeted with after they have accepted an offer, real-time
container execution for paid media is triggered asynchronously if the request contains the container
name and the response corresponds to a final stage, such as Accepted or Rejected.
The priority for the CPC bidding model is determined by the out-of-the-box adaptive model
CPCIncrementalLift. The model determines the individual's propensity to accept an offer if they clicked on
that offer by comparing adaptive analytics data from individuals who clicked an ad for that offer to the
omni-channel propensity determined by the full set of adaptive analytics. The difference in propensity
is called the incremental lift. The CPC bidding model uses that lift to align the willingness to pay with the
value which the ad spend generates per individual.
The CPCIncrementalLift model is based on data captured by the CapturePaidResponse service. You must
implement CapturePaidResponse in order for the model to work correctly. For more information, see
Reducing wasted ad spend based on destination-specific interaction results.
1. In the Pega Customer Decision Hub portal, click Intelligence > Strategies.
2. Click Create > Guide me through it.
3. Enter the strategy name, for example, CPC Based Targeting.
4. In the Purpose section, click Configure.
5. Select the Paid optimization objective.
6. Click Apply.
7. In the Optimization section, select Destination specific optimization.
8. Select CPC.
9. Optional: Click Add bidding result to specify another bidding model. This can be used to define
different bidding models for different paid destinations.
10. To edit the default name for each audience, click Edit naming.
11. Select the strategy in the Next-Best-Action Designer.
a. In the Pega Customer Decision Hub portal, click Next-Best-Action > Designer > Channels.
b. In the Media strategy section, click Configure.
c. Select the strategy which you created.
d. In the Paid destinations section, for each paid destination, select the type of bidding results.
When the selected strategy runs, the audiences it creates in the destination platform indicate how much
the click from an individual in that audience would increase the individual's priority to accept the offer.
High-priority audiences have higher expected business value, and therefore you may be willing to set a
higher max bid for their interactions.
For Troy Murphy, executing the media strategy communicates to Facebook that if he clicks an ad for the
Platinum credit card, he has a very high priority to accept that offer. When he accesses his Facebook feed,
he is now more likely to see ads for the Platinum credit card.
What to do next:
For more information about Facebook lookalike audiences, see Lookalike Audience.
What to do next: For more information about Google similar audiences, see About similar audiences
on the Display Network.
1. Ensure that your application can both send and receive data from Facebook.
2. Obtain a Facebook Ads access token with the following permissions:
• manage_pages
• leads_retrieval
3. Request the leads_retrieval and manage_pages permissions for Facebook Ads Lead Retrieval API and
submit your app to App Review. These permissions are necessary to retrieve lead information once a
lead ID is received from Webhooks.
4. In the Facebook Ads destination configuration, enter the access token and select Enable Lead
Generation. Auto-generated Webhook URL and token appear.
5. In Facebook Ads, configure the Webhook URL and token, and subscribe to lead generation. For more
information, refer to Facebook Ads documentation.
6. Optional: If you changed the field names in the Facebook lead form, edit the data transform
PegaMKT-Data-PaidMedia-LeadAdResponse.FacebookFieldMapping.
7. Optional: Modify the default activity that saves captured leads to better integrate it
with your lead handling process. The name of the activity is PegaMKT-Data-PaidMedia-
LeadAdResponse.ProcessProspect.
What to do next: Captured leads are saved in the database table mkt_paidmedia_leads in the Pega
Customer Decision Hub database schema. Ensure that expired prospects are removed from the table
to prevent it from growing over time.
Reference
This section contains information for administrators.
Status
The status of the synchronization job. Possible statuses include Pending, Running, Completed, and
Failed. If the synchronization job completed with errors, expand the row to view more information.
Destination
The name of the paid destination of the synchronization job.
Start
The time when the synchronization job started.
End
The time when the synchronization job completed or failed.
Type
Indicates whether the synchronization job was triggered by Next-Best-Action, segment update, or
background procesing by an agent. To filter the job table by a specific synchronization type, use the
drop-down list above the table.
Details
Depending on the type of the synchronization job, this column shows the name of the Next-Best-
Action hierarchy level, customer segment, or agent which triggered the synchronization.
Errors that occur during Segment-based runs are logged as work objects of the type PegaMKT-Work-
PaidSync. The paid sync errors are displayed in the Paid Sync tab of the Segment for which they were
recorded.
If an error occurs, confirm that your account in the integrated platform is properly configured and
activated, then resolve the error work object before triggering another paid run.
Errors displayed in the Next-Best-Action Designer come directly from the integrated external system. If
you cannot resolve the problem yourself, contact the product team for your advertising platform.
To generate Paid Notification work objects, update the following Data transform rules:
• Data-Party-Operator – MarketingAdministrator
• Data-Party-Operator - MarketingAnalyst
For both rules, set the property pyWorkPartyUri to the operator ID used by your Marketing Administrator
and Marketing Analyst.
User Preferences
User preferences are accessed via the Preferences item in the operator’s drop-down menu.
Marketing-specific user preferences are listed in the Pega Customer Decision Hub preferences section
of the Preferences dialog and include the following:
Administrative Settings
This appendix outlines the various application configuration options that are available for the
administrator to configure the marketing application. These settings should be configured as part of
setting up the marketing application and can be adjusted later, as the need arises.
The Application landing page is available only to marketing administrators with access to App Studio, and
lists various configuration options. This landing page is accessible in the Pega Customer Decision Hub
portal via Settings > Application or Configuration > Settings > Application Settings. If you access it
from the Configuration > Settings menu, the Application Settings landing page works in read-only mode.
To change any of these settings, click the Edit button on the particular setting’s landing page. In edit
mode, click Save to save and apply your changes to the settings; or click Cancel to discard your changes.
Note: These settings are stored in a node-level data page. Any changes made to these settings
on a particular node should be immediately visible to all processes running on that node. In a
multi-node environment, changes may take up to an hour to reflect across other nodes. In such
situations, it is advisable to manually flush the data page on each of the nodes after changing these
settings. To do so, open the Declare_MKTSystemSetting data page (under PegaMKT-System-Setting)
and click the Clear Data Page button on the Load Management tab.
Configuration Settings
This landing page contains settings pertaining to the overall execution infrastructure.
Batch Size Displays the size (number of records) into which back-end
processing is batched, in order to leverage performance
improvements from vertical and horizontal scalability.
Output File Displays the default format to be applied to date fields in a File
Date Format Template.
Note: Exercise extreme caution in toggling the Use Decision Data Source setting on a live system.
This setting is propagated to and utilized in the creation of Segment execution data. Toggling this
setting after creation of Segments might necessitate the re-creation of these artifacts.
Artifact Settings
This landing page contains settings pertaining to the behavior and display of artifacts.
Email Responses
Require key codes Specifies whether key code entry is required for
artifacts (such as actions, and treatments). If
this setting is enabled, it will over-ride the user
preference for specifying key codes.
Default Action Expired Page Displays the Rule-HTML-Section rule that will be
used as the default page for Email responses to
expired actions.
Default Action Not Available Page Displays the Rule-HTML-Section rule that will be
used as the default page for Email responses to
actions that are no longer available.
Geofences
Mapping License Key Displays the license key to use for the Google
Maps™ mapping service.
Default Customer Location Properties Displays the properties on the customer class
to be used as the defaults for the customer’s
location (latitude and longitude) when filtering on
Geofences in Strategies.
Any property specified here must be a property on the customer class and must be mapped (via the
external mappings) to a column in the customer table.
Customer Displays the class that maps to the customer data table.
Class Name
Customer Displays the ruleset and ruleset version to use for storing system-generated rules
Class pertaining to the customer class. Ensure that the specified ruleset version is unlocked.
Ruleset,
Version
Seed List Use the Seed List Definition link to view the current Seed List structure. Clicking this
Definition link opens the SeedListPopulationRD Report Definition, which represents the structure
utilized by the Seed List editor. If desired, modify this Report Definition to update the
columns visible in the Seed List editor.
Associated Use the grid in this section to associate entities with the customer class.
Customer
Refer to the implementation guide for guidelines on using a custom customer class and
Data
defining associations between the customer class and external entities.
Use the Manage Data link next to a data entity to launch the Data Management landing
page for that entity.
Note: The name of any database column listed in the External Mapping tab of the customer
classes must not exceed 27 characters.
This landing page also enables synchronization of the Seed List structure with the customer class
structure. For details, refer to the Updating Seed List Columns section of the Seed Lists chapter.
Passbook Settings
In order to use the Passbook functionality and send passes to customers, the administrator must upload
valid certificates into the system. This is done from the Certificates tab of the Passbook landing page.
This landing page is accessible in the Pega Customer Decision Hub portal via: Configuration > Settings >
Channels > Passbook
Administrators must upload the following two certificates:
• Apple Certificate
• Organization Certificate
Setting Description
Certificate Password associated with the certificate. The system will validate
Password this password and will not upload the certificate in case the
password is invalid.
Setting Description
To review an existing certificate or to delete a certificate, use the Open action from the Actions menu to
launch the certificate rule form.
System Health
Pega Customer Decision Hub provides a diagnostic tool for your marketing application called System
Health. System Health allows marketing administrators to quickly review errors and warnings associated
with their marketing application. The System Health landing page is visible only to administrators and is
accessible in the Pega Customer Decision Hub portal via: Configuration > Settings > System Health.
Each time the System Health landing page is launched (or refreshed), the health check is initiated. Once
the check is complete, the results of the check are displayed and resemble the following:
Note: Due to the nature of some of the checks performed (e.g. validating Email and SMS account
connectivity), the System Health check may take some time to complete. During this duration, a
loading screen is displayed. To reduce this load time, administrators should ensure all connection-
related errors and warnings are resolved.
The System Health page displays the following information:
• Last updated date and time
• Errors and Warnings cards
• Errors and Warnings grids
Column Description
Name
Source Actionable area of the system associated with the error or warning. This could be a
landing page, a data instance, a rule form, or a work object. Clicking this field will open
the referenced object or page. In most cases, the administrator should be able to rectify
the failure by making appropriate changes in the opened object or page.
Message Descriptive text that explains the error or warning. For longer messages, use the More
link to view the complete message and the Less link to revert to the abridged view.
The header of each grid displays the total number of items in the grid. Users can also click the header to
toggle the grid view between expanded and collapsed. Additionally, each column in the two grids supports
sorting and filtering.
Each card displays the total number and a breakdown of this total into the following categories:
• Agent
• Channel
• Configuration
• Runtime
Clicking anywhere on a card ensures that the corresponding (Errors/Warnings) grid below is visible. This
may result in the other grid being collapsed.
The agent is not running on any system nodes. Launch the Agent Detail page for this agent.
Administrators can manage (stop and start) the
agent from this page.
The agent has failed and stopped on at least one Launch the Agent Detail page for this agent.
system node. Administrators can manage (stop and start) the
agent from this page.
Optional Pega Customer Decision Hub agents are those that are not tied to core functionality and may
not be utilized in some installations. Typically, these agents perform channel-specific functionality such as
Email, SMS, and Push Notification. Administrators should be aware of the functionality being used by their
marketing application, so they can better assess the true impact of failures in these agents.
Outbound email account could not be validated. Open the email account's rule form and re-test
the connection.
Public Link URL is not specified. Open the Resource URLs landing page.
Administrators should set this URL if their
marketing application utilizes the Email channel.
The specified default destination ruleset version is Open the access group. Administrators should
locked. update instance to reference an unlocked ruleset
version.
The selected customer Email property used to Open the Customer class defined on the
determine the recipient's email address does not Application Settings page.
have external mapping.
Outbound Default Data Source is not configured Open the Configuration Settings landing page
or doesn’t exist in the system tab. Administrators should update the settings to
point to a valid data source.
The default destination ruleset for an access Open the access group. Administrators should set
group is not specified. the Default destination ruleset to their marketing
application’s artifacts ruleset.
The default destination ruleset for an access Open the ruleset. Administrators should add a
group is not locked and no open versions exist for new unlocked version and update the access
the ruleset. group to reference this new version.
Selecting Items
Based on the element being configured and its intended usage, users can either select a single item from
the list or multiple items.
Click Add to include the corresponding item as a selection for the configuration. In the case of a single-
select configuration modal, the Add button is disabled on all other rows once an item has been selected.
To select a different item, first remove the currently added item by either clicking Remove in the item's
row or by clicking the corresponding trashcan icon in the selected items panel.
After adding the desired items, click Apply to confirm your selection changes and close the configuration
window. Alternately, click Cancel at any time to discard selection changes and close the configuration
window.
Note: When a configuration window is triggered from an already open configuration modal
window, the new window slides in. Upon application of selected values or cancellation, the
secondary window slides out and returns the user back to the original configuration window.
1. Optional: If you have not previously enabled categories in your application, enable them with the
Categories toggle.
a. Log in to Dev Studio as an administrator.
b. Click Configure > System > Release > Toggles.
c. Click the Edit icon by the Categories toggle.
d. Set the Categories toggle to ON.
2. Open an artifact where you want to assign a category.
3. Click the View Categories link at the top of the page.
The View Categories link only appears if categories are enabled in your application.
4. Click Add Category.
5. Click an existing category to select it, or click Create new to create a new category.
6. Optional: You can create sub-categories to better organize your marketing artifacts. For example, you
can have a general Sales category, and more specific categories for Sales/Phones and Sales/Tablets. To
create a sub-category, click the Create sub-category icon by an existing category.
7. To filter the artifacts list on the landing page, click the All Categories link and select a category.