You need to sign in to do that
Don't have an account?
Maguy Fogaing 2
Get user infos (name and email) in chat without pre-chat form
I am creating an Einstein chatbot and I want to greet the user by their name. The Apex class that I have written for this purpose returns "Platform Integration User". An answer to another post says to use a pre-chat form. Is there any way to get the logged-in user's details without having them fill a pre-chat form? Because for my purpose my chatbot will not have pre-chat form.
Please is there anyone who knows how l can do it ?
Please is there anyone who knows how l can do it ?
I don't think it is possible without a prechat form.
See related: https://salesforce.stackexchange.com/questions/222573/einstein-chat-bot
https://salesforce.stackexchange.com/questions/235781/einstein-bot-get-current-community-user-for-live-agent-pre-chat
Thanks