Using Fantastical with Drafts

fantastical
calendars
guide
#1

app-icon

Fantastical is an popular calendar app with excellent natural language parsing capabilities which can be integrated into Drafts in a number of ways.

Fantastical can 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.

Example Actions

  • Event in Fantastical
    • Takes the text of the current draft, and sends it to Fantastical to be parseed as a new calendar event.
  • Reminder in Fantastical
    • Takes the text of the current draft, and sends it to Fantastical to be parseed as a new reminder.

Scripted Example Action

  • Events in Fantastical
    • 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.

Other Advanced Examples

5 Likes

Reminders with notifications
Adding an event to Calendar
#2

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 ?

Many thanks

Jeremy

0 Likes

#3

Modify the script step to include the add parameter with a value of 1 in the URL.

Ref. the Fantastical URL scheme

Hope that helps.

0 Likes

#4

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.

0 Likes

#5

Are just you trying to do this with Fantasticsl as you said originally, or with Calendars5 as you just referenced?

0 Likes

#6

With the readdle Calendars5 app

0 Likes

#7

See the reply here then.

0 Likes

#8

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 ?

0 Likes

#9

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.

1 Like

#10

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 :frowning:

0 Likes