Jump to content

Workflow for Pushcut Automation Server


Recommended Posts

For those who are interested I have created a workflow for running iOS shortcuts from Alfred using a spare iOS (12.0 or above) device (I use a second hand iPhone SE).

 

Here is a short video I have published to Reddit:

 

This workflow requires a Siri Shortcut to get a list of your shortcuts:

https://www.icloud.com/shortcuts/f8dcbc7ac14f4d03b1fc3bcebf28b2f5

 

Once the workflow has been imported you will need to put your Pushcut Webhook Secret key into the "api" variable by typing !pushcutapi in Alfred and then type into Alfred !pushcutupdate and Helper shortcut will start to do it's job. Once the shortcut has run you should be able to access your shortcuts within Alfred like on my video above.

 

It currently support 3 different modes.

  • Using the keyword "pushcut" or keyboard shortcut: control+option+P will just run the shortcut and won't return any data. It's good for shortcuts like "Turn on the fan"
  • Using the keyword "pci" or keyboard shortcutcontrol+option+I will ask you to select a shortcut and give it some input (input is optional), return the shortcut output in Large Type
  • Using the keyword "pcd" or keyboard shortcut: control+option+D will ask you to select a shortcut and delay it. 5s , 5m , 5d ...

 

Link to the workflow:

https://mega.nz/file/6OxhjILb#N1ntqJIWfM539UdVVYq1gwfrnB6YmRfbbuc5hrA1Rl0

 

This is an unofficial workflow, I am NOT affiliated with Pushcut.

 

This workflow requires:

  • A spare iOS device (min iOS 12 and above, recommended iOS 13 and above),
  • A subscription to Pushcut Automation Server, more info on the developer's website: pushcut.io

 

Link to the wallpaper:

http://getwallpapers.com/wallpaper/full/a/2/2/1516267-download-free-star-wars-star-destroyer-wallpaper-3554x1999.jpg

 

Feel free to use and maybe improve this workflow. :)

 

Update:

ver 1.0.3:

  • Making it clear that this workflow is using your Pushcut Webhook Secret instead of an API key (it can be found at Pushcut -> Account -> Webhook)
  • Removed unnecessary update commands, now the only way to update the list of shortcuts is to type !pushcutupdate directly to Alfred.
  • Added ability to copy shortcut output into clipboard, when using keyword "pcic" or the keyboard shortcut : Shift+Option+I
  • Added ability to remove your list of shortcuts from the workflow with the keyword !rmshortcuts , in case if you wanted to export it for sharing.
  • Fixed the !pushcutapi did not require argument.
Edited by choc
updated workflow
Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...