0

I am trying to pass the data to the email with a triggered send from Journey Builder.

The template is connected to the same data extension as Journey.

So I have this:

%%[ 
 var @data set @data = AttributeValue("Data")
if not empty (@data) then 
  outputLine(concat("Data: ",@data))
else
  outputLine(concat("Data is empty"))
endif 
 ]%%

The output is always empty, even though "Data" exists in the Data Extension and has some values. Any clues why it might happen?

Thanks in advance.

3
  • You need to remove the space between empty and (@data) Nov 19 at 8:46
  • Oh, my mistake, true. But still empty output. Nov 19 at 8:50
  • If it was a new field added to your DE, try deleting the entry source in your journey and adding it again. Also make sure the field name matches. Nov 19 at 9: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.