Apps Script | Google for Developers
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.
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.
Vibe-code a Gmail add-on
Build a dynamic Gmail add-on from the ground up using the Gemini CLI, MCP servers, and Vertex AI.
|
Want to see Apps Script in action? The Google Workspace Developers channel offers videos about tips, tricks, and the latest features. |
Support
Ask a question, file a bug, or request a feature.
REST API
Manage your script projects programmatically.