Custom Menu - 1 Function

One menu function

Code.gs

function onOpen() {
  var ui = SpreadsheetApp.getUi();
  ui.createMenu('Custom Menu')
      .addItem('Automate', 'automation')
      .addToUi();
}