Data from API Call is not broken down into multiple variables

Hi Make Experts,

I am using a Linkedin API call to retrieve information of a Linkedin Profile. I wanted to find out which companies the person worked for. However, when the information comes in, it comes in as a single bundle. When i try to map this information in the subsequent workflows, it only returns the information for the most recent company.

When i checked, the individual has worked for more than 10+ companies. How am i able to get the information for the rest of the companies?

Also, how do i make it dynamic given that some people work for different number of companies, like Person A worked for 3 companies and Person B worked for 10+ companies?

Thanks very much!

Hi,
You can use an Iterator after retrieving the data from the LinkedIn API. It would allow you to process each company individually in subsequent workflows instead of just processing the most recent one. If you supply the array containing all companies worked for to the Iterator, it will create an output bundle for each entry in that array.