Yes exactly, that looks like it would work. I'm not too familiar with Velocity tokens, unfortunately, would that be created within the email program under my tokens, or would this need to be created in the email code or would it live elsewhere?
Update: I see it has to be done in the My Tokens - Edit Script Token. I tested the token below but it gave me an error when I tried to test it.
## @requires-object-fields
## ${lead.Lead_Owner_RingDNA_Calendar_Link__c}
## ${lead.RingDNA_Calendar_Link__c}
##
##
#if( !${lead.Lead_Owner_RingDNA_Calendar_Link__c}.isEmpty() )
Owned at Lead level by ${lead.Lead_Owner_Email_Address} <${lead.Lead_Owner_RingDNA_Calendar_Link__c}>
#elseif( !${lead.RingDNA_Calendar_Link__c}.isEmpty() )
Owned at Contact level by ${lead.Lead_Owner_Email_Address} <${lead.RingDNA_Calendar_Link__c}>
Basically what I am trying to do is show our token - "Lead Owner RingDNA Calendar Link" on the lead level, only if the "RingDNA Calendar Link (C)" on the contact level doesn't exist/is empty.
... View more