6

I'm looking for a way to use fields from a data extension (that is the entry source for a journey) in the "Update Contact" activity.

I want to create a sort of log in a different data extension. Let's say I have a sourceDEthat is used by the journey and a journeylogDE where I would like to write the email of contact that's currently in the journey.

What should I write in the value field to get a value from the currently used record in the sourceDE?

I tried {{Contact.Attribute.sourceDE.email}}, but it did not return any values.

I would appreciate it if you could give me any tips how to fix this issue.

1
  • 1
    That data binding looks like it should work. Have you linked the data extension in the data designer? Feb 12 '18 at 22:55
16

I had the same question and finally came to a solution.

To access the attributes of the source DE you should use the following syntax : {{Event."DEAudience-8f8575fe-2e87-d24b-3e7b-e82f4320ff24"."Email"}}

To find the right id you should go on your JB with chrome, open the inspector and in the source code you can find it (just search "DEAudience"): enter image description here

You can now use any attribute from your source DE.

NB: If you change the source DE the DEAudience id will also change.

Hope it'll help.

4
  • Looks like this method doesn't work any longer. It certainly used to work. Jan 27 at 11:52
  • It worked for me today. Note that the DEAudience ID found with the inspector is not the EXTERNAL KEY of the DE.
    – divad
    May 12 at 11:18
  • Is it possible in the UpdateContact, to retrieve a field from a Salesforce object? For Instance, I have a creation of task, then I have my Update Activity where I would like to retrieve the Id of the task or another field that I don't have in entry source. Aug 2 at 9:45
  • 1
    @MahmoudGueye, you should be able to do that by using this model: {{Interaction.[ActivityCustomerKey].[OutArgumentName]}}. According to the docs the ActivityCustomerKey is journey-unique key for the activity and the OutArgumentName is specified by that activity. For example, I create a lead with a lead activity. To grab that lead ID value I'd use: {{Interaction.SALESCLOUDACTIVITY-2.salesforceObjectID}}. That SALESCLOUDACTIVITY-2 is the assigned AcitvityCustomerKey and could change per journey. Easy way to find that is to drop in a new activity after the task creation - look there for the name. yesterday
4

As I can see, the easiest way to find the right value to fill that fields in Update Contact Data is to start configuring some entry creation in Salesforce. For example, "create" Task activity.

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.