Nextcloud

The Nextcloud modules allow you to monitor, create, update, send, retrieve, move, copy, download, and delete the files in your Nextcloud account.

Getting Started with Nextcloud

Prerequisites

Note

The module dialog fields that are displayed in bold (in the Make scenario, not in this documentation article) are mandatory!

Connecting Nextcloud to Make

  1. Go to the Make and open the Nextcloud's Create a connection module.

    61f274166a4e5.gif
  2. In the Connection name field, enter a name for the connection.

  3. In the Domain URL field, enter your Nextcloud account's URL address. For example, if your account access URL address is https://us.cloudamo.com/user, then your domain URL is https://us.cloudamo.com.

  4. In the Username and Password fields, enter your Nextcloud account credentials respectively and click Continue.

The connection has been established.

File/Folder

Triggers when a file is created and updated.

Connection

Establish a connection to your Nextcloud account.

Location

Select or map the location of the folder whose files you want to watch.

Limit

Set the maximum number of files Make should return during one execution cycle.

Retrieves a list of files and folders.

Connection

Establish a connection to your Nextcloud account.

Location

Select or map the location of the folder whose files you want to list.

Limit

Set the maximum number of files Make should return during one execution cycle.

Downloads a file.

Connection

Establish a connection to your Nextcloud account.

Location

Select or map the path of the file you want to download. For example, /abc/xyz.txt.

Retrieves a list of files and folders.

Connection

Establish a connection to your Nextcloud account.

File Name

Enter (map) the file name with extension.

Data

Enter (map) the file data.

Location

Select or map the path to the file you want to upload. For example, /abc/xy.txt.

Creates a new folder.

Connection

Establish a connection to your Nextcloud account.

Folder Name

Enter (map) a name for the folder.

Location

Select the location or map the path for creating the folder.

Moves a file or folder.

Connection

Establish a connection to your Nextcloud account.

Select a Method

Select or map the option you want to move:

  • Move a File

  • Move a Folder

File Path

Select a location or enter the path of the file which you want to move.

Folder Path

Select a location or enter the path of the folder which you want to move.

Destination

Select a location or enter the path to where you want to move the file or the folder.

Overwrite an Existing File/Folder

Select the checkbox if you want to overwrite the existing file or folder.

Copies a file or folder.

Connection

Establish a connection to your Nextcloud account.

Select a Method

Select or map the option you want to move:

  • Copy a File

  • Copy a Folder

File Path

Select a location or enter the path of the file or folder which you want to copy.

Destination

Select a location or enter the path of the folder or file to where you want to copy.

Overwrite an Existing File/Folder

Select the checkbox if you want to overwrite the existing file or folder.

Deletes a file or folder.

Copies a file or folder.

Connection

Establish a connection to your Nextcloud account.

Select a Method

Select or map the option you want to move:

  • Delete a File

  • Delete a Folder

File Path

Select a location or enter the path of the file or folder which you want to delete.

Other

Performs an arbitrary authorized API call.

Connection

Establish a connection to your Nextcloud account.

URL

Enter a path relative to your Server URL address. For example, remote.php/dav/files/[username].

Note

For the list of available endpoints, refer to the Nextcloud API Documentation.

Method

Select the HTTP method you want to use:

GET

to retrieve information for an entry.

POST

to create a new entry.

PUT

to update/replace an existing entry.

PATCH

to make a partial entry update.

DELETE

to delete an entry.

PROPFIND

to retrieve properties defined on the resource

MOVE

to move the specified resource.

COPY

to copy the specified resource.

MKCOL

to create a new resource at the specified location.

Headers

Enter the desired request headers. You don't have to add authorization headers; we already did that for you.

Query String

Enter the request query string.

Body

Enter the body content for your API call.

The following API call returns all the files from your Nextcloud account:

URL:

/remote.php/dav/files/development@make.com

Method

:GET

61f27418c91cb.png

Matches of the search can be found in the module's Output under Bundle > Body > d:multistatus > d:response.

In our example, 10 files were returned:

61f27419ed882.png