Google Apps Script is A cloud-based JavaScript platform that lets you integrate with and automate tasks across Google products.

Apps Script is versatile. Among other things, you can:
- Add custom menus, dialogs, and sidebars to Google Docs, Sheets, and Forms.
- Write custom functions and macros for Google Sheets.
- Publish web apps — either standalone or embedded in Google Sites.
- Interact with other Google services, including AdSense, Analytics, Calendar, Drive, Gmail, and Maps.
- Build add-ons and publish them to the Google Workspace Marketplace.

This service allows scripts to create, access, and modify Google Sheets files.
Name |
Brief description |
SpreadsheetApp |
Access and create Google Sheets files. |
Sheet |
Access and modify spreadsheet sheets. |
Range |
Access and modify spreadsheet ranges. |
Method |
Return Type |
Brief description |
getActiveSheet() |
Sheet |
Gets the active sheet in a spreadsheet. |
Method |
Return Type |
Brief description |
getRange(row, column) |
Range |
Gets the active sheet in a spreadsheet. |
Method |
Return Type |
Brief description |
getValues() |
Object[][] |
Returns the rectangular grid of values for this range. |
This service allows Apps Script applications to return HTML, usually as a user interface.
Name |
Brief description |
HtmlService |
Service for returning HTML and other text content from a script. |
HtmlTemplate |
A template object for dynamically constructing HTML. |
HtmlOutput |
An HtmlOutput object that can be served from a script. |
Method |
Return Type |
Brief description |
createTemplateFromFile(filename) |
HtmlTemplate |
Creates a new HtmlTemplate object from a file in the code editor. |
Method |
Return Type |
Brief description |
evaluate() |
HtmlOutput |
Evaluates this template and returns an HtmlOutput object. |
Method |
Return Type |
Brief description |
getContent() |
String |
Gets the content of this HtmlOutput. |
This service allows scripts to send email on a user's behalf. Unlike Gmail Service, Mail Service's sole purpose is sending email; it cannot access a user's Gmail account.
Name |
Brief description |
MailApp |
Sends email. |
Method |
Return Type |
Brief description |
sendEmail(message) |
void |
Sends an email message. |
An email template is an HTML file composed of reusable code modules, making it as easy as copying and pasting your copy, links, and image URLs to create an email.
Follow this guide -> Create HTML Templates