I would like an action to await the creation of a specific file in Dropbox (and then read it). A timeout value for this would be a bonus.
Any idea how to do this?
I thought of a read with repeat every second or so. But there isn’t a setTimeout() equivalent so far as I know.
(The fuller scenario is that the draft would create a file in Dropbox that my Mac would use Hazel to detect and act on. The Mac workflow would create a “results” file that I’d like the Drafts action to retrieve. There might be better ways of doing this, of course.)