We have issues regarding the config.json file when developing journey builder custom activity. The background is, salesforce marketing cloud SMS is not supported, hence, we have to build a new custom activity for SMS sending within Journey builder. We have to pass audience information(e.g. Name, Mobile Number) and activity configuration(e.g. SMS template) to the SMS interface we are leveraging. However, we find that we cannot dynamically pass audience attributes to the SMS interface. For example: we want to pass 'Name' and 'Mobile' to the interface and we have two DEs, one is called DE1, the other one is called DE2, both of them have name and mobile number fields. When user using DE1 as journey entry, the attributes should come from DE1, likewise, when DE2 is used as a journey entry, the attributes should come from DE2. We know how to setup config.json - inArguments,Wbut we don't know know how to do dynamic binding in config.json - inArguments, rather than static binding.

How to damically pass parameters?

  • Did you found the solution?
    – Gokul
    Jun 26 '17 at 6:25
  • Thank you for asking. We haven't, we still have to use the same one or more fixed DEs within the same config.jason file, which means for all different journey builders a same DE is resued over and over again..
    – StackBruce
    Jun 26 '17 at 6:36
  • Ok, Thanks for your reply. In your config.json code de_campaign_target & IS_CC_CALL are the data extension names and Mobile & Name are the fields in data extension, right?
    – Gokul
    Jun 26 '17 at 6:51
  • Hi Gokul, thank you. correct, both de_campaign_target and is_cc_call are the data extensions and mobile&name are fields within them. We are building a custom sms/mms activity for local sms/mms send with mobile and name specified within the DE.
    – StackBruce
    Jun 27 '17 at 1:55
  • You are very welcome. appreciate if you have a good solution to share regarding to this issue
    – StackBruce
    Jun 27 '17 at 6:38

Your Answer

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

Browse other questions tagged or ask your own question.