Hi there. So, I think what needs to happen is we need to convert the csv data from an "Object" into an "Array". This will give your Apply to Each loop something to work with.
I found this article by @sergeluca which walks you through doing something similar. Give that a go and let us know how it works.
If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.