IFTTT and Google Calendar

  • 5
  • Idea
  • Updated 3 years ago
  • Not Planned
Archived and Closed

This conversation is no longer open for comments or replies and is no longer visible to community members.

I'd like a recipe in IFTTT that creates a Google Calendar entry for my trip, including start time and end time. I've tried many variations, here's my most recent:
"Driving {{TripDistanceMiles}} Miles" begins {{TripStartedAt}} until {{TripEndedAt}}

An entry is created with the proper start time, but not the proper title or end time. I end up with something like "Driving 8.53 Miles" begins until at 04:56PM. This is because the way Automatic displays the dates "March 29, 2014 at 04:56PM" confuses Google Calendar. Does anyone know how to make this works as is, and if not, can we have more IFTTT details to make it work (option to separate date and time as two separate variables for instance)? Or maybe a variable for trip duration would work?
Photo of jpfieber

jpfieber

  • 130 Points 100 badge 2x thumb

Posted 4 years ago

  • 5
Photo of Brendan Nee

Brendan Nee, Alum

  • 780 Points 500 badge 2x thumb
Good suggestion. It would be nice if Google calendar did a better job parsing dates.

We may offer more fine grained time details on IFTTT in the future.
Photo of mgricken

mgricken

  • 104 Points 100 badge 2x thumb
If you offered {{TripDurationMinutes}}, then the following would work:

"Driving {{TripDistanceMiles}}" {{TripStartedAt}} for {{TripDurationMinutes}} minutes

Unfortunately, {{TripDuration}} is printed as 0:45, for example, and that's again not something that Google Calendar understands.
Photo of Brendan Nee

Brendan Nee, Alum

  • 780 Points 500 badge 2x thumb
Good point - I'll bring this up with the IFTTT team.
Photo of Sam Venable

Sam Venable

  • 98 Points 75 badge 2x thumb
This reply was created from a merged topic originally titled
IFTTT - TripStartedAt with Google Calendar Quick Add.


For some reason {{TripStartedAt}} exports correctly to Google Sheets, but when I try to use the variable for Google Calendar's quick add the data point isn't included. Any idea what might be going on?
Photo of Tom

Tom, Former Employee

  • 41,706 Points 20k badge 2x thumb
Thanks for the idea, Sam! I spoke with one of our engineers and discovered that Google Calendar isn't the best at parsing dates. We suggest passing this request along to IFTTT (to add a field that Google Calendar can parse) and to Google Calendar (to update their parser to handle the duration format that IFTTT is providing).
(Edited)
Photo of Rick Wargo

Rick Wargo

  • 82 Points 75 badge 2x thumb
This reply was created from a merged topic originally titled Separate (or standard) Date/Time fields when interacting with Google Calendar thr....

Is it possible to have alternate date formats for the IFTTT recipes? When using TripStartedAt in the Google QuickAdd Calendar action, the word "at" in the date/time confuses the parser. It would be nice to have separate date and time fields, or a more standardized date/time field.
Photo of Tom

Tom, Former Employee

  • 41,706 Points 20k badge 2x thumb
Hi Rick! Please see the above posts for more details. Here's a link to a related community topic on parsing as well.

This conversation is no longer open for comments or replies.