Google Sheets query tutorial
Learn how to read and write data to Google Sheets.
Classic apps
You're viewing documentation for classic apps, which use Retool's original app editor. The AI app builder is the recommended way to build apps and where Retool focuses new development.
You can build Retool apps using your Google Sheets data, reading and writing data to Google Sheets as you would any other data source. This means you can also query Google Sheets using SQL and combine it with other data sources.
This guide explains how to:
- Query Google Sheet data.
- Display the data in a table.
- Use a form to add rows.
- Edit individual cells.
Requirements
To build apps with Google Sheets, you need:
- A Google Sheets resource.
- Edit access to the Google Sheet you want to work with.