Hi,
Is there a mean to have trigger watching a local folder for new files (something based on chokidar)?
Best regards,
Olivier, new to n8n
Hi,
Is there a mean to have trigger watching a local folder for new files (something based on chokidar)?
Best regards,
Olivier, new to n8n
Welcome to the community @dsa-ols
As far as I know, this is not possible. However, I guess you can be monitoring the file with checkidar (in another process) and when it detects a change, make an HTTP to a workflow that has as an entry point a webhook node.
I case I did not explain myself correctly. Yes, we can create a trigger to do that. What I meant before with “it was not possible”, it’s that currently it’s not posible, cuz such a node does not exist yet.
Hi @RicardoE105,
It would be a nice feature, definitely playing on n8n distinctive advantage vs. other automation solution, i.e. being able to access local/on premises resources.
Do you think it can be inserted in the n8n roadmap reg. nodes? My knowledge in js programming is too little to contribute in a professional way on this
Hey @dsa-ols,
What would you be doing with the files once you have them? I have been thinking about a local file option not only as a node for copy / move / delete / rename actions but also for a trigger so say file created, modified, deleted and maybe things like filters to pick up a file only if it has a metadata file with it.
Hi @Jon ,
Typically my scenario is:
It would be a similar node as the GetFile Processor in NiFi.
Best regards,
Olivier
Hey @dsa-ols,
That sounds exactly like what I was thinking as I wanted to use it for a print solution that does some scanning but is limited with the locations so n8n would be a bit of a bridge to extend it.
Do you run n8n from Docker, NPM or another method? I will bump this project up on my list of things to do unless one of the n8n chaps wants to take it on.
Ha that will do it, I will check it out in a bit and see if it needs any tweaks.