11
Introduction to Google Apps Script Kartik Kannapur

Introduction to Google Apps Script

Embed Size (px)

DESCRIPTION

Google Apps Script is a cloud based JavaScript environment which allows you to write powerful applications and workflows around Google Apps such as Gmail, Docs, Drive, Sheets and more. The development is entirely within a browser and its free and easy to get started. Come learn all the capabilities of Google Apps Script and walk away being able to write your first script. You can find the code on Github : https://github.com/KartikKannapur/Presentation-Introduction-to-Google-Apps-Script

Citation preview

Page 1: Introduction to Google Apps Script

Introduction to Google Apps Script

Kartik Kannapur

Page 2: Introduction to Google Apps Script

What is Google Apps Script ?Google Apps Script is a JavaScript based cloud scripting language that provides easy ways to automate tasks across Google Products & third party services.

➢ Editor in the Browser

➢ JavaScript Runtime in the Cloud

➢ Don’t hate, Automate !

Page 3: Introduction to Google Apps Script

What can you do with Apps Script ?Google Services :

Google Apps : Calendar, Contacts, Document, Drive, Forms, Gmail, Maps

Advanced Google Services : AdSense, Analytics, BigQuery, URL Shortener, YouTube

Script Services : Base, Cache, Charts, ScriptDB, Url Fetch

Page 4: Introduction to Google Apps Script

Getting Started ...➢ Standalone Scripts :

https://script.google.comGoogle Drive > Create > Script

➢ Container-bound Scripts :

Google Docs, Sheets, Forms Tools > Script Editor

SitesMore > Manage Site > Apps Scripts

Page 5: Introduction to Google Apps Script

Our First Script

Intro to Script Editor + Demo : Hello World

Page 6: Introduction to Google Apps Script

Triggers Trigger is a script resource that listens for a particular event & executes a particular function when the event occurs.

It allows asynchronous execution of scripts - Automation.

Types of Events: ➢ Clock tick events➢ Spreadsheet Open / Edit events➢ Form Open / Submit events➢ Document Open Events

Page 7: Introduction to Google Apps Script

Let’s take it up a notch ...

Demo : Today’s Agenda

Page 8: Introduction to Google Apps Script

Quotas for Google ServicesApps Script services impose daily quotas.

If you exceed your quota or limitation, the script will throw an exception and terminate execution.

Page 9: Introduction to Google Apps Script

Use CaseGmail Meter - Crunches Data About Your Email Use

Page 10: Introduction to Google Apps Script

Resources➢ Google Apps Script Documentation

https://developers.google.com/apps-script/

➢ Google Developer Live ChannelGoogle Apps Unscripted

➢ Google Apps Script - Google+ Community

➢ Google Apps Developer Blog

➢ Stack Overflow

Page 11: Introduction to Google Apps Script

Thank You

Mail : [email protected]

Twitter : @KartikKannapur

Google+ : +KartikKannapur27