Display Objects List in Salesforce Einstein Bot

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ค. 2022
  • We can display list of objects for selection in Salesforce Einstein Bot.
    1. Make sure Objects and Fields permissions are added to the sfdc.chatbot.service.permset Permission Set.
    2. We can use Flow or Apex to fetch and return the data to the Flow.
    Blog Post:
    www.infallibletechie.com/2022...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 31

  • @aniketzade5046
    @aniketzade5046 ปีที่แล้ว

    Really helpful...

  • @rocketbass88
    @rocketbass88 6 หลายเดือนก่อน

    Instead of using the action to run the flow, could the Object Search feature be used? I'm currently trying to do it that way, but my Object List always returns [EMPTY TEXT] for the options the customer would see. I'm just trying to display up to 3 open cases for the customer to choose which Case they're chatting in about(after they've requested to review a case).
    I thought this was a perfect scenario for the object search, but I'm stuck.

    • @Infallible-Techie
      @Infallible-Techie  6 หลายเดือนก่อน

      I have used Object Search and never had any issues.
      www.infallibletechie.com/2023/01/show-knowledge-article-in-salesforce-einstein-bot.html

  • @user-vh9jw8zh5s
    @user-vh9jw8zh5s 4 หลายเดือนก่อน

    how can we convert the data in leads object into account object using einstein chatbot? And how we can generate a report to get previous year history?

  • @SudhirKumar-ue8xf
    @SudhirKumar-ue8xf 5 หลายเดือนก่อน

    Hi, I can see the list for selection in Text Preview mode but cannot see the output in the enhanced chatbot. Am I missing something here. All permission looks ok to me.

  • @santanuroy571
    @santanuroy571 2 หลายเดือนก่อน

    What if the same user with sfdc.chatbot perm , in the same account has write permission also, in that case what happen through chatbot will he be able edit the account also ?

    • @Infallible-Techie
      @Infallible-Techie  2 หลายเดือนก่อน

      From the BOT, you should Invoke Flow or Apex to do the DML.

  • @juanventura6214
    @juanventura6214 9 หลายเดือนก่อน

    I was able to display the info from the case, so ty, but I need to display the info in Spanish (status displays new instead nuevo), can I fix that in the bot?
    I gonna try apply decision in the flow, if u know better pls tell me

    • @Infallible-Techie
      @Infallible-Techie  9 หลายเดือนก่อน

      I don't think the records can be displayed in different languages

  • @Mad2Foox
    @Mad2Foox ปีที่แล้ว

    Hello! I didn't understand the variable from "The output from the action is displayed to your customer as choices" (4:36). What should I put in there?

    • @Infallible-Techie
      @Infallible-Techie  ปีที่แล้ว

      CaseNumber is standard field in Case object. For list of items, I am using it for user selection.

    • @Mad2Foox
      @Mad2Foox ปีที่แล้ว

      @@Infallible-Techie So I should be using the API of the field, right? I'm using a flow to get Products (Standard Product2 SF Object). So, on that output I should put: {!Name}, as Name is the API for the Product Name field. Problem is that the list becomes: 1. {!Name} 2. {!Name}, etc, without showing the actual name of the record got. I can say for sure that the records are being properly fetched because of the number of records.
      I'm thinking this has something to do with the Chatbot Permission Set. I'll check it.

    • @Infallible-Techie
      @Infallible-Techie  ปีที่แล้ว

      Yes. Make sure the Product Name Field Level security is given to the BOT Running User.

  • @ashieshwatts1293
    @ashieshwatts1293 2 ปีที่แล้ว

    Can you please help me with the message error as I have gave all the permissions to account and contact but it's still printing the variable name

    • @Infallible-Techie
      @Infallible-Techie  2 ปีที่แล้ว

      Ashiesh, do a null check. It might be due to Bot Context user is not having access to the records.

  • @user-wg1gl6pz5u
    @user-wg1gl6pz5u 6 หลายเดือนก่อน

    Hi is there any way to display the size of the object list? normally in apex, it would be objList.size() to get the integer, but how do I do that in einstein bot list variable?

    • @Infallible-Techie
      @Infallible-Techie  6 หลายเดือนก่อน

      You have to send the count from apex or flow to the BOT. www.infallibletechie.com/2022/01/how-to-find-count-or-number-of-records.html

    • @user-wg1gl6pz5u
      @user-wg1gl6pz5u 6 หลายเดือนก่อน

      @@Infallible-Techie thanks! If you don't mind again...
      Is there anything similar to a for loop in einstein? To use in Message Dialog display and access the list variable that way (Question Dialog, dynamic buttons populated from list means, the rest of the options go away when selecting one)
      I need to display the object list I returned from the flow in the form of a table, so that all the records returned are visible at the same time. Would a lightning data table work?

    • @Infallible-Techie
      @Infallible-Techie  6 หลายเดือนก่อน

      BOT builder is not same as Flow builder. So, we have very less options to use.

  • @juanventura6214
    @juanventura6214 9 หลายเดือนก่อน

    I have the reques to to show the createdDate(Data/Time) from cases, but as type Date(dd/mm/yyyy), I am not able to achive that

    • @Infallible-Techie
      @Infallible-Techie  9 หลายเดือนก่อน +1

      As far as I know, we cannot change it with the standard selection option.

    • @juanventura6214
      @juanventura6214 9 หลายเดือนก่อน

      @@Infallible-Techie ty

  • @paridhijain1567
    @paridhijain1567 6 หลายเดือนก่อน

    why the Ritch Content Preview button is disabled.

  • @user-sx3ei3xf7j
    @user-sx3ei3xf7j 5 หลายเดือนก่อน

    In my situation if the customer enters a wrong case no, the message shows with the {!AccountRecord.Name}. Hw can I fix it to re route to agent if there is no match?

    • @Infallible-Techie
      @Infallible-Techie  5 หลายเดือนก่อน

      You have to check whether the value is set before displaying the values.

    • @user-sx3ei3xf7j
      @user-sx3ei3xf7j 5 หลายเดือนก่อน

      @ible-Techie can you please guide me how i can do that please? I have tried this by using the variable and checking if it is set but i see no difference :(

    • @Infallible-Techie
      @Infallible-Techie  5 หลายเดือนก่อน

      Check the Rules used in this www.infallibletechie.com/2024/02/how-to-handle-salesforce-einstein-bot-question-with-dynamic-option-without-selection.html for reference.