I’m using the lists node to concatenate items from a JSON object. The original object contains a set of SKUs and Quantities and I just want the list of SKUs so I can submit these to an API call.
In the preview the SKUs are shown wrapped in double quotes, but when the body of the call is sent, there are no double quotes, so it is invalid JSON.
It doesn’t make any difference if I include “Raw value” or “values” on the Lists node.
It loosk like the UI is trying to be helpful, Try using {{ JSON.stringify($json["SKUS"]) }} instead which will output the array rather than the string version. This change means your body content will be something like…