Nextcloud

App · 14 actions

Keep files in Nextcloud in order: save files and text, read, find, move, copy and delete them, make folders and share links. Start a workflow when a file is added to a folder.

Actions

ActionWhat it does
Copy file or folderCopy a file or folder to another path.
Create folderMake a folder, and any folders above it that don't exist yet.
Create share linkMake a view-only link to a file or folder that anyone with the link can open.
Delete file or folderMove a file or folder to Nextcloud's trash, where it can be restored.
Get accountWho the connection signs in as, and how much space is used and free.
Get file infoLook up a file or folder: its size, type, when it last changed and its link.
List folderList the files and folders in a folder, folders first.
List sharesList the shares you made, of one file or folder or of all of them.
Move or renameMove a file or folder, or give it a new name.
Read fileRead a text file, such as a .txt, .csv, .md or .json, from the start.
Save text fileSave words as a file, such as a .txt, .csv or .md, making it or writing over it.
Search filesFind files and folders whose name contains some words, most recently changed first.
Stop sharingStop a share, so its link stops working.
Upload file from linkDownload a file from a link, such as an invoice PDF, and save it in a folder.

Copy file or folder

Copy a file or folder to another path.

Inputs

FromsourcetextRequired
The file or folder, such as Inbox/Report.pdf.
TodestinationtextRequired
Its new path, name included, such as Archive/2026/Report.pdf.
Replaceoverwritetrue/false
Write over anything already at the new path. Off by default.Default: false.

Outputs

content_typetext
Its type, such as application/pdf; empty for a folder
etagtext
A tag that changes whenever it does
file_idtext
Nextcloud's number for it
kindtext
file or folder
linktext
A link that opens it in Nextcloud, for people with access
modified_attext
When it last changed (ISO 8601)
nametext
Its name
pathtext
Its path, such as /Documents/Report.pdf
sizenumber
Its size in bytes; for a folder, everything in it
Example output
{
  "content_type": "application/pdf",
  "etag": "6720f1c3a8b2e",
  "file_id": "4182",
  "kind": "file",
  "link": "https://cloud.example.com/index.php/f/4182",
  "modified_at": "2026-10-28T09:00:00Z",
  "name": "Report.pdf",
  "path": "/Archive/2026/Report.pdf",
  "size": 482113
}

Create folder

Make a folder, and any folders above it that don't exist yet.

Inputs

PathpathtextRequired
The folder, such as Clients/Acme/2026.

Outputs

content_typetext
Its type, such as application/pdf; empty for a folder
createdtrue/false
False when the folder was already there
etagtext
A tag that changes whenever it does
file_idtext
Nextcloud's number for it
kindtext
file or folder
linktext
A link that opens it in Nextcloud, for people with access
modified_attext
When it last changed (ISO 8601)
nametext
Its name
pathtext
Its path, such as /Documents/Report.pdf
sizenumber
Its size in bytes; for a folder, everything in it
Example output
{
  "content_type": "",
  "created": true,
  "etag": "6720f1c3a8b2e",
  "file_id": "4182",
  "kind": "folder",
  "link": "https://cloud.example.com/index.php/f/4182",
  "modified_at": "2026-10-28T09:00:00Z",
  "name": "2026",
  "path": "/Clients/Acme/2026",
  "size": 0
}

Make a view-only link to a file or folder that anyone with the link can open.

Inputs

PathpathtextRequired
The file or folder to share, such as Documents/Report.pdf.
Passwordpasswordtext
A password the link asks for. Leave blank for none, unless your server requires one.
Expiresexpire_datedate
The day the link stops working. Leave blank to keep it, unless your server sets a limit.
Labellabeltext
A name for the link, shown in Nextcloud's sharing panel.

Outputs

expirestext
The day it stops working (YYYY-MM-DD); empty if never
has_passwordtrue/false
Whether the link needs a password
idtext
The share's number
kindtext
link or person
labeltext
The link's label
pathtext
What it shares
shared_withtext
For a share with a person, who
urltext
The link; empty for a share with a person
Example output
{
  "expires": "2026-12-31",
  "has_password": true,
  "id": "37",
  "kind": "link",
  "label": "For the board",
  "path": "/Documents/Report.pdf",
  "shared_with": "",
  "url": "https://cloud.example.com/s/Hx7KQp2LmNtR4sB"
}

Delete file or folder

Move a file or folder to Nextcloud's trash, where it can be restored.

Inputs

PathpathtextRequired
The file or folder, such as Inbox/old.txt.

Outputs

deletedtrue/false
True once deleted
pathtext
What was deleted
Example output
{
  "deleted": true,
  "path": "/Inbox/old.txt"
}

Get account

Who the connection signs in as, and how much space is used and free.

Inputs

None.

Outputs

emailtext
Its email address
free_bytesnumber
Space left, in bytes; 0 when unlimited
nametext
Its display name
unlimitedtrue/false
True when the account has no space limit
used_bytesnumber
Space used, in bytes
user_idtext
The account's user ID
Example output
{
  "email": "ada@example.com",
  "free_bytes": 8804682957,
  "name": "Ada Lovelace",
  "unlimited": false,
  "used_bytes": 1932735283,
  "user_id": "ada"
}

Get file info

Look up a file or folder: its size, type, when it last changed and its link.

Inputs

PathpathtextRequired
The file or folder, such as Documents/Report.pdf.

Outputs

content_typetext
Its type, such as application/pdf; empty for a folder
etagtext
A tag that changes whenever it does
file_idtext
Nextcloud's number for it
kindtext
file or folder
linktext
A link that opens it in Nextcloud, for people with access
modified_attext
When it last changed (ISO 8601)
nametext
Its name
pathtext
Its path, such as /Documents/Report.pdf
sizenumber
Its size in bytes; for a folder, everything in it
Example output
{
  "content_type": "application/pdf",
  "etag": "6720f1c3a8b2e",
  "file_id": "4182",
  "kind": "file",
  "link": "https://cloud.example.com/index.php/f/4182",
  "modified_at": "2026-10-28T09:00:00Z",
  "name": "Report.pdf",
  "path": "/Documents/Report.pdf",
  "size": 482113
}

List folder

List the files and folders in a folder, folders first.

Inputs

Folderfoldertext
The folder, such as Documents/Invoices. Leave blank for your top folder.
How manylimitnumber
The most to list. Defaults to 50.From 1 to 500.

Outputs

countnumber
How many
foldertext
The folder listed
itemslist
The files and folders
Example output
{
  "count": 1,
  "folder": "/Documents",
  "items": [
    {
      "content_type": "application/pdf",
      "etag": "6720f1c3a8b2e",
      "file_id": "4182",
      "kind": "file",
      "link": "https://cloud.example.com/index.php/f/4182",
      "modified_at": "2026-10-28T09:00:00Z",
      "name": "Report.pdf",
      "path": "/Documents/Report.pdf",
      "size": 482113
    }
  ]
}

List shares

List the shares you made, of one file or folder or of all of them.

Inputs

Pathpathtext
Only shares of this file or folder. Leave blank for all.

Outputs

countnumber
How many
shareslist
The shares
Example output
{
  "count": 1,
  "shares": [
    {
      "expires": "2026-12-31",
      "has_password": true,
      "id": "37",
      "kind": "link",
      "label": "For the board",
      "path": "/Documents/Report.pdf",
      "shared_with": "",
      "url": "https://cloud.example.com/s/Hx7KQp2LmNtR4sB"
    }
  ]
}

Move or rename

Move a file or folder, or give it a new name.

Inputs

FromsourcetextRequired
The file or folder, such as Inbox/Report.pdf.
TodestinationtextRequired
Its new path, name included, such as Archive/2026/Report.pdf.
Replaceoverwritetrue/false
Write over anything already at the new path. Off by default.Default: false.

Outputs

content_typetext
Its type, such as application/pdf; empty for a folder
etagtext
A tag that changes whenever it does
file_idtext
Nextcloud's number for it
kindtext
file or folder
linktext
A link that opens it in Nextcloud, for people with access
modified_attext
When it last changed (ISO 8601)
nametext
Its name
pathtext
Its path, such as /Documents/Report.pdf
sizenumber
Its size in bytes; for a folder, everything in it
Example output
{
  "content_type": "application/pdf",
  "etag": "6720f1c3a8b2e",
  "file_id": "4182",
  "kind": "file",
  "link": "https://cloud.example.com/index.php/f/4182",
  "modified_at": "2026-10-28T09:00:00Z",
  "name": "Report.pdf",
  "path": "/Archive/2026/Report.pdf",
  "size": 482113
}

Read file

Read a text file, such as a .txt, .csv, .md or .json, from the start.

Inputs

PathpathtextRequired
The file, such as Notes/todo.md.
Most charactersmax_charsnumber
Read up to this many characters. Defaults to 30000.From 1 to 100000.

Outputs

contenttext
What it says
pathtext
The file read
truncatedtrue/false
True when the file goes on past what was read
Example output
{
  "content": "- Send the October report",
  "path": "/Notes/todo.md",
  "truncated": false
}

Save text file

Save words as a file, such as a .txt, .csv or .md, making it or writing over it.

Inputs

PathpathtextRequired
Where to save it, name included, such as Reports/october.csv.
ContentcontenttextRequired
What the file should say.
Replaceoverwritetrue/false
Write over a file already there. On by default.Default: true.

Outputs

content_typetext
Its type, such as application/pdf; empty for a folder
etagtext
A tag that changes whenever it does
file_idtext
Nextcloud's number for it
kindtext
file or folder
linktext
A link that opens it in Nextcloud, for people with access
modified_attext
When it last changed (ISO 8601)
nametext
Its name
pathtext
Its path, such as /Documents/Report.pdf
sizenumber
Its size in bytes; for a folder, everything in it
Example output
{
  "content_type": "application/pdf",
  "etag": "6720f1c3a8b2e",
  "file_id": "4182",
  "kind": "file",
  "link": "https://cloud.example.com/index.php/f/4182",
  "modified_at": "2026-10-28T09:00:00Z",
  "name": "october.csv",
  "path": "/Reports/october.csv",
  "size": 482113
}

Search files

Find files and folders whose name contains some words, most recently changed first.

Inputs

Name containsnametextRequired
Part of the name, such as invoice.
In folderfoldertext
Only look in this folder. Leave blank to look everywhere.
How manylimitnumber
The most to list. Defaults to 50.From 1 to 500.

Outputs

countnumber
How many
itemslist
The files and folders
Example output
{
  "count": 1,
  "items": [
    {
      "content_type": "application/pdf",
      "etag": "6720f1c3a8b2e",
      "file_id": "4182",
      "kind": "file",
      "link": "https://cloud.example.com/index.php/f/4182",
      "modified_at": "2026-10-28T09:00:00Z",
      "name": "Report.pdf",
      "path": "/Documents/Report.pdf",
      "size": 482113
    }
  ]
}

Stop sharing

Stop a share, so its link stops working.

Inputs

SharesharetextRequired
The share's number, from 'Create share link' or 'List shares'.

Outputs

deletedtrue/false
True once stopped
idtext
The share's number
Example output
{
  "deleted": true,
  "id": "37"
}

Download a file from a link, such as an invoice PDF, and save it in a folder.

Inputs

LinkurltextRequired
A link anyone can download the file from, starting with https://.
Folderfoldertext
The folder to save it in. Leave blank for your top folder.
File namefile_nametext
What to call it. Leave blank to use the link's own name.
Replaceoverwritetrue/false
Write over a file with the same name. Off by default.Default: false.

Outputs

content_typetext
Its type, such as application/pdf; empty for a folder
etagtext
A tag that changes whenever it does
file_idtext
Nextcloud's number for it
kindtext
file or folder
linktext
A link that opens it in Nextcloud, for people with access
modified_attext
When it last changed (ISO 8601)
nametext
Its name
pathtext
Its path, such as /Documents/Report.pdf
sizenumber
Its size in bytes; for a folder, everything in it
Example output
{
  "content_type": "application/pdf",
  "etag": "6720f1c3a8b2e",
  "file_id": "4182",
  "kind": "file",
  "link": "https://cloud.example.com/index.php/f/4182",
  "modified_at": "2026-10-28T09:00:00Z",
  "name": "Report.pdf",
  "path": "/Documents/Report.pdf",
  "size": 482113
}

On this page