# googleworkspace/apps-script-samples

Apps Script samples for Google Workspace products.

Repository: https://github.com/googleworkspace/apps-script-samples
Canonical: https://ross.abutalabs.com/products/apps-script-samples
Homepage: https://developers.google.com/apps-script
Language: JavaScript
License: Apache-2.0
License Family: permissive
Topics: gsuite, apps-script, google-apps-script, samples, google-workspace, classroom, drive, adminsdk, calendar, cloud
Last push: 2026-07-30T15:21:47+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 95, release rhythm 35, longevity 100
- inputs: {"age_days": 4830, "days_push": 34, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5237, forks 1997 (observed 2026-08-28T04:09:13.505073+00:00)

## What it is
An official collection of sample code and projects for Google Apps Script, Google's cloud-based JavaScript platform for automating and extending Google Workspace products. It includes quickstarts, solutions, and add-on examples for Gmail, Sheets, Drive, Calendar, Docs, Classroom, and more.

## Use cases
- automate sending mail merge emails from Gmail
- learn how to manage Google Drive files with Apps Script
- build a Google Workspace add-on for Docs or Slides
- create a vacation calendar automatically
- manage Google Classroom with a script
- write custom functions for Google Sheets
- build a Google Chat app with AI agents

## When to choose
- you are getting started with Google Apps Script and want working examples
- you need to automate tasks across Google Workspace products
- you want reference code for a specific Google API like Calendar, Drive, or Gmail
- you are building an add-on for the Google Workspace Marketplace

## When to avoid
- you need a production library or SDK rather than example code
- you are not working within the Google Workspace ecosystem
- you need a standalone application rather than scripts running on Google's cloud

## Facets
- artifact type: learning-resource
- maturity: active
- function: developer-tools, workflow-automation, email, documentation
- domain: developer-tools, apis, tutorials
- platform: cloud
- tags: google-apps-script, google-workspace, sample-code, gsuite, add-ons, gmail, google-sheets, google-drive, google-calendar, automation, javascript, web-server

## Member repositories
- googleworkspace/apps-script-samples (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:13.505073+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:59:37.913209+00:00, confidence not recorded.
  - readme: https://github.com/googleworkspace/apps-script-samples (fetched 2026-08-28T04:09:13.505073+00:00, sha 53434721f48b)
  - homepage: https://developers.google.com/apps-script (fetched 2026-08-29T08:55:06.451868+00:00, sha 63a42a5299f0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
