Home

Awesome

Supabase-Googlesheet

In this repo, you will see how to pull datas from your supabase project using Supabase API to a Google Sheet. No matter how many fields and rows you want to pull, this should always work. If not, feel free to contact me so that we can look at your issue.

The code

You can get it here.

If you find any issue related to the code, please contact me so that I can help you.

Prerequisites

This project assumes that you are already familiar to supabase and Google appscript.

You will need :

supabase-project-details.png

And of course : your Google account.

How often can I refresh datas ?

More informations about Google script triggers here.

CAUTION : be careful of your daily quotas on your Google account. For a free account, you can have 90 minutes of runtime per day (July 2022). Check out the details of Google triggers quotas here.

Motivation

Google Scripts can't handle postsgresql connections yet, so here is a workaround to pull datas everyday at the same hour. We don't really want a realtime update. Just a snapshot is enough.

Once the datas are available on your Google Sheet, you can explore many possibilities, like using Google Data Studio that pulls datas from Google Sheets every 15 minutes.

Limits and recommandation

max-rows-supabase-api.png

I highly recommand you to :

Roadmap

Have fun with your datas !