Have a look at n8n - Understanding Nextcloud and how to automate it with tools such as Flow, Node-Red, n8n.io and other services
Deck API support could be added there as it already supports Trello + basic basic Nextcloud support for files and folders.