I apologize for asking Grok first. Grok failed me; it was both confident and wrong. Or maybe I just didn’t understand.
I need to schedule a bot to run daily and export a slice to a Google Sheet (preferred) or CSV file to a particular Google Drive location.
I know how to create Export to CSV actions. I know how to create Bots. I also have at my disposal a GCP project with APIs and Services enabled. I have a snippet of an AppScript that may come pretty close.
I’ve spun myself dizzy exploring all these avenues. Happy to share code, but I’m at the point where I’m not even sure if what I’m trying to accomplish is possible. Direction would be nice.
@TeeSee1 This is ultimately what I landed on. It was both harder and easier than I anticipated. I was able to create two schedule-based bots to export two CSV files, and then leveraged a scheduled Apps Script from a Google Sheet to combine those CSV files into one tab of the Google Sheet. This will make my weekend much more enjoyable.
Thanks for the direction. Sometimes all one needs is fewer choices. Your assistance is greatly appreciated.
This has been a long outstanding issue which remains.
The workaround is required as the table only selects or defaults to the main table and does not allow any slice to be selected. Thus when a template is autoctreated it always uses the default table name?
Hence one must manually edit the template file. I am using the excel template.
Below it shows main table table KSD AUDIT DATA when what I require is the CAPTURED DATA TODAY slice.
The last or bottom tab only allows the main table to be accessed and should rather provide a dropdown downlist of all available spreadsheet tables and their slices.