Pages

Showing posts with label Einstein. Show all posts
Showing posts with label Einstein. Show all posts

Thursday, October 13, 2022

Salesforce Einstein Insight


Einstein Account Insight and Opportunity Insight are part of Sales Cloud Einstein. Recently, a few items from Sales Cloud Einstein are added as part of the Unlimited or Performance edition, which includes:

  • Salesforce Inbox
  • Sales Engagement (formerly High Velocity Sales)
  • Sales Cloud Einstein Included, which is: Einstein Opportunity Score, Einstein Lead Score, Einstein Forecasting, and Einstein Automated Contacts.

However, Einstein Insight is not included in the Unlimited or Performance edition. So, you still need to get the additional Sales Cloud Einstein licenses, even if you are in the Unlimited or Performance edition.

So, what is inside Sales Cloud Unlimited and Sales Cloud Einstein permission set?

Sales Cloud Unlimited permission set license
Notice that both Einstein Insights are not in the above permission set license.


Sales Cloud Einstein permission set license

Once you have the license acquired, a few steps need to be performed:

  1. Enable Einstein Account Insights
  2. Enable Einstein Opportunity Insights
  3. Assign users with the "Sales Cloud Einstein" permission set

Once the setup is completed, the system will take up to 24 hours before the initial batch of insights is available, so not all accounts and opportunities will have insights. You will see the insights as a component in the Home, Account, and Opportunity record pages.

How to see records that have Insights?

For opportunity, create a list view and add the "Top Insight" column, additionally, you also can see it from the "Einstein Opportunity Insights" tab, make sure to enable the "Einstein Opportunity Insights" tab for the profile.

For account, unfortunately, we don't have this in the list view (as per Winter 23 release), so only from the "Einstein Account Insights" tab, make sure to enable the "Einstein Account Insights" tab for the profile.

Unfortunately, you cannot run a report to export the insights, so vote for this idea. However, you can query AccountInsight and OpportunityInsight objects, sample:

SELECT Id, AccountId, Title, TrendType, Type from AccountInsight 



SELECT Id, OpportunityId, Rationale, Title, TrendType, Type from OpportunityInsight 




Reference:

Thursday, January 2, 2020

Einstein Lead Scoring: Getting Started

Einstein looks at your company’s past leads, including any custom fields, to find patterns in your successful lead conversion history. Einstein Lead Scoring then determines which of your current leads fit your success patterns best. Each lead receives a score indicating how well it fits your patterns, along with insights about which of the lead’s fields affect its score most.

If you have Sales Cloud Einstein or High Velocity Sales license, then Einstein Lead Scoring is available for you to use.

menu availability depends on the licenses provisioned


Step to enable and configure Einstein Lead Scoring

1. Add Remote Site Settings
example:
Remote Site Name CS41
Remote Site URL https://cs41.salesforce.com

2. Permission Set
You can use the standard Sales Cloud Einstein or High Velocity Sales User permission set, or create a custom permission set and make sure to enable Use Einstein Lead Scoring permission under App Permissions. Assign the users with the Permission Set.

3. Enable Einstein Lead Scoring
Go to the setup menu and type Assisted Setup, it should be under Einstein Sales. Follow the wizard start with set up for Einstein Lead Scoring.






It may take up to 24 hours for Einstein to score the Leads. Once finished, you will get a notification.



You will find Einstein Scoring component available on the Lead Lightning page.




Reference: Prioritize Leads with Einstein Lead Scoring



Tuesday, December 31, 2019

Einstein Prediction Builder: Getting Started

Einstein Prediction Builder allows you to easily build predictions across any Salesforce standard or custom object with clicks, no code! It predicts a field based on a set of historical data.

If you have Einstein Predictions or Einstein Analytics Plus license, then Einstein Prediction Builder is available for you to use, source Einstein Analytics Pricing (as of 31 Dec 2019).



If you org. have Einstein Prediction Builder license, you should see Einstein Prediction Builder in the setup menu.



There is a few blogs have shared on Einstein Prediction Builder use cases and how to configure it:
Einstein Prediction Builder. The Artificial Intelligence by Salesforce
Einstein prediction builder to predict
Einstein Prediction Builder

Einstein Prediction Builder comes with a wizard-style configuration, you need to select an object, a field for prediction, a set of records as "example", and field to store the prediction result.

Currently, it only supports to predict a checkbox field, while the result would be in number between 0 to 100. In summary, here are the steps:

1. Object
Select a Salesforce object you would like to use for prediction.

2. Segment
Do you want to use the whole data of the object for prediction and learning? Select:
- No segment, to use all data, or
- Yes, enter filter of fields to be included
Make sure you have a minimum of 400 records (after filter if you segment the data).

3. Field to Predict 
This is a very important field, Einstein will do the prediction based on historical value of this field, and it needs to be a checkbox or formula that returns checkbox.

In this blog, I have a picklist field called "Status" with value: Sent, No Show, and Attended. No Show and Attended is historical data, while Sent is new records, and Einstein will help us to predict the attendance for all Sent records.

Because it needs to be a checkbox field, let us create a formula field that returns checkbox called "Attend", ISPICKVAL(Status__c,"Attended"), this field will return True if the Status field is Attended.



4. Define a set of data as examples (for learning)
As mentioned that Einstein needs historical data to predict, we need to define historical data for learning. Einstein will not predict records set as examples, but use it to learn the value of "field to predict".

The more samples data (historical) is a better prediction, but make sure to have a minimum of 400 example records, with both Yes and No records should have a minimum of 100 records.


From the above sample screenshot:
- 407 is the historical data for learning, which are records with Status does not equal to Sent
- 188 of them is Yes <-- this means Attend value is True
- 219 of them is No <-- this means Attend value is False
- 3399 records with Status = Sent, this needs to be predicted for the attendance



The below image explains dataset scope:

- Green: whole data in an object
- Yellow: data filtered after segment, data outside yellow will not be used for prediction and learning
- Dark Yellow: historical data set for learning (Status = No Show and Attended)
- Light Yellow: new data set for prediction (Status = Sent)


5. Set a field to store prediction values
Once the predictions enabled, the values will be range from 0 to 100.


Depends on your data size, Einstein may take up to 24 hours to build the prediction, then you can review the scorecard. Once you enable the prediction, Einstein will start to populate the prediction field with a score, including new records.



Reference:



Tuesday, December 24, 2019

Einstein Data Insights: Analyze Reports Data

Einstein Data Insights requires the Einstein Analytics Plus license. Einstein Data Insights analyze your report data and provide you with insights, complete with charts and explanations.

Setup
1. Enable Einstein Data Insights
From Setup, enter Einstein Data Insights in the Quick Find box. Under Einstein Data Insights, click Getting Started.

2. Grant User Access
Users need to have the standard permission set "Einstein Analytics Plus User" or "Einstein Analytics Plus Admin", or custom permission set include the "Can Run Einstein Data Insights" permission.


Analyze Report Data
1. The report must be in tabular or summary report type, matrix and joined report is not supported. If you use the summary report, make sure the "Detail Rows" are shown.
2. Report column: 2 - 50 columns.
3. Report row: 50 - 500,000 rows, even report only display 2,000 rows, einstein will analyze the whole data, not just 2,000 records shown.


Insights button
You will not see the Insights button or the button will be disabled in the report if any of the above criteria are not fulfilled, from the license, user permission, report format, number of rows and columns.



Start Analysis
You can create an analysis by:
- record occurrence
- a number field in the report

Then tell the system if you would like to Maximize or Minimize before analyzing the report, in my case, I would like to maximize Won Opportunities. You will get the analysis almost immediately, depends on the report rows result and number of columns.



Click "learn more" below each box to get the detail of the analysis. You also can click the title to get a bigger view of the analysis.




ReferenceAnalyze Reports with Einstein Data Insights




Page-level ad