Loading
Feature Degradation | Agentforce Voice Read More
Communications Cloud
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Configure a Use Case for Churn Prediction

          Configure a Use Case for Churn Prediction

          Select the machine learning models and feature extractors that you want to use for predicting real-time churn. You can save computed features and prediction results in records.

          1. From Setup, in the Quick Find box, enter AI Accelerator, and then select AI Accelerator.
          2. On the ChurnPredictionRealTime row, click Edit.
            For information about configuring use cases, see Configure Your Use Case.
          3. If you want to save the computed features, the prediction score, insights about the prediction score, and suggestions to improve the prediction score, select Customer Interaction as the primary response object.
            After you map all the required fields of the object, the computed features and prediction results are stored in the Customer Interaction object as per specified field mappings.
          4. If you want to configure a real-time feature extractor, select Minimize_Subscription_Churn_Customer_Interaction as the model and select RealtimeCaseFeatureExtractor as the Apex class.
            To see the sample code of the RealtimeCaseFeatureExtractor Apex class, from Setup, in the Quick Find box, enter Apex, and then select Apex Classes. Open the RealtimeCaseFeatureExtractor class.
            The RealtimeCaseFeatureExtractor Apex class computes case-related features based on the latest case records.

          The churn score that’s used to get recommendations is generated by the AI Accelerator Predictions API. The call to the AI Accelerator Predict API is made by using the Get Churn Score Apex action. The Get Churn Score Apex action uses the class SampleGetChurnScore in the SFI-NBARecommendationFlow. You can replace or extend the SampleGetChurnScore class. To see the sample code of this class, from Setup, in the Quick Find box, enter Apex, and then select Apex Classes. Open the SampleGetChurnScore class.

           
          Loading
          Salesforce Help | Article