Adding several value to a field | Community
Skip to main content
Level 2
October 5, 2020
Question

Adding several value to a field

  • October 5, 2020
  • 1 reply
  • 5217 views

Hi everyone,

 

I've been trying to create a "Content downloaded" field for my contacts as I like to have a history of the DL path of my prospects,

 

So I created the field, and started to set up my first rule :

On each form (downloading files specifically) completion: Change score:+5, Send Email: downloading link e-mail, add "Name of the file" to "Content downloaded".

 

BUT, I'm afraid of one scenario : If a  contact download several contents, will the previous value written in the "Content downloaded" be replaced by the new one ?

 

I found an old article on the forum where a person advises to use choices like this (I replaced what he wrote according to my case):

 

Choice 1 :

If "Content Downloaded" is empty

Attribute "Content Downloaded" New Value : {{system.datetime}}: "Name of the files"

 

Default choice (this is where I'm in trouble)

Attribute "Content Downloaded" New Value{{lead.Content downloaded}},{{system.datetime}}: "Name of the files"

 

Is it correct according to you, or do you have any other good practice to solve this problem ? 

 

Thanks a lot

Lucas

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Michael_Florin-2
Level 10
October 5, 2020

You will need a second field for this. In our case the fields are "Last Asset" and "All Assets". Write the name of your document into "Last Asset" at download, and then run this Flow Step in a second Smart Campaign to update "All Assets" with the value in "Last Asset". This will over time append all asset names to the "All Assets" field.

 

Thorsten
Level 3
October 6, 2020

Aren't you overwriting your field "All Assets" here with the latest? Rather than appending?

Michael_Florin-2
Level 10
October 6, 2020

You're right, Thorsten. I was sloppy. Here's the whole process:


1. Copy "Last Asset" to "All Assets" if it's the first time:


2. Append to "All Assets" if not empty: