We have a python script that uses gspread to execute an import mechanism from a Google Sheets worksheet into the next system. This is a command-line interface where the script is given the worksheet id, then connects to the Google Sheet, parses the data and imports it to the next system.
We would like to streamline the process so that the worksheet in Google Sheets has an 'Import' button that the user can simply click once the data is ready to import. Googling for a solution with gspread listener
gives one Q&A from stackoverflow:
But there is no mention on to use a listen
method in the gspread package, or how to hook it up to an App Script button.
What would be a good solution for this button+listener idea?