Nextcloud

Productivity Username and password Windmill docs

Upload, move and share files on your Nextcloud instance from any Windmill script, flow or app.

Set up in 3 steps

1

Collect your instance details

You need the base URL of your instance — what the address bar shows, such as https://nextcloud.example.com — plus the username and password of the account the scripts should act as.

2

Add the resource in Windmill

Open Resources, add a resource of type nextcloud, and fill baseUrl, username and password.

3

Run your first script

Fork any script below and list a folder to confirm the connection before writing anything.

Scripts

Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.

Submit a script →

Flows

Multi-step workflows that already wire Nextcloud to something else.

All flows →

Resource type

The shape of the credential every script on this page expects.

FieldTypeRequiredWhat it is
baseUrlstringYesThe URL where the Nextcloud instance can be reached. Example: https://nextcloud.example.com
userIdstringNo
tokenstringYesAn app/device token or the user's main password. To create a token Settings -> Security -> Devices & sessions.
usernamestringNoDeprecated, use userId instead
passwordstringNoDeprecated, use token instead

Questions

Should I use my own account?

Better not. Create a dedicated account for automation and share with it only the folders the scripts need — its password ends up in a resource, and its name ends up in every file it touches.

Are my credentials stored on the hub?

Never. They live only in your own Windmill workspace, encrypted at rest.