HomepageTrigger manifest resource

  • The HomepageTrigger configuration defines the behavior of homepage triggers in Google Workspace add-ons.

  • Homepage triggers can be set at a common level or for individual host applications, with host application settings taking precedence.

  • The JSON representation of a HomepageTrigger includes enabled (boolean) and runFunction (string) fields.

  • The runFunction field specifies the name of the function that runs when the trigger fires and should return an array of Card objects.

The resource configuration used to define Google Workspace add-on homepage triggers.

HomepageTrigger

The Google Workspace add-on manifest configuration for homepage triggers.

Homepage triggers can be defined in the addOns.common.homepageTrigger resource or individual host application resources. Host application triggers, if defined and enabled, override the common homepage trigger.

See Homepage configuration for details.

JSON representation
{
  "enabled": boolean,
  "runFunction": string
}
Fields
enabled

boolean

Whether non-contextual cards are enabled for the host application. Defaults to true.
runFunction

string

The name of the trigger function. The function must return an array of Card objects for the add-on homepage.