As Scripts newbie I still need your help: How do I get my bot to break down and report the data to be found on the Metrics tab of my sheet? Specifically, I want both figures on "CR Disputed" and "CR to check" in my report.
Here's the script (will skip the block-payload script, that one is working - YAY) posting just the bit i need help with
function botCRcheck() {
const ss = SpreadsheetApp.getActive();
let data = ss.getSheetByName('Metrics Disputed CR').getRange("A3:B7").getValues();
let payload = buildAlert(data);
sendAlert(payload);
}
function buildAlert(data) {
let crTocheck = data [3][1]
I was also interested in creating a Script to auto-clean the sheet with the processed requests, anyone can give me a hint on how to start building it?