Hi Thomas,
Sure, happy to clarify.
Yes, you can use Bubble’s API Connector (free plugin) to create an integration with the Google Sheets API. This method will give you the most control over the connection, but it’s also the most advanced route since you’ll have to handle the OAuth2 authentication yourself.
I believe there are one or more 3rd-party-published plugins that integrate specifically with Google Sheets as well to save you some time. It’ll depend on whether those more ready-made plugins have everything to support your needs.
Connecting to GSheets via OAuth2 will mean the user will be directed to Google to Grant access to their Sheets data and then directed back to your app. You’d use API calls to read their sheets and create workflows to save cell values to your database. This part is the trickiest if your users’ own sheets are all structured differently. You’d have to know which of their columns/rows are which to map to your own table(s). This is what I meant by assuming they all have the same setup.
To avoid making that assumption, you could use the API to display their own sheet data back to the user in your app so that they can map it themselves… You’d just need to create that interface and the workflows to make it happen.
The API gives you the most control, but it’s a lot to work out, which is why I suggested starting with a template CSV that your users can download, add in their data, export and then upload to potentially give you more reliable results.
No, with the API Connector, you wouldn’t be using the upload/download actions.
Of course, all this is said with a lot of assumptions being made about your app. I don’t know what kind (or size) of data your users have, your app’s data structure, or anything else. So much of this can be tackled many different ways and I’m not saying any one method is right or wrong - it just depends on what you’re building - but hopefully this helps point you in a direction.
As an aside, if you’re building a business app, you’ll need to get on a paid plan eventually to have it on a custom domain, remove the Bubble banner, get increased server capacity, use API Workflows (different from API Connector, but will very likely be needed at some point for scheduled flows and/or recurring flows and/or batch processing), and other beneficial features. If you need any of those, then the upgrade will also include access to the upload/download actions.
Hope this helps!