Im working on Einstein Chat Bot and in the initial greeting I wish to display logged in user name. Its displaying "Integration" . Any help how do I correct this?
3 Answers
Use the cookbook that you'll find here: https://sfdc.co/BotsGuide You'll need to gather the data from the prechat form, map it to the LiveChatTranscript and use the data in the FirstName slot to then create the greeting message. It's explained step by step in the document.
You cant access to "logged user" info. Only can use Prechat Form
-
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review– ReshmaNov 7, 2018 at 5:12
-
The pre-chat form is rather limited when it comes to user information, Enrico Murru solved this issue with a lightning component: https://blog.enree.co/2018/11/salesforce-dealing-with-the-running-user-on-einstein-bot-dialogs.html