Bit Form Logo
Estimated reading: 5 minutes 860 views

Google Sheets Integration: The Best Way to Create Spreadsheets

Google Sheets Integration: Use Google Sheets to create and edit online spreadsheets. Get insights together with secure sharing in real-time and from any device.

Bit Form is a WordPress form builder plugin that can integrate with over 50+ popular platforms, including Zoho CRM, Zoho Sheet, Zoho Campaign, ActiveCampaign, Airtable, Agiled CRM, Dropbox, Copper CRM, Capsule CRM, HubSpot, Groundhogg, Google Drive, Google Sheet, Zoom, Zoho Recruit, Zoho Desk, Zoho Bigin, WooCommerce, WebHooks, Trello, Telegram, SendFox, Propovoice CRM, Moosend, and MailPoet. This can help you save time and effort, and improve your lead generation and customer management processes.

Google Sheets Integration Tutorial

Authorization of Google Sheets Integration

To set up the Google Sheets integration in Bit Form, simply go to the Bit Form plugin and open up the form you want to work on. Then, head to the form settings and look for the integrations section. Click on the plus icon to add a new integration, and search for Google Sheets  from the available options.

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

Google Sheets Integration with Bit Form - Set Integration Name

Generate Google Sheets Client ID and Client Secret

To get your Google Sheets Client ID and Client Secret, follow these steps:

  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 Drive API and the Google Sheets 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.
    • In the scope section, click on “Add or Remove Scopes.” Add these scopes. Then, click on “Update.”
      • https://www.googleapis.com/auth/drive
      • https://www.googleapis.com/auth/drive.file
      • https://www.googleapis.com/auth/drive.metadata
      • https://www.googleapis.com/auth/spreadsheets
      • https://www.googleapis.com/auth/userinfo.profile
      • https://www.googleapis.com/auth/userinfo.email
    • Scroll down and click Save.

note-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 Sheets Integration with Bit Form - Paste Client ID and Client Secret

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

Google Sheets Integration with Bit Form - Authorization is Successful

Spreadsheets: Select a Spreadsheet from the drop-down option.

Google Sheets Integration with Bit Form - Spreadsheets

Worksheet: Select a Worksheet from the drop-down option.

Google Sheets Integration with Bit Form - Worksheet

Header Row: Specify your header row, for instance, A1.

Google Sheets Integration with Bit Form - Header Row

In the 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 Sheets. You have the option to map additional fields by clicking on the Plus (+) icon.

Google Sheets Integration with Bit Form - Fields Mapping

Integration Save

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

Google Sheets Integration with Bit Form - Finish and Save
Google Sheets Integration with Bit Form - Integration is Success

Configuring the conditional logic

Now, let’s set up some conditional logic to trigger the integration for the submitted data. To do this, head over to the conditional logic section. You have the option to create a new conditional logic or use an existing one. Make sure to set the Action behavior to “Always” and check the Integration under Additional Actions. Then, select your desired Integration, in this case, “Google Sheets“. Once done, just click on Update.

Integration Log

Every integration has a timeline that you can use to check the success or error status of the integration. To see your response, just head over to the Response section in Bit Form, click on your record, and then scroll down. Below your Timeline, click on Show Integration Logs.

Google Sheets Integration with Bit Form - Response
Google Sheets Integration with Bit Form - Timeline

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!

Share this Doc

Google Sheets Integrations

Or copy link

CONTENTS
Subscribe for New Integrations Alert!
Join Community
4000+ Member's
Bit Apps
4000+ Videos
bit form dark logo
© 2025 All rights reserved by Bit Apps.
Follow us
© 2024 ABC. All rights reserved by Bit Apps.