Help needed for iterating an array

Hi, so I am trying to iterate over an array and I was previously using make.com but it was pretty simple. im confused how to do that in n8n.
So i am getting data from webhook and there is an array of objects called “recording files” and each has object of recordings. Now i need to pass eachof that object through a switch function so that it can take the specific route for finishign the workflow for that specific media type. Please check how should i do it.

I have tried loop over items but how do i pass it the actual array to process and not the entire data coming from webhook? I also tried with aggregate but not working. pls guide me in the right direction.




It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @Bisma_Majeed , instead of Aggregate node you need to use Split Out node. After that you do not even need Loop node. In fact using Loop in your case will break the workflow, at least it will not work in the way you created it. Though, it is a separate topic.