Apps Script is a simple yet powerful programming language that lets you customize, extend, and automate the functionality of Google’s suite of business applications. Scripts can be used in conjunction with Gmail, Contacts, Calendar, Spreadsheets, Documents, Forms, and more.
If you’re familiar with the concept of using macros in older applications to automate repetitive tasks, you can think of Apps Script as providing similar functionality, and more. What makes it so powerful is the simplicity with which multiple applications in the Google Apps suite can be combined to create a seamless workflow.
The best way to understand this concept is to look at some examples of what can be accomplished with a short bit of Apps Script Code:
These are just a few of the ways we have used Apps Script in our company to automate and extend our business applications. Once you have a grasp on the basic capabilities of the tool, It’s up to your own creativity to invent your own solutions to customize Google Apps to the needs of your organization.
The first thing to know is that scripts can either be standalone files stored in Google Drive, or they can be stored within other documents- most commonly Docs, Sheets, and Slides. A standalone script might make the most sense if your script doesn’t directly interact with a document (for example, a script to send a daily email with summary data from your CRM). If the script’s primary functionality is to read or write data to a particular document, it is best to store it inside the document itself (for example, to create a spreadsheet timesheet from events stored in Google Calendar).
I recommend starting by copying/pasting the sample script found in Google’s 5-Minute Quickstart into the window of your first Google Apps Script project. Once you feel comfortable running the sample script, be sure and also review all of the Google Apps Sample Scripts.
For those with even light programming and scripting experience, learning Google Apps Script is going to be fairly straightforward. Since Apps Script is based on the Javascript language, those with Javascript experience will be able to jump right in. In this case, I recommend the Google Apps Script Reference as a starting point to explore the functionality available.
What if you don’t have programming experience? There is still a lot you can accomplish by making some simple modifications to the sample scripts that Google provides. If you’re feeling more adventurous, you can even take an e-learning course to learn javascript. Don’t forget that a Google for Work Partner may also be able to help you if you get stuck.
Enjoy and happy scripting!