I have an array with collection 1 and collection 2 and need to extract a certain value from each collection in the same run. More specifically I want to get the “name” as an output (SBE Digital and Zapmail). See screenshot for clarification.
I tried playing around with the get and map function but can’t seem to get it right.
Hi @Sam_Bastiaens,
Even for complex arrays such as this, you can use the map()
function. If you want the name of each item in the email_account_tag_mappings[]
, you can use this:
{{map(email_account_tag_mappings; "tag.name")}}
https://www.make.com/en/help/functions/array-functions#map-complex-array--key--key-for-filtering---possible-values-for-filtering-separated-by-a-comma--
Cheers,
Henk
Thank you Henk. This fixed it. I was always just using “name” and not “tag.name” hence why it didn’t work.
1 Like