A JavaScript-based scripting platform for automating and extending Google Sheets (and other Workspace apps). You write code in the built-in Script Editor (via Extensions → Apps Script) to add custom functions, macros, and automation.
A script can trigger on a spreadsheet open to send an email, or add a custom menu item.