Hi!
I was wondering if there was any way to extract custom activity's fields and add it to an email template. Just like we have for leads ->
{{lead.First}}. Is there any way to do the same for custom activities fields?
Solved! Go to Solution.
You can only use the {{trigger.name}}, which will be the primary attribute value for the Custom Activity if you trigger on the CA. It’s useful in some circumstances but as Darshil says, you should be using Custom Objects.
You should use a custom object + velocity combo for populating data in emails instead. Custom activities by definition and purpose are for storing the custom "activities", and using them to trigger off the campaign flows/using it SL/etc., just like standard activities. In general, no, you cannot use custom activity fields' data using tokens in emails. Check out this similar thread from 2019 as well for your reference.
Hey!
Thanks for the response.