AI is a way to model our data and process it in a way that a human would. This could include voice processing, image recognition, recommendations, and/or optimizations. All of these things allow us to automate processes that give us quick and accurate results. In Salesforce, in particular, Salesforce Einstein, AI is used for several things such as automatically capturing sales/customer data, recommending knowledge articles, sending messages when a customer is most likely going to be available, and many other use cases.
Machine Learning
Machine learning is what drives AI. Essentially it is a process of utilizing algorithms to find interesting data patterns (or paths) from training data that you provide. The more training data you have the stronger your data model will be. Training data is defined by a set of attributes and characteristics, but the model is what determines how to make sense of it all. Then a weighted number is assigned to these sets to determine the best set of attributes to solve a problem. The quality of data is very, very important when providing training data as it determines the model. Think of it as a person, when you have more experiences in your life you will make better decisions based on those similar experiences.
Deep Learning
This is almost the same as machine learning except that the algorithms aren’t being given organized data with features and attributes, but rather unorganized data that we still want to find the most important features from. Deep learning works very similarly to our brains in regards that it is structured like a neural network meaning that the paths are less structured and they cross, but still ultimately lead to us making a decision. Take the image below for example as to how many potential paths are possible in just a small training set.
Natural Language Processing (NLP)
Natural language processing is a form of machine learning that uses grammar and language to find patterns. Some awesome use cases of this are sentiment analysis, speech recognition, or answering questions.
Einstein Basics
As we know, AI is something that is embedded in our day-to-day lives currently even though we might not be fully aware, and the same thing is happening in Salesforce. An example of this is the smart assistant that exists in all Salesforce apps which is driven by AI, and it can help any user, in any role, function, and industry.
Then there is the Einstein platform which provides powerful tools for developers and admins to customize a smart assistant for their use-case. This includes natural language processing, voice input recognition, voice output, or even allow it to answer questions (specific or open-ended). Einstein is used to allow users to: discover, predict, recommend, and automate.
Also, there is auto-machine learning (Auto ML) which can allow for tailored predictions. One use case could be predicting how likely a customer is to purchase a product. All you would need is a list of customers who bought and a list of customers who didn’t as well as the associated attributes. Weights will be given to each attribute to predict how likely a customer is to purchasing. Attributes could be things such as length of time as a customer, location, response time, total purchase amount, last purchase date, etc. The more significant a feature is to determining purchase the more accurate your prediction will be.
Salesforce Einstein Prediction Builder
The example here will be used to determine how likely a customer is to show up for their reservation at a restaurant. The reservation options are as follows: completed, no show, and upcoming. We just want to determine which customers aren’t going to show up, but we need training data to determine that. Formula fields are a good way to automatically populate training data. In this example, we will create a formula field checkbox that will tell us if a customer showed up or not based on the value of the picklist.
The next step is determining attributes that have significance on a no show customer and we can do this with a roll-up summary on the Contact object called “Previous No Shows.” This will give us a count of no shows per contact based on the number of times the checkbox created previously returns true. Then we navigate back to the reservation object to create a formula number field called “Previous No Shows”. This field we are going to populate with the roll-up summary field we just created on the contact object to give us some times the contact has missed their reservation.
Finally, let us open up the Einstein Prediction Builder to put all of these new fields to use. A prediction is created on an object which in this case is the reservation object, and it needs a field to predict which in our case is the formula field checkbox created on the reservation object. Also, we need to choose which records einstein should use as examples which we know are going to be all reservations without the status of upcoming.
And of course, we need to choose the attributes that we are basing our prediction on. Also, you need to name the field that will hold the prediction results on your reservation object.
Then finally you click “Build Prediction” which will take a few hours to analyze and start predicting but eventually the field will start holding predictions for you based on prior experiences.
Now you could create a new list view named “Call to Confirm” displaying upcoming reservations with at least a 20% chance of no show according to Einstein. That would look like this:
Einstein Image Classification
To get started with image classification you first must sign up for your Einstein Platform account and add the associated private key to your salesforce org. Then also you must allow the Einstein API in your “Remote Site Settings” within your Salesforce organization as well.
This can get very heavily code-intensive so to break it down there were 5 apex classes and 1 visualforce page created to handle this image classification. Two of the apex classes are called JWT and JWTBearerFlow which both help with authorization. Then you have HttpFormBuilder, Vision, and VisionController which build the REST API request, build the request/calls the API and initiates the API call to return results to the visual force page respectively. The visualforce page is created to display the results of image classification on an already existing data model like so.
Have any questions about Salesforce or Salesforce Einstein? Don’t hesitate to contact us at any time!
This publication contains general information only and Sikich is not, by means of this publication, rendering accounting, business, financial, investment, legal, tax, or any other professional advice or services. This publication is not a substitute for such professional advice or services, nor should you use it as a basis for any decision, action or omission that may affect you or your business. Before making any decision, taking any action or omitting an action that may affect you or your business, you should consult a qualified professional advisor. In addition, this publication may contain certain content generated by an artificial intelligence (AI) language model. You acknowledge that Sikich shall not be responsible for any loss sustained by you or any person who relies on this publication.
About the Author
Sikich
Sikich is a global company specializing in technology-enabled professional services. With more than 1,900 employees, Sikich draws on a diverse portfolio of technology solutions to deliver transformative digital strategies and is comprised of one of the largest CPA firms in the United States. From corporations and not-for-profits to state and local governments and federal agencies, Sikich clients utilize a broad spectrum of services* and products to help them improve performance and achieve long-term, strategic goals.
*Securities offered through Sikich Corporate Finance LLC, member FINRA/SIPC. Investment advisory services offered through Sikich Financial, an SEC Registered Investment Advisor.
Sign up for Insights
Join 14,000+ Business executives and decision makers.
Latest Insights
Oracle Cloud
Redefining Internal Audit: How Oracle RMC Elevates Efficienc...
December 20, 2024
Oracle Cloud
Redefining Internal Audit: How Oracle RMC Elevates Efficienc...
December 20, 2024
Implementing Oracle Risk Management and Compliance (RMC) redefines the role of Internal Audit Managers, transforming the traditional audit process in...
From Paper to Automation: Rethinking Shop Floor Reporting
December 18, 2024
Technology
From Paper to Automation: Rethinking Shop Floor Reporting
December 18, 2024
Traditionally, manufacturers have relied heavily on manual shop floor reporting methods involving paper logs, spreadsheets, chalkboards, and color-co...
Enhancing Disaster Recovery with Microsoft Azure Site Recove...
December 17, 2024
Article
Enhancing Disaster Recovery with Microsoft Azure Site Recove...
December 17, 2024
Ensuring business continuity and minimizing downtime during unexpected disruptions is always paramount for any business. Microsoft Azure Site Recover...
The Cost of Free Custom Code in Multi-Company Organizations
December 16, 2024
Dynamics 365
The Cost of Free Custom Code in Multi-Company Organizations
December 16, 2024
If you are part of a large, multi-company organization, or if you have various "affiliated" companies, you may find yourself in a situation where cus...
Transforming the Role of Risk Managers with Oracle RMC: From...
December 13, 2024
Oracle Cloud
Transforming the Role of Risk Managers with Oracle RMC: From...
December 13, 2024
In the evolving world of risk and compliance, the role of the Risk Manager is transforming at an unprecedented pace. Traditionally, managing risk mea...
Only One Microsoft Dynamics 365 ERP System Is the Right Solu...
December 12, 2024
Technology
Only One Microsoft Dynamics 365 ERP System Is the Right Solu...
December 12, 2024
Are you looking to upgrade from an older Microsoft ERP system, like Dynamics AX, Dynamics NAV, Dynamics GP, or Dynamics SL? Or are you considering Mi...
For the second year running, I attended the Association of Equipment Manufacturers annual conference. This year it was in sunny and warm Indian Wells...
Managing user privileges is a critical part of maintaining robust security policies. Traditional methods of managing privileges, such as using local ...
Setting Up Delegate Approval Functionality in NetSuite
December 9, 2024
Technology
Setting Up Delegate Approval Functionality in NetSuite
December 9, 2024
Unexpected delays can halt critical approval processes. Even the most benign activities can slow or stop business operations. Scheduled vacations, il...
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
Strictly Necessary Cookies
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.