Dynamic Content in Salesforce Messaging Component
Aug 13, 2025
Blog Post: https://www.infallibletechie.com/2025/08/dynamic-content-in-salesforce-messaging-component.html
View Video Transcript
0:05
Hello everyone. In this video, we are
0:08
going to see how to send dynamic content
0:13
whenever we are making use of Salesforce
0:15
messaging component.
0:18
If you have a have a use case where you
0:20
wanted to send dynamic content for
0:23
example using SMS channel then we can
0:26
make use of messaging component and in
0:29
the messaging component we can make use
0:31
of parameters.
0:35
In my use case, I wanted to send the
0:38
messaging session name as the reference
0:41
number so that when the customer reaches
0:44
back, the service reps will be able to
0:46
search the messaging session, find the
0:49
relevant conversation and uh uh I had
0:52
all uh um uh lead, contact, person,
0:56
account, cases and other information
0:59
linked to it so that it will be easy for
1:01
them to get the relevant information
1:03
when the customer reaches back. In order
1:05
to do that, I made use of
1:08
standard messaging session parameter.
1:11
Let's see.
1:15
So, this is the test notification
1:18
message type uh messaging component.
1:22
Here I am making use of dynamic content
1:26
with the help of
1:29
parameters. And this is the expressions
1:31
or this is the syntax.
1:34
So I have
1:36
I'm going to send please share your
1:38
feedback. Your reference number is so
1:40
this is the dynamic uh messaging session
1:42
name which will be passed whenever they
1:45
receive the SMS.
1:47
Please uh uh reply stop to unsubscribe.
1:50
Let's say the customer wants to
1:52
unsubscribe from this notification. So
1:54
they will be able to make use of the
1:55
stop keyword. So let's look at this
2:00
standard messaging session parameter. So
2:03
if you go to parameters by default we
2:06
will be able to see the messaging
2:07
session as the standard parameter in
2:10
messaging session if you have custom
2:12
fields and in the custom fields if you
2:15
are storing some some information then
2:17
you can make use of that also
2:21
in this uh
2:24
body of the uh content. So here instead
2:27
of name which is a standard field if you
2:29
use uh the custom uh uh field API name
2:33
then it will fetch that custom field uh
2:36
value from the messaging session record
2:38
and then it will be able to send it.
2:43
Here I'm making use of uh the standard
2:47
enhanced SMS notification component and
2:51
I have selected the messaging component.
2:57
So when they receive the SMS they will
3:00
be able to see the dynamic messaging
3:03
session name. So they will be able to
3:05
make use of this as the reference.
3:14
Please check the video description. In
3:15
the video description, I have shared my
3:17
blog post. From the blog post you should
3:20
be able to get
3:22
how to set up enhanced SMS notification
3:25
and also in this video whatever we have
3:28
discussed all the information with the
3:32
sample uh
3:34
um
3:36
content which will be able to generate
3:39
dynamic content using parameters.
3:46
I hope it was helpful.
3:54
Thank you for watching.
#Internet Software