I have a sheet with three columns: Project, shared_folder_id, shared_file_id
I have created an automation (bot) that, when a new Project is created, Apps Script is called and creates a new Google shared folder. then I used the data output method to add the shared folder link to the column Shared_folder_id, and this worked fine.
Then, I wanted to add to the same script another step that creates a Google sheet in that created shared folder. Then, I wanted to write the Google sheet link into the shared_file_id column. This is where I have my challenge.
It seems that the Appsheet bot can handle only a single OUTPUT from the script.
What do you suggest is a better way to achieve the creation of the shared folder and the shared file and write their links into the dataset culomns?
When I built the same (or similar) automation I had the Apps Script itself write the file and folder ids into the spreadsheet however if you read up on the use of nested fields in the response it seems possible to achieve what you want using this method. https://support.google.com/appsheet/answer/12309564#nested-fields
Thanks James.
I have read about the nested fields. I seem to have a gap about how to configure the bot to correctly get the data to where it needs to be.
I am trying to use appsheet capabilities to the maximum and to minimize scripts that might require additional maintenance later.