Google Apps Script overview (original) (raw)
Google Apps Script overview
Stay organized with collections Save and categorize content based on your preferences.
Google Apps Script is a rapid application development platform that makes it fast and easy to create business applications that integrate with Google Workspace. You write code in modern JavaScript and have access to built-in libraries for favorite Google Workspace applications like Gmail, Calendar, Drive, and more. There's nothing to install—we give you a code editor right in your browser, and your scripts are saved to Google Drive and run on Google's servers.
If you're new to JavaScript, Codecademy offersa number of JavaScript courses. (Note that these courses weren't developed by and aren't associated with Google.)
What can Apps Script do?
Apps Script is versatile. Among other things, you can:
- Add custom menus,dialogs, and sidebars to Google Docs, Sheets, and Forms.
- Write custom functions andmacros for Google Sheets.
- Publish web apps — either standalone or embedded in Google Sites.
- Interact with other Google services, including AdSense, Analytics, Calendar, Drive, Gmail, and Maps.
- Build lightweight add-ons and publish them to the Google Workspace Marketplace. If you anticipate building large scale add-ons, refer toBuild a Google Workspace add-on using HTTP endpoints.
Try a quickstart
Try one of the following quickstarts to get an Apps Script project up and running in less than 5 minutes.
- Automation quickstart: Build and run a simple automation that creates a Google Doc and emails you a link to it.
- Custom function quickstart: Create a custom function that calculates the sale price of discounted items.
- Google Chat bot quickstart: Create a simple Chat bot that can be directly messaged and responds by echoing your messages.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.