Payments

Connecting Google Calendar to Golfly

What the Google Calendar connection does (only from Golfly to Google), what Golfly can access, what is in the appointments, what you see when a lesson fails, and how it works with ProAgenda.
By Sjoerd Ligtvoet, Founder, GolflyUpdated

What does the connection do?

Golfly creates a separate calendar in your Google account named Golfly · Lessen and puts every confirmed booking in it. If you reschedule a lesson, the appointment moves with it. If you cancel it, it disappears. If you change the lesson type, the title changes with it. The connection works one way, from Golfly to Google.

Group lessons and courses do not go in this calendar; only individual bookings.

The connection is not yet available on every site. If you do not see a Google Calendar card under Admin → Integrations, it is not switched on for your site yet.

What Golfly can and cannot access

When connecting, Google asks you to allow two things: calendars that Golfly creates itself, and reading and writing appointments in your other calendars. Golfly only uses the first. It writes exclusively in Golfly · Lessen and reads nothing from your personal calendar. If you put something in Google yourself, Golfly does nothing with it.

What is in the appointments

Every appointment is called Golfly · lesson type duration min, for example "Golfly · Privéles 60 min", and contains a link to the booking in your Golfly admin. No names, phone numbers or email addresses of clients are included. That is a deliberate choice: your Google account is usually an ordinary Gmail account, and client details do not belong there. The appointments have no Google reminder.

Connecting

  1. Go to Admin → Integrations and click Connect Google Calendar on the Google Calendar card.
  2. Choose your Google account and give permission. Complete this within ten minutes.
  3. You return to Integrations. The card shows Connected with the date.

Golfly immediately queues your existing future lessons: the first fifty are in Google straight away, the rest follow within the hour. New bookings then appear within a few seconds; an hourly check catches anything that was missed.

If you cancel the connection at Google, or something goes wrong, you return to Integrations without a message and the card still shows not connected. Just try again.

If something goes wrong

If putting a lesson in the calendar fails, that lesson stays as a task:

  • On the card: "1 lesson could not be added automatically. Add it to your Google Calendar yourself."
  • In the booking itself: "Not added to your Google Calendar. Add it yourself.", "The time in your Google Calendar is out of date." or "Still in your Google Calendar. Remove it yourself." Fix it yourself in Google and click Marked as added or Marked as moved; otherwise the task stays.
  • In your calendar the booking gets a purple G label.
  • If you have also connected ProAgenda, these tasks also appear in the dashboard block Still to update by hand.

If the card says "Everything is in your calendar.", no lesson has failed to be added. Still, check in Google for the first few weeks that your lessons really come through.

If it says Connection expired ("The connection with Google has expired. Reconnect to update your calendar."), Google has withdrawn access, for example because you removed Golfly from your Google account settings. Click Reconnect; Golfly then uses the same calendar again. You get no email about this, so take a look at Integrations now and then.

Disconnecting

Click Disconnect and confirm. Golfly stops updating your calendar. The Golfly · Lessen calendar stays in your Google account; delete it yourself in Google if you no longer want it. Golfly also stays in your Google account as a connected app until you remove it there.

In combination with ProAgenda

The idea is that ProAgenda reads the Golfly appointments from Google and blocks those times on its side. In testing it turned out that ProAgenda only reads the Google calendar it created itself, and not Golfly · Lessen. So do not count on a Golfly booking appearing in ProAgenda by itself. Golfly keeps track of which bookings still have to go into ProAgenda; see Connecting ProAgenda.