Literally just set this up for some of my users!
I have my google appscript call a suitelet on button click. But you can have it run when you first open the google sheet or use a time based trigger.
Get familiar with
UrlFetchApp.fetch("URL", options);
_SpreadsheetApp.getActiveSpreadsheet_()
getSheetByName(sheetName)
getRange(row, column, numRows, numColumns)
Be mindful of how much data you are trying to get. I had some large data sets and did run into time out issues (I convinced my users to narrow down the # of columns in the search they were calling).