Templates / Move a Nextcloud folder file by file

Move a Nextcloud folder file by file

Ready for 3.0

by Nico Kowalczyk · 3,594 views · created 2023-11-27 · File Management

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What 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).

  1. Set paths (Edit Fields (Set)): sets or maps fields
  2. Whether the request is valid (If): checks a condition and branches into true / false
  3. Whether the request is valid (If): checks a condition and branches into true / false
  4. Set folder-paths for from and to (Edit Fields (Set)): sets or maps fields
  5. Stop and Error: stops the run with an error
  6. Stop and Error: stops the run with an error
  7. Create to folder if necessary (Nextcloud): work with folder
  8. Get all folders/files in from-folder (Nextcloud): list (folder)
  9. Loop over files and folders (Loop Over Items (Split in Batches)): loops over the items in batches
  10. 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

Nextcloud

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)

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,…

Excerpt from Nico Kowalczyk's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.