Referencing data from the last history element of a specific type on a timeline

If you are using the 'wait for next' history wait widget or if you are trying to reference a history item that triggered an 'add to list' workflow staring step, you may be interested in pulling the data from that transaction. This is possible using a set of special dynamic fields. The format of the dynamic field is

For incoming history items (i.e. a prospect does something):

%CONTACT.LAST_INCOMING_HISTORY(<history type>).<parameter>%

For outgoing history items (i.e. a marketing email was sent):

%CONTACT.LAST_OUTGOING_HISTORY(<history type>).<parameter>%


In the above example, the only history dynamic fields directly available in the email are those associated with the list that triggered the campaign. If you are confident that the contact was added to the list as a direct result of the contact filling out a form, you can leverage the 'last history item' format of the dynamic field to access the elements of the form.

For example:


Was this article helpful?
0 out of 0 found this helpful



Please sign in to leave a comment.