Custom code Workflow - Insert hyperlink inside rich text
SOLVE
Hi @LDretzolis , It depends what you are trying to achieve with this. Is it for the purpose of adding customised hyperlinks to email campaigns? If so, you have to enter the hyperlink as if you were coding it in HTML.
So for example, a link is defined with the <a> tag and you would href= to define the destination URL. Then the anchor text would appear between the opening and closing tags. See a sample below:
<a href="https://hubspot.com">This is a link to hubspot</a>
Then this can be used as a personalisation token in email campaigns. You would simply assign this with the 'Set property value' action in Hubspot, no need for custom code.
If this isn't what you're trying to achieve, let me know what your purpose is and I can have another look.
Custom code Workflow - Insert hyperlink inside rich text
SOLVE
Hi @LDretzolis , It depends what you are trying to achieve with this. Is it for the purpose of adding customised hyperlinks to email campaigns? If so, you have to enter the hyperlink as if you were coding it in HTML.
So for example, a link is defined with the <a> tag and you would href= to define the destination URL. Then the anchor text would appear between the opening and closing tags. See a sample below:
<a href="https://hubspot.com">This is a link to hubspot</a>
Then this can be used as a personalisation token in email campaigns. You would simply assign this with the 'Set property value' action in Hubspot, no need for custom code.
If this isn't what you're trying to achieve, let me know what your purpose is and I can have another look.