How to Sort an Array?

Which function should I use to retrieve the smallest Order ID when I only need one?


Screenshot_5

[ ] is already the first item in the array. What do you wanna do exactly. If you want to get the data from the first Item (order_id, order_status etc) you can use the map-function.

Take a look here Getting data from a bundle? - #2 by guuyef

or use the make.com docu

2 Likes

I need to obtain the item with the lowest order_id. While it’s sometimes the first item and at other times the second, my goal is to get the one with the smallest order_id, as illustrated in the image below:

Screenshot_7

image
@Sam_Krausz

you need to use the map function to get value from order_ID, and concatenate with first function to get the smallest value.
image

2 Likes