Email Marketing Tool

maxidihg
Member

keep structure of multi-line property content

SOLVE

Is there a way to keep the structure of multi-line property content, when using in a marketing email as token?

We store customer request in a customer property (multi-line text). This request sometimes includes list items, sections, ... I want to keep when reply to customer, including the original message. 

The structure is still avaiable in the propery but gets lost when used in token.

0 Upvotes
2 Accepted solutions
mike-ward
Solution
Key Advisor

keep structure of multi-line property content

SOLVE

Hi @maxidihg ,

 

I'm afraid this doesn't currently seem to be possible with marketing emails - you used to be able to kind of hack around it using a <pre> tag, but I think even that doesn't work anymore. All formatting tags are stripped from the token. Unless you have a standard format which you could pre-process in a HUBL block looking for certain sub-strings to ascertain the structure (which it sound like you don't) then I think you're probably out of luck.

 

Some discsussion on this topic in this post: Apply line break formatting in to personalisation tokens in email.

 

Thanks,

Mike

 

---

Did I answer your question? If your question is answered, please mark it as a solution. If you need more help, hit that big orange 'Reply' button!

View solution in original post

0 Upvotes
karstenkoehler
Solution
Hall of Famer | Partner
Hall of Famer | Partner

keep structure of multi-line property content

SOLVE

Hi @maxidihg,

 

This is now possible 🙂 You can create properties and select the property type "Rich text".

 

When you edit these on a record, a rich text editor will pop up:

 

karstenkoehler_0-1661001164227.png

 

The formatting is kept when the property value is used in a marketing email via a personalization token, see this simple plain-text email I drafted:

 

karstenkoehler_1-1661001210487.png

 

Have a great day!

Karsten Köhler
HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer

Beratungstermin mit Karsten vereinbaren

 

Did my post help answer your query? Help the community by marking it as a solution.

View solution in original post

5 Replies 5
karstenkoehler
Solution
Hall of Famer | Partner
Hall of Famer | Partner

keep structure of multi-line property content

SOLVE

Hi @maxidihg,

 

This is now possible 🙂 You can create properties and select the property type "Rich text".

 

When you edit these on a record, a rich text editor will pop up:

 

karstenkoehler_0-1661001164227.png

 

The formatting is kept when the property value is used in a marketing email via a personalization token, see this simple plain-text email I drafted:

 

karstenkoehler_1-1661001210487.png

 

Have a great day!

Karsten Köhler
HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer

Beratungstermin mit Karsten vereinbaren

 

Did my post help answer your query? Help the community by marking it as a solution.

CAnderson87
Contributor

keep structure of multi-line property content

SOLVE

How do Rich Text properties work in Reports? I can't find anything on it 

0 Upvotes
CAnderson87
Contributor

keep structure of multi-line property content

SOLVE
ChrisChiha
Top Contributor

keep structure of multi-line property content

SOLVE

Hello @karstenkoehler ,
 
This needs to be done manually per record, or is there a way to format through bulk workflows?

0 Upvotes
mike-ward
Solution
Key Advisor

keep structure of multi-line property content

SOLVE

Hi @maxidihg ,

 

I'm afraid this doesn't currently seem to be possible with marketing emails - you used to be able to kind of hack around it using a <pre> tag, but I think even that doesn't work anymore. All formatting tags are stripped from the token. Unless you have a standard format which you could pre-process in a HUBL block looking for certain sub-strings to ascertain the structure (which it sound like you don't) then I think you're probably out of luck.

 

Some discsussion on this topic in this post: Apply line break formatting in to personalisation tokens in email.

 

Thanks,

Mike

 

---

Did I answer your question? If your question is answered, please mark it as a solution. If you need more help, hit that big orange 'Reply' button!

0 Upvotes