I have a journey with entry of salesforce data and an SMS activity which should contain data coming from service cloud. I have already added the field in entry data but how can I include it in the SMS message? Its not like getting the data from data extension.

  • 1
    Is the field in the entry source DE if so %%fullfieldname%% – EazyE Dec 6 '19 at 2:47
  • How can I reference the correct DE in SMS? I think that is possible if the entry is Data Extension, in this scenario, my Entry is salesforce Data – Marketing Cloud Newbie Dec 6 '19 at 2:51
  • You reference both the same way. – Jason Hanshaw Dec 6 '19 at 2:51
  • You would have to do a lookup() using the %%contactkey%% – EazyE Dec 6 '19 at 2:52
  • @EazyE you can reference SF Entry Event Fields in the same manner that you have above in an SMS message. – Jason Hanshaw Dec 6 '19 at 2:53

When you set your entry event as SF Data, then a data extension is automatically created with the selected object fields on activation. The process for calling data into an activity is the same across DE and SF entry events. The primary difference in this regard is naming convention, so it's likely you'll need to wrap any calls to retrieve those values with []. i.e. SET @lead_id = [Contact:Lead:Id]

| improve this answer | |

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.