- In
Project Settings
, enable Showappsscript.json
manifest file in editor - Create a new project with the below
Code.gs
script on https://script.google.com - Modify the
appsscript.json
with the below script - In
Triggers
, setup a trigger to run your function every hour.
For a detailed approach, this code was inspired from this article: https://www.gozynta.com/blog/posts/quickbooks-online-gmail-receipt-forwarding/