Introducing Dench MCP
Google Apps Script logo

Integrate Google Apps Script with your AI CRM

Google Apps Script is a cloud-based JavaScript platform for creating, managing, deploying, and executing automations across Google Workspace.

Explore Triggers and Actions

Create Deployment

Create a deployment for an Apps Script project from a version and return its deployment ID, configuration, entry points, and update time.

ActionTry it

Create Project

Create an empty standalone or container-bound Apps Script project and return its project metadata and script ID.

ActionTry it

Create Version

Create an immutable numbered snapshot from an Apps Script project's current code and return its assigned version metadata.

ActionTry it

Delete Deployment

Permanently undeploy a deployment from an Apps Script project; this does not delete the project or version.

ActionTry it

Get Deployment

Get one Apps Script deployment by project and deployment ID, including its configuration and externally accessible entry points.

ActionTry it

Get Project

Get metadata for one Apps Script project, including its title, parent, timestamps, creator, and last modifying user.

ActionTry it

Get Project Content

Get the current HEAD or a numbered version of an Apps Script project's complete file set, including source code and file metadata.

ActionTry it

Get Project Metrics

Get weekly or daily execution, failure, and active-user metrics for a script project, optionally restricted to one deployment.

ActionTry it

Get Version

Get one immutable version of an Apps Script project by its version number.

ActionTry it

List Deployments

Return one page of deployments for an Apps Script project, including each deployment's configuration and entry points.

ActionTry it

List Script Processes

Return one page of execution processes for a script project, optionally filtered by function, deployment, time, type, status, or connected-user access level.

ActionTry it

List User Processes

Return one page of Apps Script executions made by or for the connected user, optionally filtered by project, function, deployment, time, type, status, access level, or project name.

ActionTry it

List Versions

Return one page of immutable versions for an Apps Script project with their numbers, creation times, and descriptions.

ActionTry it

Replace Project Content

Destructively replace the complete HEAD file set of an Apps Script project. Every existing file omitted from files is permanently deleted, and files must include a JSON manifest named appsscript.

ActionTry it

Run Function

Run a function in an API Executable deployment. In addition to the base userinfo.email grant, the connection must include every OAuth scope used by the target script; add those target-specific permissions as custom scopes on the auth config. The function can have arbitrary external side effects.

ActionTry it

Update Deployment

Replace an Apps Script deployment's configuration, such as its version, description, or manifest file name.

ActionTry it

How the Google Apps Script integration works

The Google Apps Script integration connects Dench directly to Google Apps Script, so agents can read and act on your Google Apps Script data as part of everyday work — answering questions in chat, keeping your CRM in sync, and running automations without anyone copying data between tools.

16 actions are available for agents to invoke on your behalf. Every call runs through Google Apps Script's own authorization, scoped to the account you connect.

Set up Google Apps Script in Dench

  1. 1

    Sign in to your Dench workspace and open Integrations.

  2. 2

    Find Google Apps Script and click Connect — you'll authorize access through Google Apps Script's own sign-in flow. No API keys or code required.

  3. 3

    Ask an agent to use Google Apps Script in chat, or call it from an automation.

  4. 4

    Manage or disconnect the connection any time from workspace settings.

Frequently asked questions

How does the Google Apps Script integration work with Dench?

The Dench Google Apps Script integration connects your AI CRM to Google Apps Script, so AI agents can work with your Google Apps Script data as part of chats, automations, and CRM workflows. You connect your account once, and every agent in your workspace can use it — governed by your workspace permissions.

What actions can AI agents perform with Google Apps Script via Dench?

The Google Apps Script integration currently exposes 16 actions, including Create Deployment, Create Project, Create Version, Delete Deployment, Get Deployment, and Get Project. Agents invoke them on your behalf from chat or from automations.

Do I need to write code to connect Google Apps Script to Dench?

No. You connect Google Apps Script from your Dench workspace using Google Apps Script's own sign-in and authorization flow — no API keys to copy, no glue code to maintain.

Is the Google Apps Script integration secure?

Connections are authorized through Google Apps Script's own authentication flow, and Dench stores only the authorization needed to act on your behalf. You can review and disconnect the Google Apps Script connection from your workspace settings at any time.