0

Can we use a data extension fields dynamically inside a SMS content in marketing cloud. Any help would be appreciated.

3
  • Yes - similar as you would do in emails or cloud pages. Can you be more precise in what you are trying to achieve and where you are stuck? Commented Nov 14, 2019 at 10:19
  • What is the sending audience? List? DE? Journey
    – EazyE
    Commented Nov 14, 2019 at 22:04
  • The sending audience is a data extension Commented Nov 15, 2019 at 6:04

1 Answer 1

1

To use Data Extension fields in SMS for personalization, use the AMPscript Lookup function, as you would do in an email: https://ampscript.guide/lookup/

Bare in mind, that the MOBILE_NUMBER is the subscriber key for SMS subscribers.

Here’s an example of a lookup function for use in SMS:

%%[

set @lookupValue = MOBILE_NUMBER
set @fn = Lookup("DataExtensionName","FirstName","MobileNumber", @lookupValue)

]%%
First Name: %%=v(@fn)=%%

Here is a question similar to yours: Personalization in Mobile Connect SMS called within Journey Builder

Not the answer you're looking for? Browse other questions tagged .