Simple & Easy GAS Script Authorization Flow
This script provides a framework for automatically displaying a custom menu to help people walk through authorizing the apps script. It also automatically installs any needed triggers for normal operation (e.g. onEdit, onFormSubmit, or timed triggers).