Google Workspace Apps Script Samples

repository·main·Indexed 26 days ago

https://github.com/googleworkspace/apps-script-samples

A collection of sample code and projects demonstrating how to use the Google Apps Script platform to interact with Google Workspace APIs. Includes AI-powered implementations such as AutoSummarize AI, Gemini custom functions for Google Sheets, a FACT_CHECK tool using Vertex AI Agent Engine, an Email Classifier for Gmail, and a Drive document renaming add-on.

Tokens
14.1K
Snippets
28
Records
124
Agent score
88%

What's inside googleworkspace-apps-script-samples

  1. Overview of the Out of Office (OOO) Assistant Add-on

    main

    The OOO Assistant is a Google Workspace add-on designed to extend multiple Google Workspace user interfaces. It provides functionality across Chat, Calendar, Gmail, Drive, Docs, Sheets, and Slides.

    Technical implementation details:

    • Google Chat: Uses app commands.
    • Other UIs (Calendar, Gmail, Drive, Docs, Sheets, Slides): Uses homepages and universal actions.
  2. Explore Google Apps Script Samples by API

    main

    This repository contains various sample code and projects for the Google Apps Script platform. You can find implementation examples for the following Google APIs:

    • AdminSDK: Manage domains and apps.
    • Advanced Services: Access Google APIs via Advanced Google services.
    • Calendar: List upcoming events or create vacation calendars.
    • Classroom: Manage Google Classroom.
    • Data Studio: Build connectors and handle authentication/authorization.
    • Docs: Cursor inspector and translation add-ons.
    • Drive: Manage files/folders and view activity.
    • Forms: Notification add-ons.
    • Gmail: Sending emails and performing mail merges.
    • People: Listing connections.
    • Sheets: Managing Form responses, custom menus, and custom functions.
    • Slides: Translation and progress bar add-ons.
    • Tasks: Listing tasks or building simple tasks web apps.