Google Calendar automation - cannot parse date and time!

Has anyone tried out the new google calendar automation?

I have two tables: timeslots and reservations. For the start and end date of the calendar invite, I use the lookup to get the times from the timeslots table. Unfortunately the automation doesn’t support lookup fields yet so I made a formula instead (it’s just the field name of the lookup).

When I test the automation, it fails! It cannot parse the start and end time. Any workarounds to this?

Screen Shot 2020-09-15 at 9.43.39 AM Screen Shot 2020-09-15 at 9.41.23 AM Screen Shot 2020-09-15 at 9.41.07 AM

1 Like

Try {Start Date} & "" to force the formula to return a string, not an array.

1 Like

Hi Kamille! I’ve changed the formula to what you suggested and ran the test again. Unfortunately it still doesn’t work. Any other ideas?

Try: DATETIME_PARSE({Start Date}&"")

I’ve tried this and it doesn’t work either.

I have tried with a normal date field and it doesn’t work as well? Strange! I made sure to put dates in the future and that all records had these fields filled out

Screen Shot 2020-09-15 at 11.47.33 AM

!

I don’t know what to to tell you. The automation runs for me using regular date fields or formula fields formatted as dates. Try: testing the original trigger again, then testing the calendar action step; deleting the calendar step and adding a fresh one; starting a new automation from scratch.

If I’m reading that correctly, your trigger is the linked Google calendar, not Airtable. Something is amiss with what’s coming from the calendar side of things. Your field isn’t named “Start Date and Time”, so the field isn’t the problem. Could you share a screenshot of the full trigger setup?

Thanks Kamille, what a simple solution! I should have done this earlier. I created a new automation and followed {Start Date} & “” as the formula

Justin, here is my full trigger setup:

Got 'em with the old “turn it off, turn it back on approach”

2 Likes

Hahaha yep, the oldest play in the book!

1 Like

When in doubt, “jiggle the wires”! Y’all, I was on a flight once that was delayed (of course) out of Chicago. The captain came over the speaker system, told us there was an “electrical” problem, and that he was basically going to “reboot” the airplane. Yep. Then we taxied down the runway and took off… AHHHHH!

Now, related, I just wanted to say I appreciate this post. I’m in the midst of doing the same sync/automation, and am so thankful to this community for being a step ahead of me!

1 Like