Halloween Huge Special Offer
up to 50 off
00

days day

00

hours hour

00

Mins Mins

00

Secs Secs

Estimated reading: 7 minutes 952 views

Google Calendar Integration: The Best Way to add an event

Google Calendar Integration: Learn how Google Calendar helps you stay on top of your plans – at home, at work, and everywhere in between.

Bit Integrations is a WordPress plugin that allows you to automate and integrate your WordPress form builders and other plugins with Google Calendar. This can save you time and effort, and improve your lead generation and customer management processes. Bit Integrations supports a wide range of WordPress plugins, such as Bit Form, Contact Form 7, Gravity Forms, WPForms, WS Forms, Ninja Forms, Fluent Forms, Formidable Forms, Everest Forms, Elementor Form, Beaver Builder, Divi, Brizy, BuddyBoss, WooCommerce, WordPress User Registration, LearnDash LMS, LifterLMS, Memberpress, GiveWP, Easy Digital Downloads, AffiliateWP and many more so you can use it to automate and integrate your WordPress plugins with Google Calendar.

Google Calendar Integration Tutorials

Authorization of Google Calendar Integration

First, you have to select Google Calendar from the actions page. To do this open your Bit Integrations dashboard then click on the Create Integration button now the Trigger page will open select any trigger from the list such as Bit Form, Contact Form 7, Gravity Forms, WPForms, WS Forms, Ninja Forms, Fluent Forms, Formidable Forms, Everest Forms, Elementor Form. Then proceed to next and the action page will open. Now Search and select Google Calendar from the action page.

Google Calendar Integration with Bit Integrations - Search and Select Google Calendar

Integration Name/Title: Here give the meaningful integration title as per your requirement.

Google Calendar Integration with Bit Integrations - Set Integrations Name

To set up Google Calendar integration with Bit Integrations, you’ll need Google Calendar Client ID & Client Secret. Follow these steps to get them.

  1. Go to Google Cloud Console
  1. Create a Project or Select an Existing Project
    • If you don’t already have a project, click on Create Project and follow the prompts to set it up.
    • If you have an existing project, select it from the project list.
  1. Enable APIs:
    • Now, go to “APIs & Services.”
    • Search and enable both the Google Calendar API.

3. Configure Consent Screen:

  • Go to “Configure Consent Screen.”
    • Click on “Get Started” under OAuth Overview.
    • Fill in App Information, Audience, Contact Information, and click Finish.
    • Click Create.
  • Publish the App.
    • On the left menu, click Audience and Publish the app.
  • Create a Client.
    • On the left menu, go to Clients and click “CREATE CLIENT.”
    • Select Web Application as the application type.
    • Enter a Name.
    • Add your Authorized JavaScript Origins and Authorized Redirect URIs (found on the integration page).
  • Enable Data Access.
    • Give all the scopes of “Calendar API
    • Scroll down and click Save.

info-icon-bit-apps  Note

While adding scopes, you may see some restricted scopes. Your integration will still work after adding them, but if you encounter any errors, you will need to verify the app. To do this, go to the Verification Center on the left side and complete the verification process.

Learn more: Google Cloud App Verification

4. Generate Client ID and Client Secret:

  • Go to the “Credentials” section.
  • Click on the download icon under the Action column.
  • A popup will appear displaying your Client ID and Client Secret.
  • Copy these credentials.
  • Paste them into the appropriate fields on the integration page.
Google Calendar Integrations - Paste Client ID and Client Secret

Once you have successfully entered your Google Calendar Client ID & Client Secret, click “Authorize” to proceed. Then click Next.

Calendar Lists: Select a calendar from the drop-down.

Google Calendar Integration with Bit Integrations - select a calendar

Time Zone: Choose your Time Zone.

Google Calendar Integration with Bit Integrations - choose a Time Zone

In the Google Calendar integration settings, you will see a “Map Fields” option. This is where you will need to map the fields from your form to the corresponding fields in Google Calendar. The “Start Date Time” and “End Date Time” field is the default field in Google Calendar, so you will need to map your form’s “Start Date Time” and “End Date Time” fields to this field in Google Calendar. You have the option to map additional fields by clicking on the Plus (+) icon.

Google Calendar Integrations - Field Mapping
  • Start Date Time – Required
  • End Date Time – Required
  • Title
  • Location
  • Description

Utilities

All Day Event: By enabling this action, Events will be created without time range. The Event will be created for a full day.

Google Calendar Integration with Bit Integrations - Utilities - All Day Event

Skip If Slot Not Free: By enabling this action, Event Create will skip if the slot is not free. Suppose you have three slots in a day at a specific time range. If these three slot time ranges coincide with the current event created then the event will not be created it will skip. The event will be skipped if the slot time range matches the event deadline.

Google Calendar Integration with Bit Integrations - Utilities - Skip If Slot Not Free

Set Reminders: By enabling this option you can set a reminder with an Email and Calendar Notification. Also, you can set a time, how long ago you want to get the reminder.

Google Calendar Integration with Bit Integrations - Utilities - Set Reminders

Note: You have to set a reminder to get a reminder from the drop-down list.

Google Calendar Integration with Bit Integrations - Utilities - Note
  • Notification
  • Email

Conditional Logics

With this feature, you can incorporate conditions into the integration process. When the specified conditions align, the data will be transmitted to your Google Calendar. For additional details, we recommend consulting our documentation regarding conditional logic. After you have configured your conditional logic, click Next to continue.

Bit-Integrations-Conditional-Logics

Google Calendar Integration Save

Once you have configured the desired settings for the integration, click the Save & Finish button to save the integration.

Google Calendar Integration with Bit Integrations - Finish and Save

Google Calendar Integration Log

Every integration has a timeline that you can use to check the success or error status of the integration.

Google Calendar Integration with Bit Integrations - Timeline
Google Calendar Integration with Bit Integrations - Log

Troubleshooting Request had invalid authentication credentials Error

Error Description

“error”:{“code”:401,”message”:”Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.”,”status”:”UNAUTHENTICATED”}}

If you are facing the above Google token expiration issues, our developers contacted Google support and received the following guidance:

Welcome to the Google Cloud Community!

You are correct that once the Publishing status is set to “In Production,” tokens shouldn’t expire after 7 days. Please try the following steps from this Stack Overflow thread[1]:

  1. Go to https://console.cloud.google.com/apis/credentials/consent and change the status from “Testing” to “Published.”
  2. Delete the current token file.
  3. Authorize the API again by signing into your Gmail account. You will encounter a warning screen; choose to proceed.
  4. Once done, you will receive a new token file.

If these steps do not resolve the issue, you can contact Google Cloud Support for further assistance. Thank you!

Use Case

Bit Form with Google Calendar

Bit Form Integration with Google Calendar using Bit Integrations. When the Bit Form is submitted, an event will be created in Google Calendar.

Elementor Form with Google Calendar

Elementor Form Integration with Google Calendar using Bit Integrations. When the Elementor Form is submitted, an event will be created in Google Calendar.

Gravity Forms with Google Calendar

Gravity Forms Integration with Google Calendar using Bit Integrations. When the Gravity Forms is submitted, an event will be created in Google Calendar.

WPForms with Google Calendar

WPForms Integration with Google Calendar using Bit Integrations. When the WPForms is submitted, an event will be created in Google Calendar.

Contact Form 7 with Google Calendar

Contact Form 7 Integration with Google Calendar using Bit Integrations. When the Contact Form 7 is submitted, an event will be created in Google Calendar.

Ninja Forms with Google Calendar

Ninja Forms Integration with Google Calendar using Bit Integrations. When the Ninja Forms is submitted, an event will be created in Google Calendar.

Forminator Forms with Google Calendar

Forminator Forms Integration with Google Calendar using Bit Integrations. When the Forminator Forms is submitted, an event will be created in Google Calendar.

Formidable Forms with Google Calendar

Formidable Forms Integration with Google Calendar using Bit Integrations. When the Formidable Forms is submitted, an event will be created in Google Calendar.

Fluent Forms with Google Calendar

Fluent Forms Integration with Google Calendar using Bit Integrations. When the Fluent Forms is submitted, an event will be created in Google Calendar.

Share this Doc

Google Calendar Integrations

Or copy link

CONTENTS
Bit Integrations footer logo
Fastest Integration with 301+ Trigger & Actions
multiple-logo