What is Google Apps ScriptDid you know that Google applications can be programmed with Google Apps Script?
Ask UsYou have probably heard the terms "macros" in "Excel" and it might sound familiar with "Visual Basic" . "Macros" are nothing more than Visual Basic code (the programming language for Microsoft Office applications) that runs within a Microsoft application environment. The most commonly used in this context is Excel. The usual way to run a macro (Visual Basic code) in Excel is through a button, a spreadsheet event, or a custom menu item.
Well, in Google Workspace there are also macros, and instead of being programmed in Visual Basic, they are programmed in Google Apps Script . Google Apps Script is based on JavaScript (the programming language of the web) and has an online development environment (which you can see in the image). Google Apps Script macros can be executed in all Google Workspace applications, through buttons, automatically with events, or with additional menu items.
If you are performing the same actions with the mouse and keyboard, they can be replicated with code to be executed at your convenience.
If you are copying and pasting information between Gmail, Google Sheets... the process can be automated with Google Apps Script.
With Google Apps Script, you can program checks and verifications to have greater certainty in the information you handle.
You can trigger tasks in other Google applications when an event occurs in one of them. For example, when an email is received in Gmail, a task can be triggered in Google Sheets.
You might want to perform several operations on your document before downloading it, for example, converting it to CSV, PDF with a specific format...
You are probably already using Google Drive. With Google Apps Script, you can automate processes like scanning, deleting, sending, etc.