I have a question. I have two options of SMS message creating
- Use AMPscript like in email building
%%[
var @fname
set @fname = [First_Name__c]
%%]
%%=v(@fname)=%%
%%[
var @row, @rows, @fname
set @rows = LookupOrderedRows("SMS",1,"StartDateTime desc", "Phone__c", MOBILE_NUMBER)
set @row = row(@rows,1)
set @fname = field(@row,"First_Name__c")
%%]
%%=v(@fname)=%%
Why for the first option SMS didn't come but for the second it came? Journey settings for both variants were equal. Or why we cant use 1st option for sms message?