Extract an item and/or its value from an array of collections
Modified on Wed, 29 May at 2:33 PM
Summary
Use the map() function to extract an item (Email) and/or extract the value of an item (a specific email) from an Array of Collections (Names, Emails, IDs). This is useful when a module returns a JSON and you need to extract all or specific values of an item. This is also a good example of how the map() function works.
Video Tutorial
Below is the video showing how to achieve this using a pre-made template using the JSON modules, a router, and the 'set variable' tool. You can find the template used in this scenario here.
Note
'Create JSON' module should be replaced with the module that returns a JSON as an array of collections.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article