Nextcloud app integration workflow

The following posting about the developer API might be of interest for you: