@JohnPhilpin Drafts for Mac doesn’t have actions (which would allow it to post to WordPress) yet, but it’s getting there!
@brandontoner Which automation are you referring to? Several of the automations he mentioned on the show, linked in the show notes, are multi-app so you just need to enable the step for the right app 🙂
@tedsvo this is specifically for triggering things based on stuff happening online, whereas @LaunchCenterPro is based on time, location, iBeacons or NFC tags.
As I’ve talked about on Automators before, I have used Zapier to send notifications to my iPhone which trigger Shortcuts – this means that I can have a series of automated actions happen and follow it up with something I need to manually do. I’ve been using PushBullet and Pushover to do this – I’ve tried both and they’re both good, but they’re designed for notifications and the URLs triggering automations is not something it was designed to do. Additionally PushBullet still hasn’t been updated for the iPhone X(s) screen format. Pushover has been updated more recently, but it still doesn’t quite match up with what Pushcut can do as a dedicated app.
Let’s start by looking at a few use cases for this:
- MacSparky and I take it in turns to post the Automators episodes, that means every second episode when it releases I need to be prompted to put up my blog post about the episode. That post is prepared, and is in Drafts, so once the episode is up I get a notification that triggers a Shortcut to help me find the right Draft and post it.
- When an article of mine goes up on The Sweet Setup I like to go and clean it out of my Dropbox (where the drafts sit), which I do through a Shortcut, and then post about it on my site.
Those are just two of the many use cases I have for this sort of thing, in each case there can be multiple steps I would like to execute on my device – some of these I’ve combined into a single Shortcut which runs those other shortcuts, but others I’m still trying to rely on my memory (which has more holes in it than a sieve!). Also if I want or need to change these I need to log into Zapier and change the URL scheme that’s in the URL part of the notification action step (whether that’s through Pushover or Pushbullet).
Pushcut is a free app with two subscription levels, I’ll give you a quick overview of those:
- Free: Create three notifications, which can each trigger one action (opening a URL or running a Shortcut).
- Basic: Create as many notifications as you want, with as many actions as you want on each notification. Plus you can sync these between your devices.
- Pro: Dynamic notifications – based on JSON you use to trigger the notification which can give you: inputs for Shortcuts and dynamic title and text in notifications. You can also target individual devices.
I immediately decided I wanted the Pro – I’ve been passing variables to Shortcuts as parameters through Zapier, and I’ve been building my own workarounds for branching to give me different information. Most people should start out with the free level and then try basic though to get to grips with the system.
The first thing to do is to create a notification in the Pushcut app, and give it a name. The name of the in the app is separate to what appears as the title of the notification which is very useful allowing you to have useful internal descriptions, but have an action based title. The title gets URL encoded and becomes part of the URL you POST to in order to trigger the notification. Tapping this URL will copy it to your clipboard – and I’ll come back to what to do with that near the end!
Secondly you want to set the Notification Title and Description. These are what will show up on your device when you get the notification, I like mine to tell me what to do, and why I’m doing it – this way I won’t just ignore the notifications because the seem irrelevant. After this you should set a default action, and you probably want to add this as action as well. The default action is what happens if you just tap on the notification, or swipe on it from the lock screen, and the actions are what you (can) trigger after force touching the notification – you can add multiple actions to a notification here, giving you a choice in which action to execute.
Now we have the basics set up we can trigger the notification! Depending on your needs you could use this with something like IFTTT or Zapier’s web hooks, or even build it into a script somewhere.
Now whenever this is triggered you will get a notification sent to your device which when opened will trigger a Shortcut.
In addition to what I’ve outlined above you can enhance this with the Pro options – allowing you to specify custom notification titles and content, and also pass input to your shortcuts. You can also run URL schemes allowing you to something like add a task to Due – without having to go via Shortcuts.
I’ve been fortunate enough to talk to the developer of Pushcut over the last few weeks and he’s been adding enhancements right and left! While the app and service are already a step up from existing solutions just because of the ease of use, the fact that this is a dedicated service for triggering automations on iOS means it really is well thought out.
And I’m leaving, on an S-train – hope to be back again! Düsseldorf has been amazing.
I was really excited when Tim Nahumck agreed to come onto Automators to talk about Drafts! In the last year the app has increased in power so much, as well as gaining a Mac app, and now seemed like the perfect time to cover it.
Today I thought I’d share a few bonus tips that were mentioned in the episode but not completely covered, starting with the Apple Watch component.
In Drafts on the iPhone paired to your Apple Watch you can control some bonus settings. First of all you can enable auto-capture – this means when you open Drafts on your Apple Watch (such as from a complication) it will start listening for dictation – so you just open the app and start talking. You can also enable showing the inbox count, which is the number of Drafts in your inbox. The final extra setting is giving everything from your Apple Watch a default tag – mine is called Apple Watch (iOS and macOS automatically capitalise it, but drafts only uses lowercase tags to help you avoid duplicates). As I mentioned on the show, automatically tagging everything from your watch can be a useful indicator that your Draft might not be 100% what you said, but rather what the dictation engine thought you said.
Something I realised not too long ago was that you can associate action groups with workspaces. A workspace is a saved filter of tags and/or a search term, and an action group is a group of actions – the one above the keyboard row, and the one in the pop out menu (which can be pinned open on larger devices) on the right hand side. In the bottom of the settings for the Workspace you can specify which action groups should be assigned to the keyboard row and the action pop out – so when you switch workspaces the rest of the app can switch too.
Drafts is a very powerful app – so much so that it’s replaced many other apps for me, I hope you enjoy the episode!
Thanks to our sponsors: