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

Sunday, June 19, 2022

Salesforce Einstein Products

 Salesforce Einstein Products

-----------------------------------------------------

As we know Salesforce has it's own artificial intelligence, natural language processing and deep learning technologies embedded product named it as "Einstein".

Some of this product features are already part of Salesforce clouds like sales cloud, service cloud and marketing cloud etc.. 

As a developer if you want to use these feature to build out of box features use it as well. 

Some of the key products of einstein are listed below. 

1. Einstein Bot

2. Einstein Next Best Action

3. Einstein Case Classification

4. Einstein Discovery

5. Einstein Prediction Builder

6. Einstein Language

7. Einstein Vision






Monday, June 21, 2021

How To Deploy Einstein Bots In Salesforce

Lets follow the below steps to deploy the Einstein bot using the change sets.

1. Goto Setup and search Outbound Changes Set

2. Open Outbound change set and click on New

3.Give the change set name and click save.

4.Goto Change Set Components and Click on Add button

5.From the component drop down select "Bot" as a type.



6.Select the bot name you want to deploy and click add to change set.



7.Clcik on the Add dependencies button and select the version of the bot you want to deploy.




8.Agian from the Component Type select "Einstein Intent Set" component



9. Select the all the intent sets related to you bot and click add to change set

10.Click on Deploy button Upload button to upload the change set.


Please comment or write us if you have any queries/requirements.

Please like,follow,bookmark,subscribe this site to receive daily updates.




Hope this helps you..Enjoy..!

Friday, June 4, 2021

How To Use Einstein Bot Object Search Results in Einstein Messages

Let assume that you have a Einstein bot and it uses "Object Search" action to fetch the data present in the selected salesforce object with specified search criteria.

Each search record result will have the columns we have selected in the result section and the list of records returned by the search criteria will be stored in a "Search Result Variable" of type Object List.

Search Criteria:



Result Panel:

In my case the results has been stored in a object variable called "ServiceProviderDetails" and now I will show how to use these results in another dialog to show the result values in message.

By default the list index will start from 0(Zero) it means the first record will be stored in 0 index and 2nd record will be stored in 1 index and so on..

If you want to refer the field inside the record use the syntax as {!ServiceProviderDetails[0].filedApiName}.The same has been shown below.



Please comment or write us if you have any queries/requirements.

Please like,follow,bookmark,subscribe this site to receive daily updates.




Hope this helps you..Enjoy..!

Thursday, May 27, 2021

[{"errorCode":"NOT_FOUND","message":"Invalid Lookup SObject:"}] Error in Einstein Bot Object Search

Issue:

Usually we might get this type of errors in many situations, for myself  I caught with this type of error when we are working on Einstein Bot. In my case I want to query an object records using the "Object Search" functionality available under the Action setup.




Root Cause:

The Einstein bot doesn't have either read/view all permission on selected object or the fields mentioned in search criteria/result criteria.

Work Around:

1.Goto the Einstein bot permission set called sfdc.chatbot.service.permset 
2.Open the Object Settings and Select the Object you needed
3.Enable Read/ViewAll under Object Permissions
4.Enable the Read Access for fields under the Field permissions and Save



Please comment or write us if you have any queries/requirements.

Please like,follow,bookmark,subscribe this site to receive daily updates.




Hope this helps you..Enjoy..!






Wednesday, May 26, 2021

How to Add/Upload Bulk Utterances to an Intent Present Inside an Einstein Intent Set

According to salesforce documentation we can add the Utterances to an Intent which is presented in Einstein Intent Set as listed below
  • Salesforce UI
  • Data Loader (version above 47 only)
 
Salesforce UI: 

Useful when you very less number of utterances/intents inside the set
  1. Go to the an Intent set 
  2. Open an Intent for which you want to add utterances
  3. Add the each sentence you want to add under the Utterances section
Data Loader (version above 47 only):

Useful when you have very large set of utterances or you have bunch of Intents under the Intent set and want to add the utterances for each intent.

All the utterances related to each Intent present inside the Intent set will be stored in an object called Intent Utterance (MLIntentUtterance).So, if you want to add the utterances to an intent present in intent set you can simply insert the data in Intent Utterance (MLIntentUtterance) object.



The object basically contains the below columns which are mandatory to insert the data.
  • MLDOMAINNAME - The intent set api name
  • MLINTENTNAME - The intent api name
  • UTTERANCE - Utterance text/sentence
Sample CSV format:




Please comment or write us if you have any queries/requirements.

Please like,follow,bookmark,subscribe this site to receive daily updates.




Hope this helps you..Enjoy..!





Thursday, May 6, 2021

Bot: Bot needs at least one Bot version.

You will receive this error while your deploying the Einstein bots from one org to another org. 


When you encounter this type of issue please cross check whether did you added the what version of the bot has to be deployed is added in the change set or not.

If not added just click on the view dependencies section of the change set and check for the bot version type and select the corresponding version.


 

Please comment or write us if you have any queries/requirements.

Please like,follow,bookmark,subscribe this site to receive daily updates.




Hope this helps you..Enjoy..!