Skip to main content
Drupal is a registered trademark of Dries Buytaert
EOL Warning: Drupal 11.0 has reached end of life and no longer receives security updates. EOL Warning: Drupal 10.3 has reached end of life and no longer receives security updates. EOL Warning: Drupal 10.2 has reached end of life and no longer receives security updates. EOL Warning: Drupal 10.1 has reached end of life and no longer receives security updates. EOL Warning: Drupal 10.0 has reached end of life and no longer receives security updates. EOL Warning: Drupal 9.5 has reached end of life and no longer receives security updates. EOL Warning: Drupal 9.4 has reached end of life and no longer receives security updates. EOL Warning: Drupal 9.3 has reached end of life and no longer receives security updates. Release: Raven: Sentry Integration 7.5.2 Minor update available for module raven (7.5.2). Usage Milestone: jQuery UI Datepicker Module jquery_ui_datepicker crossed 1,000 active installs.

Google Spreadsheets Integration

70 sites Security covered Drupal 8–11
View on drupal.org

This module allows you to read data directly from Google Sheets. It is useful for importing constantly changing information, like product details or pricing, without the need to upload and parse files manually.

This module provides the ability to Read Data from a google Spreadsheet.

Requirements:

If you don't use composer to install this module you will need to manually install the google api client.

composer require google/apiclient:^2.0

To use this module you need to enable the private file system

Configuration

Please follow the steps described in the "Set up your environment" section of
https://developers.google.com/sheets/api/quickstart/js to enable the api

Then create a Service Account and a key. Upload the created json file in:
/admin/config/spreadsheets/spreadsheetscredentials

Set up the sheet_id, range and sheet from wich you want to extract the data in:
/admin/config/services/googlesheets

After this you can retrieve the data with:
Drupal::service('spreadsheets_sheets.base')->getData();

there is also the possibility to programatically changing this configurations with the methods:
setSheetId(string $id), setRange(string $range) and setSheetName(string $name)

Usages

This module is useful if you have the necessity to extract values from googelsheets. If you have a large file that is constantly changing it has two major advantages to uploading the file and parsing it after.

  • There wont be malformed files since you can define all the rules on the sheet itself wich ensures more integrity
  • The googlesheet will track all the changes for you in the revisions

One example could be a products sheet with prices and descriptions that can be used to create any kind of entities or nodes.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
May 2026
Latest release
2 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
2.0.5 Stable 8–11 May 29, 2026