I built a code that grabs only one type of google calendar event and sends the information to a spreadsheet. It works, but now I need to turn this function into an html dropdown list, I tried several options but when I click OK it doesn't run. What should I change? I'll leave the old code (works) and try a new one (doesn't work).
Old:
function onOpen(e) {
// MENU
let ui = SpreadsheetApp.getUi()
ui.createMenu("⚡")
.addItem("⏹ Atualizar Reuniões", "atualReunioes")
.addItem('