Move or Rename

nextcloud.move
ActionFiles & storageconnection required

Calls the Nextcloud API with the connection's credentials.

Move or rename a file or folder within the account's files. The destination's parent folder must already exist.

Connection

Required
Yes — the node will not save without one
Auth type
Username & password
Providers
Nextcloud
Secret shape
{"username": "…", "password": "<app password>"}
Config it needs
base_url
Resolved by
config.connection_id, else node.connection_id

Configuration

3 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
path
Path inside the account's Nextcloud files, e.g. /Documents/report.pdf.
stringYes——/Documents/report.pdf
destination
Where it should end up, e.g. /Archive/report.pdf.
stringYes——/Archive/report.pdf
overwrite
Replace the destination when something is already there; off by default.
booleanNofalse——

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "destination": "/Archive/report.pdf",
  "overwrite": false,
  "path": "/Documents/report.pdf"
}

Output

One shape.

result

FieldTypeExample
path
Where the resource was.
string—
destination
Where the resource now is.
string—
created
True when the destination was new (HTTP 201).
boolean—
overwrote
True when an existing destination was replaced.
boolean—
status_code
The WebDAV status Nextcloud answered with.
number—
{
  "created": false,
  "destination": "",
  "overwrote": false,
  "path": "",
  "status_code": 0
}

See Move or Rename run in a workflow.

In a technical demo we add the Nextcloud connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.