How can i access the JSON value through email template?
I do have JSon values in one my contact property and wanted to split and show this in the email template. "Classcount:1,StudentCount:3,ParentCount:0,ClassName:MathClass".
How can i access the JSON value through email template?
@kaselvan Nothing short of possibly using the API to create an integrartion that grabs, manipulates, and inputs the data instead of using personalization tokens. There simply isn't a way to manipulate personalization tokens for email directly in Hubspot.
If this answer solved your question, please mark it as the solution.
How can i access the JSON value through email template?
@kaselvan You would need to use a HubL filter to be able to split a property, but unfortanutely filters aren't available on contact properties for email templates. From the Hubspot documentation - "Please note that using filters on any personalization variables (such as but not limited to contacts, company, and deal variables) is not currently supported for email in HubSpot due to how emails are rendered."
If this answer solved your question, please mark it as the solution.
How can i access the JSON value through email template?
Thank you very much for your reply Alyssa.
Yes i saw that HubSpot document. Is there any work around to split the JSON and bring them into Email template. My email templates have more dynamic values and i do not want to create multiple Contact properties.