# Extract Node does not extract multiple files in a loop node

**URL:** <https://community.n8n.io/t/extract-node-does-not-extract-multiple-files-in-a-loop-node/85358>\
**Category:** Questions\
**Created:** [March 7, 2025, 8:30am UTC](https://community.n8n.io/t/extract-node-does-not-extract-multiple-files-in-a-loop-node/85358 "2025-03-07T08:30:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manage\_Bnb](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/manage_bnb/32/47188_2.png) [@Manage\_Bnb](https://community.n8n.io/u/Manage_Bnb)\
**Post date:** [March 7, 2025, 8:30am UTC](https://community.n8n.io/t/extract-node-does-not-extract-multiple-files-in-a-loop-node/85358/1 "2025-03-07T08:30:57Z")

</div>

## 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

---

<div class="post-metadata">

**Author:** ![jksr](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jksr/32/132705_2.png) [@jksr](https://community.n8n.io/u/jksr)\
**Post date:** [March 7, 2025, 10:24am UTC](https://community.n8n.io/t/extract-node-does-not-extract-multiple-files-in-a-loop-node/85358/2 "2025-03-07T10:24:37Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Manage\_Bnb](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/manage_bnb/32/47188_2.png) [@Manage\_Bnb](https://community.n8n.io/u/Manage_Bnb)\
**Post date:** [March 10, 2025, 7:26am UTC](https://community.n8n.io/t/extract-node-does-not-extract-multiple-files-in-a-loop-node/85358/3 "2025-03-10T07:26:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Manage\_Bnb](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/manage_bnb/32/47188_2.png) [@Manage\_Bnb](https://community.n8n.io/u/Manage_Bnb)\
**Post date:** [March 10, 2025, 7:29am UTC](https://community.n8n.io/t/extract-node-does-not-extract-multiple-files-in-a-loop-node/85358/4 "2025-03-10T07:29:31Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [March 17, 2025, 7:30am UTC](https://community.n8n.io/t/extract-node-does-not-extract-multiple-files-in-a-loop-node/85358/5 "2025-03-17T07:30:25Z")

</div>

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