Skip to main content
Answer

How to Properly Format Arrays with Double Quotes in Web Request Node?

  • July 18, 2025
  • 1 reply
  • 47 views

annnlee
Contributor
Forum|alt.badge.img

Hi everyone,

I’m working on a workflow in Freshservice that sends data through the Web Request node to a custom API. I’m building an array using the Expression Builder, but I’m running into issues where the values get wrapped in single quotes instead of double quotes, which breaks the API call.

Even when I try using liquid filters to replace the quotes, it doesn’t seem to work. Manually entering the array with double quotes works fine, but when it runs through the workflow, the body is empty.

Has anyone found a reliable way to force double quotes in an array using the Expression Builder or liquid filters?

Best answer by Alex410

Thanks for bringing this up — I've had this same issue before. One solution that helped me was using `replace` in Liquid like `{{ your_variable | replace: "'", '"' }}` inside a `capture` block. Still a bit tricky — hopefully Freshservice will improve JSON handling in the expression builder soon!

1 reply

Forum|alt.badge.img
  • Community Debut
  • Answer
  • July 18, 2025

Thanks for bringing this up — I've had this same issue before. One solution that helped me was using `replace` in Liquid like `{{ your_variable | replace: "'", '"' }}` inside a `capture` block. Still a bit tricky — hopefully Freshservice will improve JSON handling in the expression builder soon!