Loop inside loop issue

Hello everyone. I’m new to n8n and I’m running into some issues when trying to integrate one loop inside another.

I’m trying to automate some data extraction. I receive readings every 15 minutes of my electrical parameters from different installations, and I want the workflow to load a CSV every Monday and generate a daily summary.

The logic I used was: I put the list of CSV files in a loop, and inside that loop each file is split into 7 items (1 per day), each containing 24 daily readings. The inner loop then writes a “sheet” with the daily values to the spreadsheet.

The problem is that when I try to process the second file, the inner loop is skipped and does not run, so only the sheet for that location is created, but it doesn’t generate the daily data sheets.

same issue here