Skip to content

CyberSecurity Services

Google Workspace · Apps Script

Google Apps Script: the automation built into Google Workspace

Apps Script is JavaScript that runs on Google’s servers and makes Sheets, Gmail, Forms and Drive do work for you, on a schedule or the moment a form comes in. It comes with every Google Workspace plan, so there is no extra licence to buy.

  • Google Workspace Sell Premier Partner
  • Certified Workspace Administrators on the team
  • Support in Thai and English
What Apps Script is

JavaScript that runs inside Google Workspace

Apps Script is the JavaScript platform Google includes with every Workspace account. The code runs in Google’s cloud, so there is no server to host and nothing to install.

  • Reads and writes every core app

    Gmail, Sheets, Docs, Slides, Drive, Calendar and Forms each have a built-in service ready to call.

  • Starts on its own

    Runs on a schedule, when someone edits a sheet, or when a form is submitted.

  • Talks to systems outside Google

    Calls the APIs of your ERP, CRM or LINE Official Account to send and fetch data.

  • Adds your own menus and screens

    Custom menus, sidebars and small web apps inside the Sheets and Docs your team already uses.

Use cases

Jobs companies hand to Apps Script

Most are steps a team does by hand every day or week, on files and accounts it already uses.

  • Emails Sheets reports on a schedule

    Totals the sheet and sends the summary to managers every Monday morning, with nobody pressing send.

  • Routes Google Forms requests for approval

    Leave, expense and purchase requests go to each approver in turn, and the result is logged in a sheet.

  • Builds quotes and contracts from templates

    Fills a Docs template with the customer’s details and saves the PDF in that customer’s Drive folder.

  • Books rooms and sends Calendar reminders

    Creates events from a sheet, invites the attendees and emails a reminder before each one.

  • Tidies Drive folders and sharing

    Creates folders per project, sets access by team and flags files shared outside the company.

  • Connects Sheets to other systems by API

    Pulls orders from your ERP, or posts to your LINE OA when a status in the sheet changes.

Good practice

Four things to set before scripts run real work

A quick script nobody can find tends to stop the day its owner leaves. These habits keep scripts running.

  • Only the access it needs

    Check the OAuth scopes a script asks for, and let your admin decide in the Admin console which apps can reach company data.

  • Not tied to one employee

    Keep scripts under a shared account or in a Shared Drive, with a copy of the code and its version history.

  • Alerts when a run fails

    Turn on trigger failure emails and check the Executions log regularly.

  • Write down what it does

    Note when each script runs, which files it uses and where its settings live, so the next person can look after it.

Getting started

Your first script in four steps

Always try it on a copy of the file before the real one.

Open the script editor

In Google Sheets or Docs choose Extensions › Apps Script, or go to script.google.com.

Write a function

Write JavaScript with the built-in services such as SpreadsheetApp and GmailApp, then save.

Authorise and run

On the first run Google asks for the access the script needs; check the result in the execution log.

Add a trigger

Set it to run on a schedule, when the sheet is edited or when a form is submitted.

Right tool for the job

When Apps Script fits, and when another tool does

Apps Script is strong at automating work around Workspace files, but each run stops after 6 minutes and there are daily quotas.

A good fit for Apps Script

  • The data already lives in Sheets, Forms, Drive or Gmail
  • The work repeats: daily, weekly or on every form submission
  • Everyone using it is in the same Google Workspace domain
  • You want menus or buttons inside the Sheets and Docs the team uses

Better with another tool

  • A mobile app for field staff to enter data AppSheet
  • Large data processing, or jobs that run longer than 6 minutes Google Cloud
  • A system used by many outside customers A full web application
Google partner

An accredited Google partner in Thailand

AquaOrange is a Google Sell Premier Partner for Google Workspace, and certified Google Workspace administrators work on our team.

  • Licensing with correct Thai tax invoices (VAT & WHT)
  • Thai- and English-speaking support from a local team
  • One partner across Google Cloud and Google Workspace
Talk to our Google team
  • Sell Premier Partner — Google Workspace
  • Workspace Administrator — Certified professional
  • Google for Education — Sales Credential
  • Google Workspace Sales — Sales Credential
  • Workspace Deployment Services — Sales Credential
  • Workspace Deployment Services — Technical Credential
  • Gemini for Google Workspace — Sales Credential
  • Google Cloud SecOps — Sales Credential

8 Google partner badges and team credentials. See all our certifications

FAQ

Google Apps Script questions

Questions about Google Workspace for your company? Talk to our team.

See Google Workspace plans

No. Apps Script comes with every Google account, including every Google Workspace plan.

Start Google Workspace with AquaOrange

Apps Script comes with every plan. See plans and prices, or let our team help you choose one.