Skip to main content
Question

Adding JSON New Lines to Placeholders For Web Requests

  • 26 July 2024
  • 2 replies
  • 26 views

I’m attempting to take a string and use the expression node to replace commas with \n. Then udpate a custom object with that string using the web request node. 

When I send the call from Postman the new lines are recognized. When I send the call from the workflow the \n are recognized as characters. Is there a way to create a new line using placeholders in the web request node?

 

First entry is from Postman. The second is from the workflow

 

2 replies

Userlevel 1
Badge +3

After attempting to use <br> and &#13; and after reading into some of Liquid’s documentin I don’t think it is possible to add new lines to a string using the expresion builder, but still open to suggestions. Thanks!

 

Userlevel 1
Badge +5

broke my head over that one as well during the past two weeks, could not find a way either.

Reply