Send feedback
Stay organized with collections
Save and categorize content based on your preferences.
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.
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.
Write Google Sheets functions in Apps Script and call them from your spreadsheet just like built-in functions.
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.
Provide a conversational interface that lets Google Chat users interact with services as if the service were a person.
Power your scripts with AI
Discover and try Apps Script samples that help you get started with building AI features using AI models, agents, platforms, and more.
Vertex AI quickstart
Apps Script's Vertex AI advanced service lets you access and use generative AI models on the Google Cloud Vertex AI platform.
ADK agent quickstart
Build an agentic Google Chat app using Agent Development Kit (ADK) and Vertex AI Agent Engine.
A2A agent quickstart
Build an agentic Google Chat app using Agent2Agent (A2A) and Vertex AI Agent Engine.
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.
ADK agent quickstart
Build an agentic Google Chat app using Agent Development Kit (ADK) and Vertex AI Agent Engine.
A2A agent quickstart
Build an agentic Google Chat app using Agent2Agent (A2A) and Vertex AI Agent Engine.
A2UI agent quickstart
Build an agentic Google Chat app using Agent2UI (A2UI) and Vertex AI Agent Engine.
Vertex AI service
Apps Script's Vertex AI advanced service lets you access and use generative AI models on the Google Cloud Vertex AI platform.
Gemini Enterprise agent quickstart
Build an agentic Google Chat app using Gemini Enterprise.
Gemini Enterprise Agents
Build Gemini Enterprise agents that are tightly integrated with Workspace data stores, APIs, and Chat apps.
Vertex AI Agents
Build Vertex AI agents that are tightly integrated with Workspace data stores, APIs, and Chat apps.
Want to see Apps Script in action?
The Google Workspace Developers channel offers videos about tips, tricks, and the latest features.
Learn what's new in Apps Script.
Ask a question, file a bug, or request a feature.
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 2026年06月25日 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026年06月25日 UTC."],[],[]]