Automate & extend Google Workspace with simple code.

Apps Script is a cloud-based JavaScript platform powered by Google Drive that lets you integrate with and automate tasks across Google products.

Develop high quality solutions with ease

Automations

Write code that programmatically performs tasks across Google products. Automations are set in motion by custom menus, buttons, user actions, or a time-based schedule.

Custom functions

Write Google Sheets functions in Apps Script and call them from your spreadsheet just like built-in functions.

Add-ons

Build an app that automates tasks or connects to third-party services from within Google Workspace. Share your solution with others on the Google Workspace Marketplace.

Chat apps

Provide a conversational interface that lets Google Chat users interact with services as if the service were a person.

Build AI-powered add-ons

Discover and try Google Workspace samples that help you get started with building AI features using AI models, agents, platforms, and more.

Gmail message analyzer

Build an add-on that analyzes and labels Gmail messages with Gemini and Vertex AI.

Travel Concierge agent

Build an AI agent add-on that integrates with ADK and Vertex AI Agent Engine.

Fact-checker custom function

Build a custom function powered by a Vertex AI agent and Gemini model.

All samples

Explore add-on samples by featured Google products, language, sample type, and type.
Want to see Apps Script in action?
The Google Workspace Developers channel offers videos about tips, tricks, and the latest features.

Release notes

Learn what's new in Apps Script.

Support

Ask a question, file a bug, or request a feature.

REST API

Manage your script projects programmatically.

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年11月17日 UTC.