Thanks to the discussion in this post, I created a simple Shortcut to prompt for a Shortcut and a due date to then create a reminder in Due App with the chosen shortcut as the title.
When the Due reminder fires, you can tap on the title and run the Shortcut.
I am having a problem with the URL encode of the Shortcut’s title. The URL string that is created is correct prior to the Open URL action. Ie, if the Shortcut title has spaces in it, the appropriate %20s are added. I can see them both prior to the Open URL action and once control returns to the shortcut.
However, when the Due App reminder is created, the %20s are missing in any shortcut name with spaces. What am I doing wrong?
URL as passed to the Open URL action: due://x-callback-url/add?title=Shortcuts://run-shortcut?name=Play%20Sound&duedate=1539803086
Title as displayed in Due: Shortcuts://run-shortcut?name=Play Sound
I’ve tried using both the URL action and the current version using the Text action. Neither works.
Shortcut works great for any Shortcut titles that are one word, but…
This works I think, adding single inverted commas around the title (this ensures the ? in the title is ignored by the callback, or at least separates out one callback url from the second callback url).
It is ‘backtick’, but it is also sometimes referred to as a ‘back quote’. It may even be referred to as a ‘grave accent’, as at one point character diacritics were entered separately to the character - effectively as a modifier; which is how I think the character actually originated on the keyboard.