Move a Nextcloud folder file by file
Ready for 3.0What this workflow does
This workflow has 23 nodes and runs manually, when you click “Execute workflow” (plus 2 other triggers). Along the way it connects Nextcloud.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 2 other triggers).
- Set paths (Edit Fields (Set)): sets or maps fields
- Whether the request is valid (If): checks a condition and branches into true / false
- Whether the request is valid (If): checks a condition and branches into true / false
- Set folder-paths for from and to (Edit Fields (Set)): sets or maps fields
- Stop and Error: stops the run with an error
- Stop and Error: stops the run with an error
- Create to folder if necessary (Nextcloud): work with folder
- Get all folders/files in from-folder (Nextcloud): list (folder)
- Loop over files and folders (Loop Over Items (Split in Batches)): loops over the items in batches
- Whether type is file (If): checks a condition and branches into true / false
…plus 9 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (10)
- Manual Trigger
n8n-nodes-base.manualTrigger - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Webhook
n8n-nodes-base.webhook - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Nextcloud
n8n-nodes-base.nextCloud - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - No Operation, do nothing
n8n-nodes-base.noOp - Stop and Error
n8n-nodes-base.stopAndError
From the author
Description: This template facilitates the transfer of a folder, along with all its files and subfolders, within a Nextcloud instance. The Nextcloud user must have access to both the source and destination folders. While Nextcloud allows folder movement,…