
NEXTCLOUD n8n INTEGRATION: AUTOMATE NEXTCLOUD WITH N8N
NEXTCLOUD N8N INTEGRATION: AUTOMATE NEXTCLOUD WITH N8N
Need help automating Nextcloud with n8n?
Our team will get back to you in minutes.
Why automate Nextcloud with n8n?
The NextCloud n8n integration gives you access to 16 distinct actions spanning file operations, folder management, user administration, and sharing capabilities. This means you can automate virtually any task you'd normally perform manually in your NextCloud interface—from creating folders and uploading files to managing user accounts and configuring sharing permissions.
Significant time savings become immediately apparent when you stop manually uploading documents, organizing folders, or creating user accounts one by one. Set up smart rules that automatically move files to the right directories based on their content, upload incoming documents from other apps straight to NextCloud, or provision new users the moment they're added to your HR system. What used to take hours of repetitive clicking now happens in milliseconds.
Zero oversight on file operations means your workflows run 24/7 without supervision. Automatically archive old invoices to dated folders, clean up temporary files after processing, or sync documents between NextCloud and other platforms. Every file operation triggers exactly when it should, every time.
Concrete use cases include: automatically uploading email attachments to specific NextCloud folders, creating user accounts when someone joins your Slack workspace, sharing project files with clients when a deal closes in your CRM, organizing downloaded files into dated directories, or backing up important documents from other cloud services like Dropbox to your self-hosted NextCloud instance.
How to connect Nextcloud to n8n?
! 1 stepHow to connect Nextcloud to n8n?
- 01
Add the node
Search and add the node in your workflow.
TIP💡 TIP: Always use app-specific passwords instead of your main NextCloud password. This allows you to revoke access to n8n independently without changing your primary credentials, and it's a security best practice for any third-party integration with your self-hosted services.- 01
Need help automating Nextcloud with n8n?
Our team will get back to you in minutes.
Nextcloud actions available in n8n
01 Action 01Update User
The Update User action allows you to modify existing user account details within your NextCloud instance directly from your n8n workflows. This is particularly valuable for keeping user information synchronized across multiple systems or implementing bulk user profile updates.
Key parameters:
- Credential to connect with: Required dropdown to select your pre-configured NextCloud account credentials for authentication.
- Resource: Required dropdown set to "User" to indicate this action operates on user accounts.
- Operation: Required dropdown set to "Update" to modify an existing user's information.
- Username: Required text field where you specify the exact username of the account to update (e.g., "john").
- Update Fields: Dynamic section where you add specific profile fields to modify. Click "Add option" to include fields like display name, email, quota, or group memberships.
Use cases:
- Sync employee title changes from your HR system to NextCloud user profiles
- Update user quotas automatically when subscription tiers change
- Bulk-modify group memberships based on department reorganizations
- Keep email addresses synchronized between your identity provider and NextCloud

02 Action 02Get Many Users
The Get Many Users action retrieves a list of user accounts from your NextCloud instance, making it essential for auditing, reporting, or triggering subsequent actions based on your user base.
Key parameters:
- Credential to connect with: Required dropdown to select your NextCloud account credentials.
- Resource: Required dropdown set to "User" for user-related operations.
- Operation: Required dropdown set to "Get Many" to retrieve multiple user records.
- Return All: Optional toggle that, when enabled, retrieves every user account regardless of the Limit setting.
- Limit: Optional text field accepting a number (default: 50) that caps how many users are returned when Return All is disabled.
- Options: Expandable section for additional filtering or output customization parameters.
Use cases:
- Generate weekly reports of all active NextCloud users
- Audit user accounts to identify inactive profiles for cleanup
- Feed user lists into other workflow branches for targeted notifications
- Compare NextCloud users against your master identity system

03 Action 03Get User
The Get User action retrieves detailed information about a specific NextCloud user account. Use this when you need to check a user's current status, quota usage, or profile details before performing other operations.
Key parameters:
- Credential to connect with: Required dropdown for selecting your NextCloud authentication credentials.
- Resource: Required dropdown set to "User" to target user accounts.
- Operation: Required dropdown set to "Get" to fetch details for a single user.
- Username: Required text field where you enter the specific username to look up (e.g., "john").
Use cases:
- Verify a user exists before attempting to share files with them
- Check remaining quota before uploading large files on behalf of a user
- Retrieve user email addresses for notification workflows
- Validate user group memberships before granting access to resources

04 Action 04Delete User
The Delete User action permanently removes a user account from your NextCloud instance. This is powerful for offboarding automation but should be used carefully given its irreversible nature.
Key parameters:
- Credential to connect with: Required dropdown to authenticate with your NextCloud instance.
- Resource: Required dropdown set to "User" for user management operations.
- Operation: Required dropdown set to "Delete" to remove the specified user.
- Username: Required text field specifying the account to delete (supports both fixed values and dynamic expressions).
Use cases:
- Automate employee offboarding by removing NextCloud access when HR marks someone as departed
- Clean up test accounts after development or QA workflows complete
- Remove external contractor accounts when project engagements end
- Implement user lifecycle management triggered by identity provider webhooks
💡 TIP: Always implement a confirmation step or waiting period in your workflow before executing user deletions. Consider archiving the user's files to a backup location first—once deleted, recovery may be difficult or impossible.

05 Action 05Create User
The Create User action provisions new user accounts in your NextCloud instance, complete with username, email, and optional additional profile fields. Essential for onboarding automation.
Key parameters:
- Credential to connect with: Required dropdown to select your NextCloud account credentials.
- Resource: Required dropdown set to "User" to indicate user account creation.
- Operation: Required dropdown set to "Create" to provision a new account.
- Username: Required text field for the new user's login name (e.g., "john").
- Email: Required text field for the new user's email address (e.g., "john@email.com").
- Additional Fields: Expandable section via "Add Field" button to set optional properties like display name, password, groups, or quota.
Use cases:
- Automatically create NextCloud accounts when new employees are added to your HR system
- Provision accounts for external collaborators when deals close in your CRM
- Set up student accounts in bulk at the start of academic terms
- Create temporary accounts for webinar attendees who need document access

07 Action 07Move Folder
The Move Folder action relocates folders (or files within them) from one path to another in your NextCloud storage. This is invaluable for implementing automated file organization systems.
Key parameters:
- Credential to connect with: Required dropdown for authentication credentials.
- Resource: Required dropdown set to "Folder" for folder operations.
- Operation: Required dropdown set to "Move" to relocate items.
- From Path: Required text field with the current full path including filename if applicable (e.g.,
/invoices/old_name.txt). - To Path: Required text field with the destination path and new name if renaming (e.g.,
/invoices/new_name.txt).
Use cases:
- Archive completed project folders to a yearly archive directory
- Move processed files from an inbox folder to organized category folders
- Implement automatic file renaming based on metadata or timestamps
- Reorganize folder structures during migration or cleanup operations

08 Action 08List Folder
The List Folder action retrieves a complete listing of files and subfolders within a specified directory. Essential for building workflows that need to process multiple files or verify folder contents.
Key parameters:
- Credential to connect with: Required dropdown for NextCloud credentials.
- Resource: Required dropdown set to "Folder" for directory operations.
- Operation: Required dropdown set to "List" to enumerate contents.
- Folder Path: Required text field specifying the directory to list (e.g.,
/invoices/2019/).
Use cases:
- Scan incoming folders for new files to process
- Generate file inventories for compliance or auditing
- Check if expected files exist before triggering dependent workflows
- Build dynamic workflows that iterate over folder contents

09 Action 09Delete Folder or File
This action permanently removes a folder or file from your NextCloud storage. Use it for cleanup automation, but implement safeguards given the destructive nature of deletion.
Key parameters:
- Credential to connect with: Required dropdown to select NextCloud credentials.
- Resource: Required dropdown set to "Folder" (covers both folders and files within the folder resource context).
- Operation: Required dropdown set to "Delete" to remove the item.
- Delete Path: Required text field with the full path to the item to delete (e.g.,
/invoices/2019/invoice_1.pdf).
Use cases:
- Automatically purge temporary processing files after workflows complete
- Implement retention policies that delete files older than a specified date
- Clean up failed upload attempts or corrupted files
- Remove deprecated documents after newer versions are confirmed

10 Action 10Create Folder
The Create Folder action builds new directories within your NextCloud file structure. Perfect for setting up organized storage structures automatically as part of larger workflows.
Key parameters:
- Credential to connect with: Required dropdown for authentication.
- Resource: Required dropdown set to "Folder" for directory creation.
- Operation: Required dropdown set to "Create" to build a new folder.
- Folder: Required text field specifying the full path for the new directory (e.g.,
/invoices/2019).
Use cases:
- Create dated folders automatically at the start of each month or quarter
- Set up project folder structures when new projects are initiated in project management tools
- Build client-specific directories when new accounts are created in your CRM
- Prepare upload destinations before file transfer operations

11 Action 11Copy Folder
The Copy Folder action duplicates folders or files from one location to another, preserving the original while creating an identical copy. Useful for backups and template-based folder creation.
Key parameters:
- Credential to connect with: Required dropdown for NextCloud authentication.
- Resource: Required dropdown set to "Folder" for folder/file operations.
- Operation: Required dropdown set to "Copy" to duplicate items.
- From Path: Required text field with the source path (e.g.,
/invoices/original.txt). - To Path: Required text field with the destination path and filename (e.g.,
/invoices/copy.txt).
Use cases:
- Create backup copies of critical files before processing
- Duplicate template folder structures for new projects
- Implement version control by copying files before modifications
- Mirror important documents to backup directories

12 Action 12Upload File
The Upload File action pushes new files into your NextCloud storage from within your n8n workflow. This is fundamental for any automation that generates or receives files from other systems.
Key parameters:
- Credential to connect with: Required dropdown for NextCloud credentials.
- Resource: Required dropdown set to "File" for file-level operations.
- Operation: Required dropdown set to "Upload" to send files to NextCloud.
- File Path: Required text field specifying the complete destination path including filename (e.g.,
/invoices/2019/invoice_1.pdf). - Binary File: Optional toggle—when enabled, uses binary data from previous nodes; when disabled, reveals the File Content field.
- File Content: Optional text field for directly entering file content when Binary File is disabled.
Use cases:
- Save email attachments from Gmail automatically to organized NextCloud folders
- Store generated reports, invoices, or documents from other business tools
- Back up files downloaded from external APIs or services
- Archive form submissions or exported data from web applications

14 Action 14Move File
The Move File action relocates individual files within your NextCloud storage, optionally renaming them in the process. Ideal for file organization and processing workflows.
Key parameters:
- Credential to connect with: Required dropdown for authentication.
- Resource: Required dropdown set to "File" for file operations.
- Operation: Required dropdown set to "Move" to relocate the file.
- From Path: Required text field with the current file location (e.g.,
/invoices/old_name.txt). - To Path: Required text field with the new location and filename (e.g.,
/invoices/new_name.txt).
Use cases:
- Move processed files from inbox to archive folders
- Rename files based on content analysis or metadata extraction
- Organize uploads into appropriate directories after classification
- Implement file lifecycle management with automatic relocation

15 Action 15Download File
The Download File action retrieves files from NextCloud and makes them available as binary data for further processing in your workflow. Essential for workflows that need to process, transform, or forward NextCloud content.
Key parameters:
- Credential to connect with: Required dropdown for NextCloud credentials.
- Resource: Required dropdown set to "File" for file operations.
- Operation: Required dropdown set to "Download" to retrieve the file.
- File Path: Required text field specifying which file to download (e.g.,
/invoices/2019/invoice_1.pdf). - Put Output File in Field: Required text field defining the binary field name for the downloaded content (default: "data").
Use cases:
- Retrieve documents for OCR processing or data extraction
- Download files to attach to emails or send via messaging platforms
- Export NextCloud files to other cloud storage services
- Process documents through AI analysis with OpenAI or transformation tools

16 Action 16Delete File
The Delete File action permanently removes a specific file from your NextCloud storage. Use this for cleanup operations, but implement appropriate safeguards.
Key parameters:
- Credential to connect with: Required dropdown for NextCloud authentication.
- Resource: Required dropdown set to "File" for file-level operations.
- Operation: Required dropdown set to "Delete" to remove the file.
- Delete Path: Required text field with the full path to the file (e.g.,
/invoices/2019/invoice_1.pdf).
Use cases:
- Remove temporary files after processing is complete
- Implement automated retention policies
- Delete source files after successful migration to other systems
- Clean up outdated document versions

17 Action 17Copy File
The Copy File action creates a duplicate of a file at a new location while preserving the original. Useful for backups, versioning, and template-based workflows.
Key parameters:
- Credential to connect with: Required dropdown for authentication.
- Resource: Required dropdown set to "File" for file operations.
- Operation: Required dropdown set to "Copy" to duplicate the file.
- From Path: Required text field with the source file location (e.g.,
/invoices/original.txt). - To Path: Required text field with the destination path and filename (e.g.,
/invoices/copy.txt).
Use cases:
- Create safety copies before file modifications
- Duplicate templates for new documents
- Mirror critical files to backup locations
- Version files by copying before updates

Build your first workflow with our team
Drop your email and we'll send you the catalog of automations you can ship today.
- Free n8n & Make scenarios to import
- Step-by-step setup docs
- Live cohort + community support
Frequently asked questions
Is the NextCloud n8n integration free to use?
Yes, the NextCloud integration is completely free and included natively in n8n. Since NextCloud is open-source self-hosted software and n8n can be self-hosted as well, you can run this entire integration stack at no additional cost beyond your hosting infrastructure. If you're using n8n Cloud, the NextCloud nodes are included in all plans. There are no API call limits imposed by the integration itself—any limits would come from your NextCloud server's capacity or rate limiting configurations.What permissions does n8n need to access my NextCloud instance?
n8n requires valid user credentials with appropriate permissions for the operations you want to automate. For file and folder operations, the authenticated user needs read/write access to the relevant directories. For user management actions (create, update, delete users), the account must have administrator privileges in NextCloud. We recommend creating a dedicated service account with only the specific permissions your workflows require, rather than using a full admin account, to follow the principle of least privilege.Can I use the NextCloud n8n integration with NextCloud Talk or Calendar?
The current n8n NextCloud integration focuses on file/folder management, user administration, and sharing capabilities through the WebDAV and OCS APIs. NextCloud Talk (chat/video) and Calendar have separate APIs that aren't covered by the built-in NextCloud node. However, you can still automate these features using n8n's HTTP Request node to call NextCloud's REST APIs directly, or check the official n8n documentation for updates on additional NextCloud functionality.





