Last and First Expression in Cloud Flows – Part II
We have already seen how to extract character from string in Cloud flows.
Let see how we can get first and last value in array.
I have array of list of records (account records), want to get 1st value in array.

Array –

Add a compose step in flow and use below syntax to get first value.
Syntax- first(<array>)

Output –

Similarly, we can get last value in array.
Syntax – last(<array>)

Output –

Hope this helps !