Skip to main content
Solved

HTML with Custom Objects

  • November 27, 2024
  • 2 replies
  • 33 views

AutomatedDuck
Apprentice
Forum|alt.badge.img+1

When I import a CSV and map the fields, it imports correctly, but one of the fields has HTML tags in it to be used by a workflow. The HTML is stripped out after the import is finished. Is there a different way to format my CSV to preserve the HTML formatting as literal text? Should I URL encode the text and then run a liquid filter in the Expression Builder node?

Best answer by AutomatedDuck

We solved the problem by URL encoding our message body and keeping it encoded until we run a web request where we use url_decode Liquid filter to pass it in the API call. We got confirmation that HTML gets stripped out if not encoded.

View original
Did this topic help you find an answer to your question?

2 replies

Forum|alt.badge.img+2
  • Contributor
  • 22 replies
  • December 20, 2024

Can you give an example of one the of lines of HTML code that is getting striped out? This sounds interesting and wondering if it is something with their importing code or with how the API interacts with that those HTML code. It might need to have everything escaped. 


AutomatedDuck
Apprentice
Forum|alt.badge.img+1
  • Author
  • Apprentice
  • 1 reply
  • Answer
  • February 12, 2025

We solved the problem by URL encoding our message body and keeping it encoded until we run a web request where we use url_decode Liquid filter to pass it in the API call. We got confirmation that HTML gets stripped out if not encoded.


Reply