Spreadsheet Automation 101
Start here if you are new to code. Learn loops, triggers, MailApp, and API calls in Google Sheets.
A library of real Apps Script from Better Sheets tutorials and projects.
You are browsing a library of real Apps Script from Better Sheets tutorials and projects. See how someone else coded a trigger, menu, or API call. Copy what you need into the Script Editor. Compare different uses of the same functions when you are not sure which approach fits your sheet.
Source code is for members
You can browse titles and topics here. Snippet pages are for members only. Join or log in to read and copy code.
Unlock snippetsStart here if you are new to code. Learn loops, triggers, MailApp, and API calls in Google Sheets.
Plain-language guides for Apps Script terms, sheet features, and formula errors you will see in real code.
Browse methods, tutorials, and snippets built on SpreadsheetApp. The core API behind most sheet automations.
Videos, quizzes, tools, and the full automation path when you want more than copy-paste code.
Also explore the API directory, Apps Script Explainer to document pasted code, and UrlFetchApp when snippets pull data from the web.