Auto populate Messaging User Language in Salesforce Messaging for Web
0 views
Jul 2, 2025
Identify preferred language of messaging users" can be used to auto populate Messaging User Language in Salesforce Messaging for Web Chat. Blog Post: https://www.infallibletechie.com/2025/07/auto-populate-messaging-user-language-in-salesforce-messaging-for-web.html
View Video Transcript
0:04
Hello everyone. In this video, we are
0:07
going to see how to automatically
0:09
populate
0:11
messaging user language. The API name is
0:15
end user language on the messaging
0:18
session object or entity.
0:21
Let's dive into a demo
0:24
with the Salesforce messaging for web
0:27
feature and see how messaging user
0:30
language is automatically set.
0:34
First, I'm going to
0:37
demo this feature. So, I'm going to let
0:41
me refresh my page. I'm going to
0:44
initiate messaging for web chat.
0:50
So now if I go to my to my messaging
0:54
sessions.
0:59
So here
1:01
the messaging user language is
1:03
automatically set as English.
1:06
In order to achieve this
1:09
we have to make use of this feature
1:12
called identify preferred language of
1:16
messaging users.
1:21
When you select this option, the
1:23
language field for this channels
1:26
messaging user is autopop populated if
1:28
their local is known. So if their local
1:31
is known, it will automatically get
1:33
populated. So here from my browser, it
1:36
should be able to read that I'm making
1:39
use of English as my language. So all
1:42
the messages and everything will be
1:45
available in English and it will also
1:48
automatically populate this messaging
1:50
user language field.
1:59
So with the help of this feature I was
2:02
able to achieve this. One important
2:04
thing to note here is whenever we do any
2:07
changes on the messaging channel for the
2:09
embedded service deployment
2:12
which is tied to this messaging channel
2:15
should be published. So I made some
2:18
changes in my messaging uh channel. I
2:22
enabled this feature. So I have to go to
2:25
the embedded service deployment which is
2:27
tied to the channel and then I have to
2:29
click publish button. It will take uh 5
2:32
to 15 minutes. You will receive an email
2:34
once the changes are published. Once you
2:38
receive an email, then test it out. Then
2:41
you should be able to see the messaging
2:44
user language is getting automatically
2:46
populated.
2:47
Let's see a scenario where this
2:51
particular field is not populated. So if
2:54
I go to my messaging settings,
2:59
I have one more messaging channel which
3:01
is rel which is tied to my uh Einstein
3:04
bot. Here I'm not setting this identify
3:06
preferred language of messaging users.
3:10
So this is disabled. So here
3:14
I'm initi initiating a chat.
3:18
Now if I go to messaging sessions.
3:22
So this is the latest one
3:25
here. Messaging user language is not set
3:28
since I'm not
3:31
setting this. Identify preferred
3:33
language of messaging users.
3:38
Please check the video description. In
3:40
the video description, I have shared my
3:42
blog post. From the blog post, you
3:45
should be able to get the six steps
3:48
which I was able to use and set up this
3:52
feature.
3:58
I hope it was helpful.
4:06
Thank you for watching.
#Internet Software