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
Oracle RMC for Business Process Leads: Driving Efficiency an...
November 22, 2024
Oracle Cloud
Oracle RMC for Business Process Leads: Driving Efficiency an...
November 22, 2024
Business process leads play a critical role in ensuring compliance and managing risk in their respective areas. For many, however, this task can be o...
On Demand – 2024 Yellowbook Webinar Series Session 10:...
November 21, 2024
Sikich On Demand
On Demand – 2024 Yellowbook Webinar Series Session 10:...
November 21, 2024
Watch our tenth installment of Sikich's Yellowbook Webinar series, where our government finance experts discuss the importance of internal controls i...
Improving Field Service Management through Connected Service...
November 21, 2024
Dynamics 365
Improving Field Service Management through Connected Service...
November 21, 2024
Connected services are changing the game in field service management. Microsoft Dynamics 365 Field Service from Sikich offers a host of features that...
Top 5 Reasons Your Salesforce-Enabled Agency Should Invest i...
November 20, 2024
Salesforce
Top 5 Reasons Your Salesforce-Enabled Agency Should Invest i...
November 20, 2024
Sixty-one percent of customers prefer self-service options for managing straightforward issues. By equipping your clients with effective self-service...
CEO Chris Geier Featured in INSIDE Public Accounting –...
November 20, 2024
In The News
CEO Chris Geier Featured in INSIDE Public Accounting –...
November 20, 2024
We believe in the power of trust and flexibility. Our CEO Chris Geier was featured in INSIDE Public Accounting, sharing his insights on building trus...
Sabrina Champagne, director, Employment Tax Credits, discussed economic development and site consulting on a podcast with Northeast Indiana Regional ...
Life Science SuiteSuccess Workflows: Optimizing Internal Con...
November 18, 2024
Technology
Life Science SuiteSuccess Workflows: Optimizing Internal Con...
November 18, 2024
Utilizing NetSuite workflows effectively is crucial for managing internal controls, segregation of duties, and ensuring SOX compliance within life sc...
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.