How the n8n Nextcloud integration moves files, folders and shares
A team that wants contracts, scanned forms or approved reports to move between Nextcloud and other business systems without manual copying should start with the n8n Nextcloud node, which works against Nextcloud's own API rather than the filesystem behind it. The node covers the file, folder and share operations that most document workflows need, and this section explains what it does and where it stops. Anything outside those operations, such as user administration, app settings or calls to endpoints the node does not expose, needs the HTTP Request node pointed at the same Nextcloud credential, and the team should plan for that before the build starts.
The node reads and writes files, creates and moves folders, and creates and manages shares, so a workflow can pull a document from a Nextcloud folder into a ticketing or ERP step, or publish a generated file into a shared folder and return a share link. Each of these operations runs under the account in the Nextcloud credential, which means the permissions of that account decide what the workflow can see. Before go-live, confirm with your Nextcloud administrator which user the credential belongs to, which folders that user can reach, and whether share creation is allowed for that account. Test each operation against a non-production folder first, because a misdirected move or a share with the wrong recipients is hard to reverse cleanly.
Licensing and code ownership affect the design. n8n is source-available under the Sustainable Use License, not OSI open source, so confirm that your intended use, including internal business automation, fits the terms in n8n's license file before you deploy. Nextcloud Server is licensed under AGPL-3.0, which governs the Nextcloud side of the integration and any changes you make to Nextcloud itself. Keeping the two licenses separate in your review, and recording which apps and custom nodes your workflows depend on, makes the later compliance and upgrade work much easier.
What the integration needs before the first workflow runs
Four pieces have to be in place before any node runs: a supported Nextcloud release on a database and PHP version it supports, a self-hosted n8n instance, a dedicated Nextcloud account the workflows authenticate as, and a network path with valid certificates between the two. Checking these first avoids most of the rework that comes later.
Supported Nextcloud release
Run Nextcloud 35, or a release still inside its support window. Nextcloud 33 is supported until February 2027, Nextcloud 34 until June 2027, and Nextcloud 35 until September 2027, with Nextcloud 36 scheduled for 17 February 2027. If your upgrade window falls after a release loses support, plan the upgrade before the workflows go live, since Nextcloud requires one major version at a time. Confirm the dates against the maintenance schedule.
- Nextcloud 35 release
- 16 Sep 2026
Recommended database and PHP
Nextcloud 35 recommends MariaDB 11.8 or PostgreSQL 18, and supports PHP 8.5 with 8.3 and 8.4 also accepted. Match these to your existing estate before you pick the release, because a database or PHP version outside the supported range will block the upgrade path. Oracle Database is only available with an enterprise subscription. Confirm the exact combination with the system requirements page for your target release.
System requirementsSelf-hosted n8n instance
The integration runs on an n8n instance you operate, reached from your own network. The Community edition is free for internal business use under the Sustainable Use License, and the Nextcloud node itself is available without a paid plan. Decide early whether n8n runs in a single process or in queue mode, because queue mode requires the encryption key to be shared with every worker that reads Nextcloud credentials. Confirm your license position with n8n before you embed the workflows in a product.
n8n pricingDedicated Nextcloud service account
Create a separate Nextcloud user for n8n rather than reusing a person's login. Scope its group membership and folder shares to the document paths the workflows touch, and generate an app password for that account so the workflow credential can be revoked without changing a user's password. Record who owns the account, since every file move, share change and deletion the workflow makes will appear in Nextcloud under that identity.
Network paths and certificates
n8n has to reach the Nextcloud WebDAV and OCS endpoints over HTTPS, and Nextcloud has to reach n8n's webhook URL if you use triggers. Confirm that firewalls, reverse proxies and any egress controls allow the traffic in both directions, and that Nextcloud's certificate chain is trusted by the n8n host. A self-signed or internal certificate that is not in the n8n trust store causes failures that look like authentication errors, so test the connection with a read-only request first.
Storage and sharing policy
Before the first run, decide which folders the workflows may read, write and share, and whether external share links may be created automatically. Check the Nextcloud sharing settings and any group folder quotas that apply to the service account, because a permission that works in a test folder can fail in a department share. Write these rules down so the workflow owners and the Nextcloud administrators review the same scope.
How to configure the Nextcloud node in n8n step by step
This sequence takes a team from a dedicated Nextcloud account to a tested n8n credential, a read-only listing workflow and then write operations, with a check at each stage before production files are involved.
Create a dedicated Nextcloud service user
A Nextcloud administrator creates a separate user account for n8n and shares only the folders the workflows need with it, rather than reusing a personal or administrator login. Keep the account's group memberships minimal and record which folders it can reach. The step is done when the administrator can log in as that user in the web interface and sees only the intended folders. Confirm with your Nextcloud administrator how your instance handles app passwords and whether a service account policy applies before you start.
Create and test the n8n Nextcloud credential
In the n8n instance, the workflow owner creates a new Nextcloud credential, entering the server URL and the dedicated user's login details, then runs the built-in credential test. Store the credential in a project or environment that only the people who maintain these workflows can access. The step is done when the credential test reports success. If it fails, check the server address, the protocol, and whether the account is locked or requires a different authentication method on your instance.
Set up a test folder before touching production data
Ask the Nextcloud administrator to create a test folder, for example one named for the workflow project, and share it only with the service user. Place a few sample files and subfolders in it that mirror the structure of the real data, including file names with spaces and a nested path. Use this folder as the only target for every workflow until the sequence is verified. The step is done when the test folder is visible to the service user and nowhere else in the production tree.
Build a read-only workflow that lists the test folder
Create a workflow with a manual trigger and a Nextcloud node set to a folder list or file list operation, pointed at the test folder path. Run it once and inspect the output panel. The step is done when the output lists the sample files and subfolders with the names and paths you placed there. If the list is empty or returns an error, compare the path with the one shown in the Nextcloud web interface, since path case and leading slashes are common causes of mismatches.
Add a download and read step to the workflow
Extend the read-only workflow with a Nextcloud operation that downloads one file from the test folder and pass its binary data to a later node, such as a node that reads its size or name. Run the workflow again and confirm the downloaded item matches the source file in the web interface. The step is done when the file arrives intact and the workflow still makes no changes on the server. Keep this check in the workflow as a regression test for later changes.
Add upload and move operations in the test folder
Add an upload operation that writes a generated file into a subfolder of the test folder, then a move operation that relocates it to a second subfolder. Run each change separately so a failure is easy to trace. The step is done when the uploaded file appears in the expected location in the Nextcloud web interface and the move leaves no copy at the original path. Record the exact paths used, since these are the values you will parameterize later.
Create and verify a share
Add an operation that creates a share on a test file or folder, selecting the share type and permissions your policy allows, and send the resulting link to a test recipient or review it in the sharing panel. Confirm in the Nextcloud web interface that the share exists, that its permissions match the workflow settings, and that you can revoke it. The step is done when the share is visible in the web interface with the expected permissions. Only after this check should the workflow be pointed at production folders, with the same credential and a reviewed path list.
Which file, folder and share operations to use and when
File operations cover the work most document workflows start with: moving a file into Nextcloud from a form, mail attachment or upstream system, retrieving it for processing, and relocating or copying it between paths. Confirm in your n8n version's node documentation which file actions are exposed as operations, because coverage changes between releases. Anything the node does not expose should be handled through the HTTP Request node against the Nextcloud WebDAV endpoint, using the same credential.
- Upload and download: Check how the node handles binary data and file names, and how it treats a path that already exists before you rely on it for intake.
- Move and copy: Confirm whether the node overwrites a destination file silently. A move that targets an existing path can replace the only copy of a document.
- Delete: Deletion in Nextcloud may place items in a trash area with a retention window, which depends on server settings. Confirm that setting on your instance rather than assuming recovery is possible.
- Gaps: Versions, tags and file locking may not be exposed as node operations. Plan an HTTP Request fallback and test it separately.
- Permissions: The account behind the credential decides what a workflow can read or remove, so use a service account scoped to the folders the workflow needs.
Before production, run every file operation against a test folder and confirm the overwrite and delete behavior in your version.
Folder operations shape the structure that file workflows depend on: creating a dated or per-case folder before intake, listing contents to drive a loop, and removing folders when a process closes. Folder deletion is the highest-impact action in this group because it removes everything beneath the path in one step. Check the operation list in your n8n version to see which folder actions the node exposes, and treat any action not listed there as an HTTP Request task.
- Create: Confirm whether creating a folder that already exists returns an error or is ignored, since loops that create folders may run more than once.
- List: Listing returns the children of a path. Check whether results are paginated or depth-limited before you use them to drive batch processing.
- Delete: Deleting a folder removes its contents with it. Guard this action with an explicit allowlist of paths and a manual approval step where the workflow is not fully trusted.
- Paths: Confirm how the node encodes spaces, special characters and nested user folders, and test with the exact naming your teams use.
- Scope: Limit the service account to the folder trees the workflow owns, so a mistaken path cannot reach unrelated departments.
Check the delete behavior and path handling in your version, and record the result as part of your change control evidence.
Share operations control who can reach a file or folder outside the normal access model. Creating a public link, a user share or a group share can expose content to people who never sign in to Nextcloud, so this group carries the most governance weight. Expiry and password settings are the controls that limit that exposure. Confirm in your n8n version whether the node exposes expiry, password and permission settings as parameters, and whether it can update or revoke an existing share.
- Public shares: Check whether the node can set a password and an expiry date at creation. A public link without either setting should be an explicit, reviewed choice.
- User and group shares: Confirm which permission levels the node can set, such as read or edit, and whether it applies them to existing shares.
- Revocation: Confirm that a workflow can delete a share. Revocation is the control that matters when a process ends, so test it.
- Server policy: Nextcloud administrators can enforce rules on share passwords, expiry and sharing scope. Node parameters cannot override a stricter server policy, so align the workflow with those settings.
- Gaps: If the node does not cover a needed setting, use the HTTP Request node against the sharing API and log each call.
Review share settings with your security team and confirm the results in a test instance before the workflow handles real client or patient documents.
How n8n fields map to Nextcloud paths, users and shares
This table compares the n8n fields you configure with the Nextcloud concepts they read or write: accounts, folder paths, file metadata and shares. Read each row to decide which account the credential uses and which values you pass between systems. The main takeaway is that every path and share in a workflow belongs to a specific account, so the account choice shapes what the workflow can see and what it leaves behind.
| Concept | In n8n | In Nextcloud | What to confirm |
|---|---|---|---|
| User identity | The Nextcloud credential holds the login the node uses for every call | One user account whose groups and share permissions decide which files the workflow can read or write | The account can reach every folder in scope, and a dedicated service account is used rather than a personal one |
| Folder path | A workflow parameter or expression holding a path under the account's files | A path relative to that account's own files root, so the same string can resolve to different content for another account | The exact path format the node expects on your version, and whether leading or trailing slashes are normalized |
| Path case | Values passed as typed, including any values taken from another system | Names are matched according to the storage backend, which can treat differently cased names as distinct or as the same | Whether your storage backend is case-sensitive, and test a renamed folder before relying on case-only differences |
| File name and modification time | Output fields for name, path, size and last modified time that feed downstream nodes | Metadata as stored on the server, with time values that downstream systems may read in a different timezone | Field names and time formats in the node output, and how the receiving system parses them |
| Share type | A share operation that specifies the recipient type, such as a user, group or public link | Each share type grants a different kind of access, and public links can be reached without an account | Which share types the node supports on your version and which ones your policy allows for external recipients |
| Share permissions | A permissions value set when the share is created or updated | Read, edit and other permission bits control what the recipient can do with the file or folder | The minimum permission the receiving system needs, so the share grants no more than that |
| Share ownership | The share is created through the account in the credential | A share created by a service account is owned by that account, so its visibility and lifecycle follow that account | Who owns shares after a service account is renamed, disabled or removed, and a documented owner for each share class |
How a document moves from Nextcloud through n8n to another system
The flow starts with a schedule or webhook trigger in n8n, which runs a workflow inside the internal network. The Nextcloud node calls the Nextcloud server through its API to read a file or folder, and a transform step reshapes the content before it is written to an ERP or archive system on the same network. The credential store holds the Nextcloud login that the node uses, so that secret stays inside the trust boundary. A share link is the only item that leaves the network, and it reaches an external recipient only when the workflow creates one. Check which account the credential uses, which share permissions and expiry the workflow sets, and who can see the link.
Document flow with trust boundaries, credential store and share links.
Security controls for Nextcloud credentials, shares and webhooks
A workflow that moves files between n8n and Nextcloud gives an automation tool standing access to document storage. The controls below cover who the integration can reach, how its credential is stored, how shares and inbound webhooks are exposed, and how both platforms are kept patched and logged.
Least-privilege service account and folder scope
Create a dedicated Nextcloud user for n8n instead of reusing a person's account, and share into it only the folders the workflows need. Confirm that the account cannot reach other teams' spaces, cannot change group membership and is not an administrator. Review the account's folder list whenever a workflow is added, because scope tends to grow one share at a time. Ask your Nextcloud administrator how group folders and sharing permissions will limit the account before the first workflow goes live.
Credential encryption and editor restrictions
n8n stores the Nextcloud credential in its database encrypted with the instance encryption key, so the key is as sensitive as the credential itself. Keep the key in a secrets store, back it up separately from the database, and never commit it to a repository. Restrict credential creation and editing to a small group of n8n users, since anyone who can open a credential can often reuse it in another workflow. Check that a project-level role keeps other teams from viewing it.
Encryption key sharing in queue mode
In n8n queue mode, the main instance's encryption key must be shared with every worker and webhook processor so they can decrypt the Nextcloud credential. Each new worker, and each copy of the key placed on it, widens the set of hosts that can read stored secrets. Confirm that the key is delivered by your secrets process to each process type, that the same value is set everywhere, and that a key rotation is planned as a coordinated change across all nodes.
Queue mode docsPublic share links with expiry and passwords
When a workflow creates a public share link in Nextcloud for an external recipient, set an expiry date and a password wherever the recipient's process allows it. Links without these controls remain valid and reachable until someone removes them, and a workflow that creates many links can leave a long trail of open access. Decide which share types the workflow may create, and have the workflow record each link it creates so the links can be reviewed and revoked.
Webhook exposure and outbound request controls
Workflows that start from a Nextcloud event or an inbound call expose a webhook URL, so restrict it to the source systems that need it, put it behind your reverse proxy and make sure it is reachable only from the networks that should call it. On the outbound side, limit which hosts n8n can call so a compromised workflow cannot send file content to arbitrary destinations. Confirm with your network team which Nextcloud hostnames and ports are allowed and block everything else.
Audit logging on both systems
Log on both sides so one file movement can be traced end to end. In Nextcloud, review the audit and activity records for the service account, shares and folder changes. In n8n, keep execution history for the workflows that touch files and forward instance logs to your central system. Ask your team to confirm how long each log is kept, who can read it and whether the two sets of records can be matched by time, account and file path.
Patching both platforms on their release cadence
Plan patching for both platforms as recurring work, not one-off projects. Nextcloud publishes a new major version every four months and supports each for one year through monthly maintenance releases that fix known critical bugs and security problems. n8n ships minor releases roughly weekly under semantic versioning. Schedule a test instance upgrade before each production change, back up before every Nextcloud upgrade, and confirm that any Nextcloud app and n8n node used by the workflows still works after the change.
Nextcloud release scheduleHow to test document workflows before they touch production files
Test every document workflow against a staging Nextcloud instance or an isolated test folder before it runs on production files. A move or delete in Nextcloud can affect shares, versions and the people who depend on a folder, so the test environment should mirror the production paths the n8n Nextcloud node will read and write, using the same user or app credential the live workflow will use. Build the test set from sample files with known names, sizes and modification dates, and record the expected result for each file before the first run. That gives you something to compare against instead of judging the output by eye afterward.
Design the test cases around the failures that matter in document automation. Check what happens when a target file already exists, so you know whether the workflow overwrites it, renames it or stops. Run duplicate uploads of the same file and confirm the result is one copy, not two. Remove write permission from the test account on one folder and confirm the workflow reports a failure rather than skipping the file silently. For every move or delete, confirm a rollback path exists: a copy kept in a holding folder, a documented restore step from Nextcloud's versions and trash features, or a backup you can restore from. Confirm the restore works in staging before you rely on it. Verify the check results with your own run logs and the file listing, not only the n8n execution status.
Treat Nextcloud upgrades as a change that needs the same test pass. Nextcloud requires a backup before every upgrade and does not allow skipping major releases, so plan each step as a separate staging run. Disable third-party apps until you have confirmed they are compatible, and rerun the full test set after each upgrade, since a changed app, API behavior or permission model can break a workflow that worked before. Confirm with your Nextcloud administrator which backup method and restore time apply to your deployment, and keep the staging instance on the same major version as production so the results carry over.
Why Nextcloud node workflows fail and how to fix them
This table lists the failures teams most often hit when the n8n Nextcloud node runs in production, with the likely cause and the first check for each. Read it as a triage guide: find the symptom that matches your workflow, then work through the cause column before changing settings.
| Symptom | Likely cause | First check or fix |
|---|---|---|
| Credential test fails | Wrong base URL, an app password not created for the n8n user, or the server certificate not trusted by the n8n host | Confirm the base URL includes the correct scheme and path, generate a new app password for the account, and confirm the n8n container or host trusts the internal certificate authority |
| 403 or missing folder on read | Service account lacks share or folder rights, or the folder sits outside the account's visible tree | Log in as the service account in the Nextcloud web interface and confirm it can open the same folder before debugging the node |
| Path not found with special characters | Accents, spaces, ampersands or trailing characters in folder or file names do not match the path the node sends | Copy the exact path from the Nextcloud file browser, test with a simple name first, then add special characters one at a time |
| Path not found due to letter case | Nextcloud paths are case-sensitive for the node request even when the web interface looks similar | Compare the workflow path character by character with the folder name shown in the web interface |
| Share creation fails | The user behind the credential lacks re-share permission on the file or folder, or sharing is restricted by server policy | Confirm the account owns or can re-share the item, and ask the Nextcloud administrator whether sharing policy blocks the action for that group |
| Workflows break after a major upgrade | Node operations or Nextcloud API responses changed, or a third-party app that the workflow depends on was disabled during the upgrade | Upgrade one major version at a time, back up before each step, rerun a test workflow in a staging instance, and check which apps are re-enabled after the upgrade |
| Queue mode workers cannot read credentials | The main instance encryption key was not shared with worker and webhook processor nodes, so stored credentials cannot be decrypted | Confirm every worker and webhook processor uses the same encryption key as the main instance, then restart the workers and rerun a test execution |
| Intermittent failures under load | Workers have insufficient memory or concurrency settings for large file transfers, or timeouts are shorter than the transfer time | Test with representative file sizes on a worker, review timeout settings on the Nextcloud reverse proxy, and confirm the proxy allows the upload size you need |
Questions buyers ask before connecting n8n to Nextcloud
Is the Nextcloud node included in every n8n plan?
Yes, the Nextcloud node is part of the integration set that n8n says every plan includes. According to n8n's pricing page, all plans include unlimited users, unlimited workflows and every integration, so the node does not add a licensing line item. What changes by plan is the features around the workflows, such as SSO and LDAP, environments with Git, and log streaming, which the pricing page limits to the Business and Enterprise plans. Confirm the current plan details on n8n's pricing page before you buy, because n8n can change its plan contents.
Do we need Nextcloud Enterprise to use the n8n Nextcloud integration?
No. The integration works with the community edition of Nextcloud, and Nextcloud Enterprise is an optional paid offering from Nextcloud GmbH aimed at enterprise, public sector and education users. Enterprise adds maintenance terms, support hours and, at higher tiers, clustered instance support and faster response times. Decide on it based on your support and lifecycle needs, not on the node itself. If you do buy it, the price is set by user count, with a 100-user minimum, and the list prices are on Nextcloud's pricing page.
What drives the cost of an n8n and Nextcloud project?
Cost depends on the scope of the work, not on the node's price. The main drivers are the number of workflows, the number of operations beyond the basic file and folder actions, the number of systems on each end, and how much testing the workflows need before production. A workflow that only copies files between one Nextcloud folder and one system is far smaller than a set of workflows that move shares, update permissions, write metadata into a line-of-business system and handle failures. Ask any provider for a quote built from a written list of workflows, the systems involved and the test cases, with one-time build costs listed separately from any recurring support.
How long does an n8n and Nextcloud integration take to build?
The duration depends on the same factors as cost: how many workflows you need, how many systems they touch, whether the work goes beyond the Nextcloud node, and how much testing and sign-off your organization requires. This page does not state a timeline because no researched figure is available for it. Ask for a schedule that lists each workflow, its dependencies, the test environment you will use and the dates for review and go-live. A useful check is whether the schedule includes time for the upgrade and backup steps that Nextcloud requires.
What do we need to provide before the integration work starts?
You need to provide working access and clear ownership on both sides. On the Nextcloud side, that means an administrator account or app credentials for the target instance, the list of folders and shares in scope, and the group or user structure that controls who can see them. On the n8n side, you need a test instance where workflows can be built and checked before production, plus the credentials for each other system. Confirm which Nextcloud version you run, because Nextcloud 35 was released on 16 September 2026 and each major version has a defined support window, so the integration must match your version and your upgrade plan.
Can our internal team build and run this alone?
Often yes, if your team already runs n8n and Nextcloud and has someone who can design and test workflows. The work is manageable when the scope is small, the systems are well documented and the workflows are simple. It becomes harder when you need operations the node does not cover, when several systems have to stay in sync, or when security reviewers expect test evidence and documented permissions. Assess your team honestly against those points. A fixed-scope engagement can cover the build and handover while your team keeps ownership of the running system.
What should we confirm in our own environment before we connect n8n to Nextcloud?
Confirm the Nextcloud version and its support status, the database and PHP versions it runs on, and whether third-party apps are installed and confirmed compatible. Check who can create the Nextcloud app credentials and how they will be stored, because n8n holds them in its credential store, and in queue mode every worker needs access to the same encryption key. Confirm the network path between n8n and Nextcloud, any proxy or firewall rules, and whether file contents may leave your network. Finally, confirm your backup schedule for both platforms and test a restore before the first production run.
Which risks should we review before automating Nextcloud files?
The main risks are over-broad permissions, workflows that move files into systems without the same access rules, duplicated or deleted files, and failed runs that go unnoticed. Give the integration a dedicated Nextcloud account with the narrowest rights that its workflows need, and keep audit logs for both platforms. Test failure paths, such as a missing folder or a locked file, and decide who is notified. Also review your upgrade plan. Nextcloud does not allow skipping major releases, so each upgrade needs a backup and a check that the workflows still run.
How DeployOpen scopes and delivers the n8n and Nextcloud integration
DeployOpen plans and builds n8n and Nextcloud workflows inside infrastructure you control, with the scope agreed in writing before work starts. Each step is documented so your own team can run, review and extend the integration after handover.
How we scope
- Inventory the Nextcloud paths, shares and groups that workflows will read or change, and who owns each one.
- Agree which file events trigger n8n, which systems receive files, and where processed documents are stored.
- Confirm the n8n edition and any paid features the design needs before build starts, such as SSO or queue mode.
- Set the written scope, deliverables and timeline with you. Engagements are fixed-scope, and the quote follows from that scope.
How we build
- Create Nextcloud credentials under a dedicated service account with only the permissions each workflow needs.
- Build the move, copy, folder and share operations in n8n, with error branches that log and alert on failed transfers.
- Test workflows against a copy of your folder structure, including large files, nested folders and share permission changes.
- Check the Nextcloud version and any installed apps against the n8n node before go-live, and record the results.
How we hand over
- Document each workflow: trigger, inputs, Nextcloud operations, downstream systems, credentials and failure handling.
- Walk your administrators and workflow owners through the build, the test results and the recovery steps.
- Deliver the exported workflow definitions and the list of credentials, with secrets kept in your own credential store.
- Agree the upgrade process for both n8n and Nextcloud, including taking a backup before each change.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer, scoped separately from the build.
- Retesting after Nextcloud major upgrades, since each major release must be installed one version at a time.
- Review of workflow changes and access as new folders, teams or sharing rules are added to your document processes.
- Ask any provider to confirm which Nextcloud and n8n versions their support covers before you sign.

