Kartik Tambi
  • Welcome Aboard! 🎉
  • Quick Guides
    • Encrypting Data for Security
    • Use Airtable as an API
    • Upload image to Airtable
    • Delete an asset from Cloudinary
    • Google Sheets as an API
  • Hackathon Projects
    • Bloom App
    • Family Nest
    • Trackr App
Powered by GitBook
On this page
  • Updating Multiple fields at once
  • Setting up Apps Script on our Spreadsheet

Was this helpful?

  1. Quick Guides

Google Sheets as an API

Using Google Apps Script (a very helpful extension developed by Google) extension in Google Sheets, we can use our Google Sheets spreadsheet as an API to post/update/read/filter data.

PreviousDelete an asset from CloudinaryNextBloom App

Last updated 2 years ago

Was this helpful?

Updating Multiple fields at once

The current update block of Google Sheets datasource in Thunkable allows us to update only one field at a time. Working with this block is easy, but certainly not efficient if we want to update multiple fields for a certain row.

Let's have a look at how we can do this efficiently with Google Apps Script & the Thunkable API component.

Setting up Apps Script on our Spreadsheet

In the Extensions menu in toolbar, click on Apps Script, which opens a new app script project for this spreadsheet in a new tab.
The new tab opened will look like this, which would have code.gs file opened in our Apps Script project. You can rename your apps script project by clicking the 'Untitled Project' beside the apps script logo.