I believe I properly installed the Google Sheets Service plug in.
My goal is to have the user click a ZQ sheets button that (1) creates a new Google sheet and (2) sends all of the user’s data in the Bubble spreadsheet to the Google sheet create in (1).
My questions:
Even the first workflow (shown in the screenshot below) does not seem to be working - how do I get it to work?
How do I send all data from the Bubble spreadsheet to a Google sheet? Is it the
I’m not actually sure, but if by sending you meant interaction between Bubble’s Database and the Google Spreadsheet, should be possible using Dynamic Value and searching for Database entries . Before sending data from database you need a workflow to write down into database the values for respective fields.
However, it doesn’t seem to be creating the new spreadsheet in my account. I can’t see any new spreadsheet in my Google Drive, and when I try to access the spreadsheet via the URL I need to request access.
So my problem now seems to be properly connecting the service in Bubble to my Google Drive account.
However the plugin Google Sheets Service Type has different workflow. It is not designed to be used with your Drive, but instead it works with virtual drive through google service.
The regular account is just a normal Google account that your application uses. Since regular accounts require the manual authorization step (going to the browser, logging in to Google and authorizing your app), you need to do this manually the first time and then save the token. There’s some examples in this page. After you save the token, your app can authorize itself without your intervention.
The service account is an account that is not associated with an user and that do not require manual authorization. You can create a service account in the Developers Console as described here. With this type of account, you use a private key file to authorize your app.
If you want to connect the user their personal account when signing in and working with personal sheets, you’ll need to use a different plugin instead:
Please check the demo setup and documentation for it, so it will help you better.
I believe that I have correctly set up the Service Account and authorized my app following ZQ’s instructions. See the screenshots below showing my enabled service account and also the proper information in my Bubble app.
does there seem to be something wrong with how my service account is set up?
does there seem to be something wrong with how my app is authorized to use the service account?
If the service account is properly set up and my app is authorized, how do I obtain access to new spreadsheet my app’s workflow is creating? Is it automatic or do I need to create another workflow that authorizes access to the spreadsheet?
Update: I was able to view the new spreadsheet that is created by using the Allow Spreadsheet access (everyone) workflow action. My service account and my app authentication are properly set up.
My new question is about getting and/or displaying that new URL from your following demo workflow:
Update: I don’t think I need my questions answered right now as I added a workflow to make it work so that the user can click a second button to view the spreadsheet that is created.
My next goal is to actually send the data from my Bubble spreadsheet to the new spreadsheet that is created.