Tutorial: Designing an x-callback-url Action with x-cancel Parameter

When we design an x-callback-url action, we tend to focus on the x-success parameter because we want to get more things done. Yet, when we use these actions, especially the ones that involve two or more chained actions, sometimes we feel the need to cancel the first task and either return to the original app or continue with the second task. Either way, based on our most frequent use cases, we may need to revisit these chained actions and redesign them to include the x-cancel parameter.

This diagram shows how the inter-app routing of Fantastical and Clear action chain.

Cancel and Return

For example, in one of my earlier workflows, I share an action that allows you to add an event in Fantastical and a task item in Clear with a single post in Drafts. When I use it on a regular basis, I often find myself cancelling the event and want to return to Drafts. Either because I want to cancel the intent altogether or because there's a major change I need to make on the entire command structure that I prefer to restart it in Drafts. There has never been a case where I want to cancel the event, but continue to add the task item in Clear.

Read More

Workflow: Share an Article from Chrome to a pre-defined Group of Contacts using Missives and Drafts

As someone who is quite active on Twitter and App.net, I am usually one of the first among my circle of friends to know about a breaking news or an interesting article on technology topics. Each time I find such article, I would try to share it over Twitter and App.net. But, because my closest friends are not as active as I am, they tend to miss these tweets/posts. Hence, whenever I do this, I always try to squeeze in a mention or two in the limited 140-256 characters.

Granted, this is not the best use of Twitter nor App.net. I probably should have sent an email instead. Yet, I was never convinced to use the built-in email action in Safari. As I tend to feel the urge of sharing while I'm in the middle of reading the article, I often hesitated to break the reading experience by sending the email first, and multitask my way back into Safari. I wish there is a way to perform an x-callback-url to send the email, then return immediately to the browser.


A few days ago, Craig Pearlman released a new app entitled Missives. One of the premise of this app is to allow you to setup "canned" emails or messages, and override them via x-callback-url. Hence, by creating a blank email template from my email account to a pre-defined set of my friends' email accounts, I can override the subject and body each time I want to create an instance of it via URL Scheme.

Read More