This n8n workflow automates the process of transferring scanned PDF documents to Nextcloud, triggered on a regular schedule. It ensures that scanned documents from a USB scanner are automatically uploaded to a specific Nextcloud folder, streamlining digital document management.
The workflow starts with a Schedule Trigger that activates at set intervals (e.g., every few hours). Once triggered, it sends an HTTP request to a local API endpoint (assumed to be from a scanner interface or scan management system like ScanServJS) to retrieve the latest list of files (scans). The URLs or filenames of these scans are extracted from the API response.
Next, the workflow makes a second HTTP request to fetch the actual scanned PDF files from the scanner API, using the filenames obtained previously. These files are received as binary data.
Finally, the binary data is uploaded directly to a designated folder in Nextcloud, with the folder path dynamically set based on the filename, ensuring each scan is correctly stored.
This setup is especially useful in environments where frequent document scanning is needed, such as offices or digitization projects, providing an automated, reliable way to organize scanned documents without manual upload efforts.
Reviews
There are no reviews yet.