For example, some of my results that I am looping over have nested data. I am currently using {{value.results['0']. id}} essentially hard coded. This works great if there is only ['0']
How can I run the API call for all the .results['0']
Just doing some psuedo code
For each value in code1
For each result in results
Run API Call for result
Is there another way to do this? I did get your method to work, and I appreciate your help! However, I discovered I needed another layer of looping which would require a third sub-workflow. I created a feature request for adding nested looping for anyone who stumbles upon this looking for something similar:
Thank you for the feedback, and I agree this is not easy to set up. We are planning on making this experience better with support for multi-step loops, and will keep in mind this nested loops use case!
Unfortunately, there is no other way currently with loop blocks. The other way to set up this nested loop would be to use a code block and write custom looping logic.
OK - thank you! Quick follow up about the code implementation - would I have to code the entire API request or can I trigger an API Call Block from the Code Block?