I'm struggling to configure my app with Marketing Cloud, after define my JB (setting Entry Event and Data Extension properly) my inArguments isn't binding with the event (I'm using Jmeter to execute the tests) I really don't know what I'm doing wrong.

"arguments": {
    "execute": {
            { "firstName":"{{Interaction.5f854a37-40cd-4dc6-81cf-f55c4bb89d98.CPF}}"}
        "outArguments": [
            { "teste":"number" }

Also I tried other ways, like replacing Interaction to Event and using different Event API keys, inside my journey builder when I click inside the event I'have this one : APIEvent-649122ef-96c4-c22e-815f-eb9b508b7fec

Also inside my app I have this following code to get this inArgument

var aArgs = req.body.inArguments;
var oArgs = {};
for (var i=0; i<aArgs.length; i++) {
  for (var key in aArgs[i]) {
    oArgs[key] = aArgs[i][key];

My log is showing :

2017-04-20T02:22:13.889030+00:00 app[web.1]: [aArgs]:[object Object]
2017-04-20T02:22:13.888985+00:00 app[web.1]: [aArgs]:[object Object],[object Object],[object Object],[object Object],[object Object]
2017-04-20T02:22:13.889062+00:00 app[web.1]: [key]:firstName;oArgs[key]:
2017-04-20T02:22:13.889103+00:00 app[web.1]: [key]:priority;oArgs[key]:4
2017-04-20T02:22:13.889129+00:00 app[web.1]: [key]:priority;oArgs[key]:4
2017-04-20T02:22:13.889162+00:00 app[web.1]: [key]:priority;oArgs[key]:4
2017-04-20T02:22:13.889206+00:00 app[web.1]: [key]:priority;oArgs[key]:4
2017-04-20T02:22:13.889237+00:00 app[web.1]: [fname]:

Also inside my Data Extension model I have the CPF field

Can you guys please help me ?

Thanks a lot !


You are using data binding in the Interaction context, specifically, the binding you are getting the CPF value of outArgument from a prior Custom Activity with the key 5f854a37-40cd-4dc6-81cf-f55c4bb89d98 which I'm pretty sure is not what you want. (side note: you can only retrieve OutArguments from prior Custom Activities, not standard Activities).

If you have a field named CPF in your Event Source Data Extension and you want to use this as an inArgument, then your data binding should look like this:


Where eventDefinitionKey is the Event Definition Key value for the Event.

  • Also I was missing the association between Data Extension with Contact inside Audience Builder, thank you a lot Eliot ! Apr 20 '17 at 17:26
  • Eliot, one more thing, is it possible to bind the outArgument inside the Data Extension in the same way ? For instance ` "outArguments": [ { "email":"text" }` or {{Event.eventDefinitionKey.EMAIL}} ? Apr 20 '17 at 18:00
  • I'm not sure I understand your question. The outArgument passes a value from your Custom Activity to preceding Custom Activities in your Journey. Can you explain what you are trying to achieve? Apr 20 '17 at 18:03
  • Is it possible to use this outArgument to update the Data Extension ? Apr 20 '17 at 18:38
  • It might be, but then again it might not. If you add an Update Contact Data Activity to your Journey after the custom activity then paste in the data binding string with the value {{Interaction.insertYourCustomActivityKeyHere.number}} (where number is the value from your outArgument) this might work. Data binding is supported in Update Contact Data Activities, but I have only been able to get outArguments passed as inArguments to subsequent Custom Activities, not Standard Activities. Let me know how you go. Apr 20 '17 at 18:42

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.