How to watch multiple folders?

Describe the problem/error/question

I’m wanting to watch multiple folders but when I test my workflow only one of the Local File Trigger nodes will run. How can make multiple Local File Trigger nodes run simultaneously?

What is the error message (if any)?

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

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

A trigger node is what triggers a workflow this can always only be one at the same time.
Of course if you are watching 2 folders you can have it trigger for each of the folders, but it will not be in one flow execution.

What exactly are you trying to do here? I am assuming you are not creating a flow where you want it to trigger when 2 files are updated at the same time.

I just want it to monitor multiple folders to see if any new files have been added in specific folders then it will output a list of files of what has been added. I just want in one flow execution so I can merge them together to create the list

I think you need to schedule the workflow with the schedule trigger and then check the folder manually and filter for modified date. Not sure what the best solution is though as I never install n8n locally to watch a folder.

Or you need to put everything that changed into a table somewhere and then schedule a flow that extracts all from the table and then you have a list to do something with.

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