0

In order to personalize our SMS - Journey Builder send, we need to use the values of the fields of the Data Extension that trigger de Journey Builder. This is perfectly possible with an email send, but the same AMPScript functions do no seem to work with the SMS. The only personalization string seems to be the MOBILE_NUMBER. Thank you

  • Yes, this should be possible, however there are some AMPscript functions that are reserved for email and don't work in SMS. Please can you provide an example of the AMPscript code that you are using in your mobile message. – Eliot Harper Sep 12 '16 at 18:19
  • Hi Eliot, for instance we have something like this where we are referring to the entry event Data Extension. While this code works in the email activity, it does not in the sms activity. code%%[ SET @idSubscriber = _subscriberkey SET @rows = LookupRows("DE","CustomerID",@idSubscriber) SET @RowCount = RowCount(@rows) IF Rowcount > 0 THEN set @row = row(@rows,1) set @coupon = field(@row,"Coupon") ENDIF ]%% %%=v(@coupon)=%% code Thank you – sdmc01 Sep 13 '16 at 7:38
0

The code example that you provide in your comment uses the _subscriberkey personalization string, which specifically relates to an email Subscriber in the All Subscribers list. MobileConnect uses it's own list model.

There are two personalization strings available for mobile messages; MOBILE_NUMBER and SHORT_CODE. Also, there are some AMPscript variables for mobile messages that can also be used in mobile messages.

  • Hi Eliot, ok I understand. So no way to directly use the entry event Data Extension, unless you use a LOOKUP function. This may prove to be complicated when the mobile number is not unique KEY in the entry event (instead if you could just use the ). Thanks – sdmc01 Sep 13 '16 at 11:03
  • 1
    Yes, indeed. While you can use personalization strings in Send Email Activities using fields from the Event Source Columns in Data Extension, sadly this does not appear to apply to Send SMS Activities (I've tried). This is unfortunate. – Eliot Harper Sep 13 '16 at 18:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.