Fantastical is a popular calendar app with excellent natural language parsing capabilities that can be integrated into Drafts in several ways.
Fantastical provides an iOS Share extension which can be used with Drafts’ Share action. It also has excellent x-callback-url support to integrate directly with Drafts - on iOS. The Mac version does not currently support the same URL schemes. Fantastical also offers Shortcuts integration.
Takes the text of the current draft, and sends it to Fantastical to be parsed as a new calendar event. This version works on both iOS and Mac, but has to use different URLs on each platform.
Takes the text of the current draft, and sends it to Fantastical to be parsed as a new reminder. This version works on both iOS and Mac, but has to use different URLs on each platform.
Send each line of a draft to Fantastical as an individual event. This action demonstrates use of scripting to break up a draft and execute individual URL callback tasks on the values. This version works only on iOS due to the lack of callback support on Fantastical’s Mac app.
Other Advanced Examples
Peter Davison-Reiber’s Fantastically Good Event Parser has similar functionality and natural language event parsing, but does not rely on Fantastical.
Hi Folks,
For some reason, the multiple events action for Fantastical now wants you to confirm each add with the fantastical app as opposed to spring back and forth automatically. This obviously stops it working in the background. Any way to fix ?
The existing Calendars5 action is an url not a script. I tried editing the existing Fantastical script to see if that would work, but while it opens the Calendars5 app, it doesn’t not pass any data.
Thanks. That seems to be for single entry however. I am trying to work out multiple entry where it parses each line of my draft as a new entry. Am I missing something ?
If you can do it with one line, you can do it with many by looping over the lines in turn and doing the same thing in theory. The only limiting factor would be if Calendars5 is actually only supporting a URL scheme rather than a full x-callback-url scheme; you wouldnt be able to return to Drafts after each parsing - that may be a limitation on the Calendars5 side.
My apologies. I now understand the confusion. On my browser its showing all my posts and replies together. I posted two separate topics. One about the fact that Fantastical was wanting user input between each step of the process on multiple event entries, and then another post where I was asking if it were possible to have the same sort of multiple entry action for the Calendars5 app. When I saw your first reply, the way it appeared in my browser was that your reply about Fantastical was referring to calendars5.
At this point, Fantastical is working fine, and Calendars5 … Not so much
Wow, Davison-Rieber’s parser action pretty much renders Fantastical redundant. I doubt I’ll bother with the subscription now. These online communities of brilliant computer enthusiasts continue to blow me away…
I realize it has been a long time since you made this post, but if you or perhaps anyone could give me more of a reference of where I can find what you are referring to when you say… “Davison-Rieber’s parser action”, I would be grateful.