Loop over Node processes only the first file in the folder

Describe the problem/error/question

I am facing an issue where the loop node is only taking the first item in the folder and only storing that in the vector database. How do I make it so that all 24 items are looped not just 1 item.

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

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

hello @Anthony_Chet

Why do you need the loop node? Did you try without it?

When I do that it doesn’t vectorize the text into embeddings it just stops at the data loader.

That’s not “without”. It’s still there, so you are processing only the first item out of 24 :sweat_smile:

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