On Nextcloud file change

Poll a Nextcloud folder and start a workflow when a file or folder is created or changed.

v1.0.0Source

Install

Manage files, folders, shares, trashbin items, users, and groups in Nextcloud (self-hosted or managed) via WebDAV and OCS APIs. Start a workflow when files change.

Nextcloud@zerodot/nextcloudInstall
  1. Open System, then Nodes.
  2. Find Nextcloud and click Install.
  3. Use the new nodes at once. You do not restart.

How it works

On Nextcloud file change (trigger.nextcloud) is a trigger node in the Nextcloud package (@zerodot/nextcloud): Poll a Nextcloud folder and start a workflow when a file or folder is created or changed.

Polls a Nextcloud folder via WebDAV PROPFIND and emits items when:

  • File Created: a new file or folder appears
  • File Created or Changed: a file or folder is created or its ETag / modified time changes

Logins it can use

Works with both self-hosted and managed Nextcloud instances:

  • Nextcloud API (nextcloud.api): serverUrl (for example https://cloud.example.com), username, and an App Password created under Settings > Security > Devices & sessions.
  • Nextcloud OAuth2 (nextcloud.oauth2): serverUrl, clientId, and clientSecret registered under Administration settings > Security > OAuth 2.0 clients.

Both credential types test the connection against /ocs/v1.php/cloud/user.

Guides and related hubs