I tried using the Journal Workflow functionality to input weather and location. The dialogue opens, but when I touch one of the buttons, it goes to Workflow and says that the Workflow is not found. Any thoughts?
JA in KY USA
Where are you getting the actions from? Also, it sounds like youâre kicking off a Drafts action that calls a workflow; if you donât have the workflow installed in Workflow, then it wonât run correctly.
Thanks for the quick reply. When Iâm in Drafts the slide over action menu there is one labeled âJournal.â The Fourth action from the top is labeled journal workflow.
When I activate that action it brings up a set menu that has several options that I can choose from such as photo, audio, weather, location. The action accesses my Worklflow app, but I donât have the app that the action is trying to find. I donât have a way to know which Workflow it is looking for.
For clarity, you have a Drafts action in the Drafts app that is trying to call a workflow in the Workflow app. Whilst you have the Workflow app, it is the Workflow workflow that you are missing.
The action you are using does not sound like one that is installed by default with Drafts. Timâs reference to âwhere are you getting the action fromâ I believe will be a reference to where you downloaded the Drafts action rather than how you access it within the list of actions in Drafts.
If you canât recall where you got it, then you have two other options that I can see.
The first is to post a link to the Drafts action you are using. There may be some commentary in the action that explains where to find the workflow Workflow you need.
Failing that, if you posted details of what you would need the Drafts action/workflow Workflow combination to do, then Iâm pretty sure you could get some help here in creating that.
From that screen shot I can see that the action is unlisted and without the URL thereâs not really anyway to obviously find it unaided. However I can also see that it is one of Timâs, so he should be able to help you with it.
Over to you @nahumck
Yeah, this is mine. (Thanks @sylumer) The reason that the action isnât working is that the workflows are not installed.
Iâll be writing this up soon-ish, but for now, you can follow the below:
(Note: these actions are for a journal and use DEVONthink to Go. They could be modified to use with Dropbox or iCloud Drive)
- You need to install the workflows. Click the âInstall Meâ action. This will create a new draft with all the links to the workflows. If you enter link mode, you can just tap the links and install.
- If youâre using DEVONthink, then youâll need to modify the photo and recording actions with your item IDs. If you donât use DT, then you might want to change the workflow to save to Dropbox. (I do plan on posting both options.)
- You can use as many of those workflows as youâd like. Note that for the weather option, it uses the DarkSky.io API. Youâll need to sign up and get your own, but itâs free. Thereâs a link to it in the workflow.
It can get a bit tricky, but once itâs all set up, you donât need to mess with it.
Thanks so much for helping me with this. I will play around with it and hopefully, learn more about scripting. Iâm enrolled in a JavaScript course now and learn better with real-application examples.
Jim
No problem with the install and configuring to work with Dark Sky. API key was easy to obtain.
Thanks again,
JA in KY USA
Loving your action group, great work!
I am struggling with the photo workflow though.
-
Specifically from the âshareâ step on: once I reach this step I am supposed to hit âClip to DEVONthinkâ, right?
-
It then saves it into the Global Inbox and after that takes me into DEVONthink: Am I supposed to manually move it into a âJournalâ database and then into a âPhotosâ group in the app?
-
Once I return to Drafts manually it creates the line ! [ ] (/Journal/Photos/image name.heic).
It only shows me a blank file when I either hit Journal Preview or save the entry into DEVONthink.
Am I missing something here?
Have you also posted a workflow with Dropbox?
Thank you!
You do have to use the share sheet, clip to DEVONthink, and then move it manually. I was having an issue before with files saving. I should look at it again and see if I can get this corrected (might just do this in Shortcuts, however). I donât journal photos every day (and I actually havenât in months), but Iâll take a look. Might be part of the change when the default format for images went to heic.
I donât have one for Dropbox, but you could easily create that. just replace the parts that contain DEVONthink (and you wonât need the share action block), and youâd be all set. I had it in there for a while, but moved to DTTG for the encryption.
Thank you very much for taking the time to reply Tim!
I think I miss something fundamental though ; )
I have deleted the share action, the DEVONthink action and have replaced it with a âsave to dropboxâ action with a specified destination (Journal/Photos). The workflow then runs back to Drafts and creates a line as before, just like that:
! [ ] (/Journal/Photos/img_7000.png)
However, if I hit Journal Preview it shows me nothing which makes me wonder does Drafts know that the link above leads to Dropbox?
Because I was saving in DTTG, the linking wasnât the same. Iâd suggest using a âGet Link to Fileâ action block after the âSave Fileâ to make sure you are getting the link to the image. Use that instead of the manual /Journal/Photos/
one that I had.
Thanks Tim!
Still wonât get the preview to show the image or save a working html file out of it, even when I use the âGet Linkâ action and return to Drafts with a note like that:
Also wonât show with the âMarkdown Previewâ action in Drafts, maybe it has something to do with Dropbox.
I might leave it for now and start afresh with the Shortcuts app in Fall ; )
I have located the issue, it was the dropbox link!
â?dl=0â in the dropbox url has to be renamed to â?dl=1â and then the image shows up when hitting preview. Also, it wonât work with heic yet.
ah, good to know! also, you can use a Convert Image block ahead of saving the file, and change the format to jpeg. thatâs how I tend to save my files now.
I got it working with DTTG yesterday using Shortcuts, and it seems to be working. Iâll likely publish it when Shortcuts gets released for real.