Best answer

How to create detailed event in GCal with CSV export


Userlevel 1

Hey Guys. 

We use a booking system that unfortunately has no google Calendar integration.

But it as a CSV-Export funktion.

 

What would be the most elegant way to create a detailed event in our Gcal?

  • Download the csv and send it to a Parser?
  • Copy the CSV into a google Sheet?
  • …. ?

It would be great if you have an idea that would make it as easy as possible.

 

Best regards

Basti

icon

Best answer by Troy Tessalone 24 March 2022, 17:59

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

18 replies

Userlevel 7
Badge +14

Hi @KCar 

Good question.

Give these Zap steps a try…

  1. Trigger: GDrive - New File in Folder
  2. Action: Formatter > Utilities > Import CSV File
  3. Action: Looping
  4. Action: GCal - Create Detailed Event
Userlevel 1

I have some problems with the looping. Shall I loop each line or how to i programm it?

For some reasons i see the created CSV file on the drive, but i can not excerp data.

 

Best regards

Userlevel 7
Badge +14

Hi @KCar 

Please post screenshots with how each of your Zaps steps are configured for us to have more context, thanks.

Userlevel 1

Thank you - i solved it.

I selected the name of the csv rather than the file itself :)

Is there any way to avoid importing duplicate content?

i.e. if there already is an event with the same name and date, do not create an event?

 

Best regards for those amazing an lightning fast answers.

Userlevel 7
Badge +14

@KCar 

Is there any way to avoid importing duplicate content?

Try adding this Zap step: GCal Find/Create Event

 

Userlevel 1

Perfect thank you! And now i ran into problems with the Date.

since in German we have the dataformat DD/MM/YYYY - My April 2nd event was created at the 4th of february :)

Any ideas?

 

Userlevel 7
Badge +14

@KCar

Try using a Formatter > Date / Time > Format step in the Zap.

 

Is the event created on the wrong date, specifically with the month and day switched?

Regardless of the settings in your Google Calendar, data sent through their API (as Zapier does) must be in MM/DD/YYYY format.
So, if you try to send an event for April 7, 2021 as 07/04/2021, Google Calendar will interpret that as July 4, 2021.
The dates need to be in MM/DD/YYYY format to ensure Google Calendar adds the event to the correct date(s).
If your trigger is sending the data in DD/MM format, you can use a Formatter step to reformat the date.

Userlevel 1

Holy peperoni! You guys are fast! That is so much fun!

It worked!!!!


Thank you! Dankeschön!

Userlevel 1

Oh no, it doesn’t

Looks like my format is DD.MM.YYYY HH:MM and that is not supported.
If i set it up as “Auto” it doesn’t interpretate it correctly. 

Event for 9th of April ist beeing set up in 4th of September :(

 

Userlevel 7
Badge +14

@KCar 

Try using the ‘Custom’ option and set a static value for your format: DD.MM.YYYY HH:MM

 

Userlevel 1
Input




 

Output

Unfortunately that didn’t work :( 
any other ideas?

Userlevel 7
Badge +14

@KCar

You can use a Code step to parse out the Timestamp into the individual pieces, then recombine as desired.

  • YYYY
  • MM
  • DD
  • HH
  • MM
Userlevel 7
Badge +14

@KCar 

This looks like it worked:

 

Userlevel 7
Badge +14

@KCar 

Notes about formatting time:

 

Userlevel 1

It switched the Month and the Day:

The Month should be April:

Input: 09.04.2022
Output: 2022-04-09

Instead it created 2022-09-04

Userlevel 1

thanks for the screenshot and the prompt replies. it is really helpful.
still there is the american ↔ european date format issue 😅

Userlevel 7
Badge +14

@KCar 

Regardless of the settings in your Google Calendar, data sent through their API (as Zapier does) must be in MM/DD/YYYY format.

You should use a different TO Format in the Formatter step:

 

Userlevel 1

Troy! I hope you felt that kiss on your forehead!

Thanks so much 😘