What is an installable trigger?

When to use it

Use installable triggers for scheduled reports, form-submit processing, or edits that call Gmail, UrlFetchApp, or Drive as a specific user.

When to skip it

Stay with simple onOpen menus when no extra permissions are needed.

How it works

  1. 1

    Write a handler function with any valid name.

  2. 2

    Open Triggers > Add trigger.

  3. 3

    Pick event source and type.

  4. 4

    Authorize when prompted.

  5. 5

    Enable email notifications for failures on production files.

  6. 6

    Delete duplicate triggers after testing.

Examples in Google Sheets

Nightly sync

Time-driven installable trigger imports CSV every night.

Form to CRM

Form submit trigger appends and emails ops.

Common mistakes

  • Creating a new trigger every save without deleting test triggers.
  • Using installable onEdit when simple onEdit suffices.
  • Forgetting triggers do not copy when duplicating files without verification.

Frequently asked questions

Installable onEdit vs onEdit?
Installable version is created in Triggers UI and can have broader auth. Simple onEdit is just a reserved function name.
Who owns trigger quota?
The account that created or authorized the trigger.

Related terms