Shortcuts and creating/find/open a document at a specific location?

Quick question about using shortcuts and DEVONthink on iOS.

On macOS I have an applescript that creates/manipulates a Markdown document. The document is unique for each day and is stored at a path like this:

MyDatabase/MainGroup/YYYY/MM/YYYY-MM-DD.md

I’ve tried to figure out if I could make a shortcut (I’m easily frustrated when it comes to shortcuts :grin:) that could see if a document with the current path exists and then open/create it. Unfortunately I can’t figure out if I can define a groups based on the current date or not.

Is this possible? If so, how do I do this? I can only see that I can define a “static” group name.

There seems to be some issue with using a variable in our Find Items Shortcut action.

I will file an issue on it.