I have a Shopify field (“Line Items Properties Name”) coming in as an array of arrays (e.g. [“_instoreAppId”], [“1”, “4”, “6”, “10”, “_instoreAppId”]). I need to work with that in a Code step, but Code forces everything into a string (and not even JSON), so when it comes in, it ends up looking like “_instoreAppId,1,4,6,10,_instoreAppId”, which is not helpful. When I try to do a line-item-to-text formatter step and separate the array items by |||, I get the nonsensical output of
output
item_1
_instoreAppId,1,4,6,10,_instoreAppId
item_2
_instoreAppId,1,4,6,10,_instoreAppId
item_last
_instoreAppId,1,4,6,10,_instoreAppId
text
_instoreAppId,1,4,6,10,_instoreAppId|||_instoreAppId,1,4,6,10,_instoreAppId
How is one supposed to get this data?