Activating and training adaptive models for artificial intelligence
Artificial intelligence in Pega Sales Automation helps you to proactively assess risks on deals in the pipeline, coach newly recruited sales representatives, and identify leads that have a high probability to be converted to opportunities. Before using artificial intelligence insights with Pega Sales Automation, activate the feature for your implementation and then configure the application to train Pega’s adaptive models for artificial intelligence.
Activating artificial intelligence
- In the navigation pane of App Studio, click .
- In the AI Settings configuration set, set the following
options to True using the gear icon:
- Enable AI
- Enable Lead Ranking
- Enable Opportunity Insights
- Enable Sales Coach
- Click Submit.
Enabling the job schedulers
- In the navigation pane of Admin Studio, click
- Enable the following job schedulers:
- OpportunityInsights
- RecommendationsForRep
- DailySnapshotsForLead
- DailySnapshotsForAE
Verifying Decision Strategy Manager (DSM) nodes
- In the header of Dev Studio, click .
- Verify that each of the following services on the list contains a node with a
status of Normal:
- Decision Data Store
- Adaptive Decision Manager
- Data Flow
- Visual Business Director
Importing historical data
- In the header of Dev Studio, click .
- Click Choose File, browse for and select the
HistoricalData file from your distribution
media, and then follow the wizard instructions.
Pega-provided historical data consists of a snapshot of data from a production environment for various models.
Truncating data sets
- In the navigation pane of Dev Studio, click .
- Search for and open the pxDecisionResults data set of the Data-Decision-Results class.
- Click .
- In the Operation field, select Truncate.
- Click Run.
- Repeat steps 2 to 5 for the PreviousStages data set of the SA-SR class.
Deleting existing models
- In the header of Dev Studio, cllick .
- Select all of the models listed below:
- PredictWin
- PredictMoveNextStage
- PredictCloseDate
- BaseWinModel
- LeadRanking
- PredictEffectiveness
- Click Delete Models.
Running the data flows for opportunity insights (B2B selling mode)
- In the navigation pane of Dev Studio, click .
- Search for and open the StoreOpportunitySnapshots data flow.
- Click .
- After you see the confirmation message with a successful result, repeat steps 2 and 3 for the TrainFromHistory data flow.
- Optional: To set up predictors and calculate win score for already existing opportunities and store them in the opportunity predictor table, run the SnapshotAndUpdatePredictors activity.
Running the data flows for opportunity insights (B2C selling mode)
- In the navigation pane of Dev Studio, click .
- Search for and open the StoreIndOpportunitySnapshots data flow.
- Click .
- After you see the confirmation message with a successful result, repeat steps 2 and 3 for the TrainIndvOppFromHistory data flow.
- Optional: To set up predictors and calculate win score for already existing opportunities and store them in the opportunity predictor table, run the SnapshotAndUpdatePredictors activity.
Running the data flows for sales coach
- In the navigation pane of Dev Studio, click .
- Search for and open the StoreSalesRepSnapshots data flow.
- Click .
- After you see the confirmation message with a successful result, repeat steps 2 and 3 for the CaptureEffectivenessOutcomes data flow.
Optional: Running the data flows for lead ranking (B2B selling mode)
- In the navigation pane of Dev Studio, click .
- Search for and open the StoreLeadSnapshots data flow.
- Click .
- Repeat steps 2 and 3 for the CaptureLeadOutcomes data flow.
- Optional: To set up predictors and calculate lead score for already existing leads and store them in the lead predictor table, run the InitialiseLeadPredictorTable activity.
Optional: Running the data flows for lead ranking (B2C selling mode)
- In the navigation pane of Dev Studio, click .
- Search for and open the StoreIndividualLeadSnapshots data flow.
- Click .
- Repeat steps 2 and 3 for the CaptureIndividualLeadOutcomes data flow.
- Optional: To set up predictors and calculate lead score for already existing leads and store them in the lead predictor table, run the InitialiseLeadPredictorTable activity.
Enabling preloaded next best actions (NBAs)
- In the navigation pane of App Studio, click .
- In the AI Settings configuration set, set the following
options to True using the gear icon:
- Enable AI
- Enable Opportunity Insights
- Click Submit.
- In the Toggle Settings configuration set, set Use Preloaded NBA to True using gear icon and click Submit.
- In the navigation pane of Admin Studio, click .
- Search for and enable the GenerateNBA job scheduler.
- Optional: To see the job scheduler changes instantly, run the GenerateNextBestActions activity.
Previous topic Artificial intelligence-based lead ranking Next topic Next best action in Pega Sales Automation