Nextcloud#
Nextcloud is a free and open-source suite of client-server software for creating and using file hosting services.
Credentials
You can find authentication information for this node here.
Basic Operations#
- File
- Copy a file
- Delete a file
- Download a file
- Move a file
- Share a file
- Upload a file
- Folder
- Copy a folder
- Create a folder
- Delete a folder
- Return the contents of a given folder
- Move a folder
- Share a folder
- User
- Invite a user to a NextCloud organization
- Delete a user.
- Retrieve information about a single user.
- Retrieve a list of users.
- Edit attributes related to a user.
Example Usage#
This workflow allows you to create a folder in Nextcloud, upload a file into that folder, and list the contents of the folder. You can also find the workflow on n8n.io. This example usage workflow would use the following nodes. - Start - Nextcloud - HTTP Request
The final workflow should look like the following image.
1. Start node#
The start node exists by default when you create a new workflow.
2. Nextcloud node (create: folder)#
- First of all, you'll have to enter credentials for the Nextcloud node. You can find out how to do that here.
- Select the 'Folder' option from the Resource dropdown list.
- Enter a folder name in the Folder field.
- Click on Execute Node to run the node.
3. HTTP Request node (GET)#
- Enter
https://n8n.io/n8n-logo.png
in the URL field. - Select 'File' from the Response Format dropdown list.
- Click on Execute Node to run the node.
4. Nextcloud1 node (upload: file)#
- Select the credentials that you entered in the Nextcloud node.
- Enter the path of the Nextcloud folder you created in the previous steps along with a file name in the File Path field.
- Set the Binary Data toggle to true.
- Click on Execute Node to run the node.
5. Nextcloud2 node (list: folder)#
- Select the credentials that you entered in the Nextcloud node.
- Select 'Folder' from the Resource dropdown list.
- Select 'List' from the Operation dropdown list.
- Enter the name of the Nextcloud folder you created in the previous steps in the Folder Path field.
- Click on Execute Node to run the node.