I am trying to integrate with google spreadsheets but not sure if the workflow I have in mind is possible.
Here is the workflow:
- A user chooses to add a spreadsheet to my webapp
- He is redirected to a new google spreadsheet
- Once he is finished creating/editing I need a way for the user to come back to my app and give it the id of the newly created spreadsheet so that I can embed/show it
The authentication part should be okay, but figuring out how to implement the last step is a problem.
I was initially thinking of adding a menu item to the spreadsheet using apps-script that would say something like "Save and Close" and would redirect to my app with the new spreadsheet id as a URL parameter. But it seems like it is not possible to install such a menu to all newly created scripts.
Any suggestions? Is the workflow even feasible?