Extract Node does not extract multiple files in a loop node

Describe the problem/error/question

The extract node cant extract an array of files. Only the first file was extracted.

What is the error message (if any)?

No error message

Please share your workflow

Share the output returned by the last node

I have 2 csv files in OneDrive and i expect the 2nd one to be extracted too.

Information on your n8n setup

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

Hey @Manage_Bnb have you tried to do it without the loop? If you have 2 items, n8n will automatically run each step for each item and you don’t need a loop.

Yes, I tried using without the loop. n8n will auto combine the extracted file. This happened because this files have the same data structure.

Already resolve this. I still used the loop but I added a code where it updates the list of files to be extracted. Before, it extracts from the same file because I’m not telling n8n that this file’s data is already extracted. I added code node that will tell this to n8n and it worked

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.