To get the sample code, from the command line, run: git clone This GitHub repository contains sample code that you can use as a reference.
Some messages, preferably email receipts, in GmailĪs you work through this codelab, it might be helpful to reference a working version of the code you'll write.Access to the internet and a web browser.Store user values using Google Apps Script's Properties service.Interact with Google Sheets via Google Apps Script.Create a Google Workspace Add-on for Gmail using Google Apps Script.
The user can edit expense information and then submit it to log their expense into a Google Sheets spreadsheet.
When a user receives a receipt by email, they open the add-on which automatically gets relevant expense information from the email. In this codelab, you'll use Google Apps Script to write a Google Workspace Add-on for Gmail that lets users add receipt data from an email to a spreadsheet directly within Gmail.