Which means when trying to parse Json , the result isn’t an actual json because it doesn’t recognise the format (even if I have put the right format in place).
I need to iterate these into a proper JSON so I get multiple bundles to then make iterationsto send the data back into google sheet lines.
The problem starts with the “[[” which makes it a double quoted json rather than simple , I think. So it makes it really hard to work with the data. But couldn’t clean it with replace() function or node.
Use the iterator tool in the green tools. Iterate the output array and you’ll get bundles.
Or book a call with us. We are a 4-year old Make.com partner. We offer a one hour video call where we explain and show how Make can help your organization. We even build some scenarios and share them with you so get more value than a usual exploratory discussion. Book some time with me at Make.com Hero - NewPath Consulting I look forward to talking to you and your team should they join us.
Hi Loic, thanks for getting back! These were exactly the options I tried at the start, which I would have expected to work as per my initial question… but neither work for some reason, which is the weirdest thing.
That’s perfect output from the iterator from the http module. Just send the Data array output of the http module to the iterator and you’ll get a bundle per collection.
Hi @vince, try to use the function toString({{data}}) before to perform the replace.
@alex.newpath the issue with this payload is that the array does not have a name so the iterator does not give a workable output. I was able to reproduce Vince issue.
Thanks Loic it worked! Perfect! I did forget about this toString() function… That’s what I needed to be able to work with the raw data! And indeed using replacement of [[ to replace and clean this, it’s then recognized as perfect JSON!