is there an equivalent function that I can use with Make? I’d prefer not to loop through the entire array with an iterator - if possible - to avoid wasting operations.
If you want to learn more about Make, you can read up in the Help Center. I also recommend doing the tutorials in the Make Academy, and learn advanced skills like how to make custom apps to any API in the Make Partner Training Portal - both have certificates for successful completion.
I’ve just tried this and unfortunately it’s not working for me. There’s a couple of issues -
I need to search the array based on the id
If I use {{parseNumber(first(map(1.items; "value"; "id"; 2)))}} then I get an error:
The operation failed with an error. Failed to map ‘0.value’: Function ‘parseNumber’ finished with error! ‘e’ is not a valid number or using unsuitable separator.
I’ve tweaked my JSON slightly to produce an array -