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..!