public sealed class ContextualTrigger : IMessage<ContextualTrigger>, IEquatable<ContextualTrigger>, IDeepCloneable<ContextualTrigger>, IBufferMessage, IMessage
Reference documentation and code samples for the Google.Apps.Script.Type class ContextualTrigger.
Defines a trigger that fires when the open email meets a specific criteria.
When the trigger fires, it executes a specific endpoint, usually
in order to create new cards and update the UI.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The `ContextualTrigger` class in the `Google.Apps.Script.Type` namespace defines a trigger that activates when an email meets specific criteria, typically to update the UI."],["This class implements multiple interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing various functionalities for message handling and object comparison."],["`ContextualTrigger` has two constructors, a default one and one that takes another `ContextualTrigger` object for cloning."],["Key properties of the `ContextualTrigger` include `OnTriggerFunction`, which specifies the endpoint to call, `TriggerCase`, which determines the type of trigger, and `Unconditional`, for triggers that fire with any opened email."],["The latest version of this class is `2.3.0`, with previous versions ranging from `1.0.0` to `2.2.0` also being documented."]]],[]]