Help Center

Google Calendar Sync

Google calendar sync will allow for all new bookings created in the plugin to be copied to your company Google calendar. When Google calendar sync is enabled, all primary info will be copied from the Bookly calendar to Google calendar, including custom fields data.

With that synchronization enabled, you will also be able to set up the synchronization of individual team members' calendars from Bookly to their Google calendars.

If needed, you can also make sure that Bookly fetches blocked time slots from your Google calendar. Those time slots will not be suggested to the customer during the booking process.

We recommend that you limit the number of fetched events related to this feature as too many events in Google calendar may lead to a lack of memory in PHP when Bookly tries to fetch all events. 

 

Set-Up

Follow these steps to perform the synchronization:

 

Open the Settings tab on the Bookly dashboard and select the Google Calendar sub tab. Insert your Client ID and Client secret.

To find your client ID and client secret, do the following:

1.   Go to the Google Developers Console;

2.   Select a project or create a new one;

3.   Choose Calendar API from the list and make sure it's enabled.

4.   You will then be asked to fill in your credentials via a button, but we recommend that you do it from the sidebar on the left: click on Credentials, then 'Create Credentials' on the main screen, and choose 'OAuth client ID' from the menu:

5.   You will then be asked to go to the Consent Screen - do that, and fill in the project's name. Then go back to Credentials.

6.   Back in the Credenttials tab, choose Web application and fill in the details:
for Authorized redirect URIs, enter the Redirect URI that you’ll find in Bookly’s Settings,
for Authorized JavaScript origins - just delete the link.
Now click on 'Create'.

7.   Look for the Client ID and Client secret, in the recently created Client ID, in the table associated with each of your credentials and copy them into Bookly.

8.   Go to Staff Members, select one staff member, and click on "Connect" button, which is located in the lower part of the page.

                   

 

The following video explains how to find the Google Calendar ID:

https://www.youtube.com/watch?v=m_ph_hYT_SY

Finally, log in your Google account and give the permission for plugin to access your Google Calendar.

 

For current users, if experiencing syncing issues after adding new staff members:

Go to Bookly Settings > Google Calendar > Redirect URI. Copy the updated link and paste it in your Google API Console > Credentials > Web Application > Authorized Redirect URIs.

You will have done it in the past, and as the URI might change with regular updates of the plugin, you might occasionally need to tell Google API which new URI to authorize.

Doing this will most likely solve the sync issue. If it persists, please let us know at support@ladela.com.

Have more questions? Submit a request

10 Comments

  • Avatar
    ron dykes

    If you create an event in google calendar will the email and sms notifications still work?

  • Avatar
    Denis

    In case you create an event in google calendar - notifications are not being sent for this event.

  • Avatar
    Monique Smit

    When I want to connect an employee to the calendar I get the Error message:

    Error: invalid_client

    The OAuth client was not found.
    Request Details

    access_type=offline
    approval_prompt=force
    scope=https://www.googleapis.com/auth/calendar
    response_type=code

  • Avatar
    Marie Ollu

    When I try to Sync with Google Calendar I get an error message in Bookly:

    Error fetching OAuth2 access token, message: 'invalid_client'

    I checked my client ID and client secret and everything is ok... Do you have an idea?

     

    Thank you!

    Edited by Marie Ollu
  • Avatar
    Denis

    Feel free to send us an email to support@ladela.com and we'll assist you with this matter.

  • Avatar
    Mark Cross

    Product feature. If you have diary items in your Google Calendar - they DO NOT appear to show in the internal Bookly Calendar within WordPress.

    However when the bookly availability customer facing form is shown via the WordPress site IT DOES remove slots already in the Google Calendar which have not been booked out via bookly.

    It would be nicest to have the best of both worlds have a toggle option on this page to "Show All Google Calendar Items"

    Although it could show an employee's private life, the page still needs to prevent you from overbooking on top of a google calendar. Which at present I think it will allow.

    Cheers Mark

    Edited by Mark Cross
  • Avatar
    Marijus Planciunas

    Hi guys, nice plugin! Question: is it possible to add events to Google Calendar, which will be automatically imported as appointments to this system?
    Just trying to understand, is it required to login into WP for adding phone customers, or can it be done by purely managing barber's calendar events.

  • Avatar
    Kevin Karr

    Hi all,

    Its not clear in the instructions for which user account to set up the Google API at ?

    So far I've created an entirely new Gmail account and API is configured as above. So the question is, is the setup of the API per every staff user's account or just on a primary company gmail calendar which then every staff can be linked to by just logging into and accepting the apps calendar acceptance ?

    So far I've not had any luck getting this work yet..

    Any help here would be appreciated.

    Edited by Kevin Karr
  • Avatar
    Nicolo

    Hi Bookly,

    Can I please clarify that 2way sync will work for team members calendars also. For example if a team member has an appointment entered manually into their google calender, that time slot will no longer be available via the plugin (in addition to plugin appointments being sync'd to the team members cal).

    Thanks in advance for the clarification, the below excerpt suggests it may only be available on the main calendar.

    "With that synchronization enabled, you will also be able to set up the synchronization of individual team members' calendars from Bookly to their Google calendars.

    If needed, you can also make sure that Bookly fetches blocked time slots from your Google calendar. Those time slots will not be suggested to the customer during the booking process."

  • Avatar
    Denis

    Hi,

    You need to set the API only for one account, then the rest of the staff can connect by themselves with their gmail accounts.

    It's available for staff members, they can connect their calendars to Bookly to use it to block out random time when they're not available for booking.

Please sign in to leave a comment.
Powered by Zendesk