In addition to the scripts here, I also have this Workflow and the following Drafts 4 action:
Add Journal Entry (Drafts action)
key parameter needs to be set to the Working Copy x-callback-url key.
Generate HTML.py script looks for the files
working_copy_webdav_password.txt in the working directory.