Cleaning up files after Local File Trigger Node

Hi Folks,

Just started using n8n. Have been using Zapier before.

I’m building some automation that does the following:

  1. Listen to Ingest folder for files to be dropped for processing.
  2. Pick up files for processing, process them
  3. Move the files over to Processed folder, rename them to add timestamp

It is important that files be moved after processing to the Processed folder for downstream systems to keep track of etc.

While looking at the Local File Trigger node, I found that it can watch the Ingest folder and initiate processing. But there are no purpose-built nodes in n8n that do file operations (such as move and rename). Still trying to piece this together and I have a few questions:

Q1. If I run the n8n server (locally hosted for now) and the Local File Trigger node fires as files are dropped, what will happen if I restart the n8n server and I have not moved the files from Ingest folder? Will this node fire again?

Q2. Looks like I have to write some command line to move files over. Are there any n8n-native ways to do this?

Thanks in advance!
ZeeKay

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