Skip to content

googleworkspace/apps-script-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Google Apps Script Samples

Various sample code and projects for the Google Apps Script platform, a JavaScript platform in the cloud.

Learn more at developers.google.com.

Google APIs

Image

AdminSDK

Image

Advanced Services

Image

Calendar

Image

Classroom

Image

Data Studio

Image

Docs

Image

Drive

Image

Forms

Image

Gmail

Image

People

Image

Sheets

Image

Slides

Image

Tasks

Image

Templates

  • Build off a working framework for new Apps Script projects.

Image

Triggers

  • Call an Apps Script function such as onOpen, onEdit, or onInstall in an add-on
  • Create a time-driven trigger

Codelabs

Codelab tutorials combine detailed explanation, coding exercises, and documented best practices to help engineers get up to speed with key Google technologies. Here's a list of Apps Script codelabs:

Clone using the clasp command-line tool

Learn how to clone, pull, and push Apps Script projects on the command-line using clasp.

Lint

Run ESLint over this whole repository with:

pnpm lint

This command will fix simple errors.

Type Checking

Run the TypeScript-based check over the repository with:

pnpm check

This command validates .gs files by temporarily converting them to .js and running tsc. It checks for syntax errors and type issues using JSDoc annotations.