delimiter for multiple checkbox properties used as token

Hi!

I’m using a multiple checkbox property, containing multiples values for single contact, as a token to personalize an E-Mail.

Testing out the E-Mail I saw that the delimiter between the values of the property is a comma “,”.

Is it possible to personalize the delimiter in the token?

In my case I would like to use the semicolon as we send a set of personalized codes that can be used to activate products in our plattform. With a semicolon the customer can just copy-paste the code from the E-Mail, as our app was developed with it as delimiter.

Hi @Katia_A !

You can use the |replace filter on your token to replace the comma with a semicolon.

{{ contact.your_token|replace(',',';') }}

If you click Advanced > Source Code in the WYSIWYG you should be able to edit the token code from there.

Hi Alyssa

Thank you a lot for your suggestion! I tryied it out but I didn’t manage to make it work :disappointed_face:

Our dev team was faster than me anyway and changed our app, so it is done for me, for now.

Hi Alyssa, I have the same issue and tried your solution but it doesn’t work. Unfortunately HubL filters don’t work in e-mail, but only on Hubspot pages. See: HubL filters - HubSpot docs
Do you have another solution perhaps? Thanks in advance!