A list of extension points for creating third-party resources from within Google Workspace applications. For more information, see Create third-party resources from the @ menu.
DocsExtensionPoint
Common format for declaring a Docs add-on's triggers.
Fields
runFunction
string
Required. The endpoint to execute when this extension point is activated.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-22 UTC."],[[["\u003cp\u003e\u003ccode\u003eDocsAddOnManifest\u003c/code\u003e customizes the appearance and execution of Google Docs add-ons, including homepage configuration, file scope authorization, link previews, and third-party resource creation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDocsExtensionPoint\u003c/code\u003e defines a common format for Google Docs add-on triggers, specifying the endpoint function to execute when activated.\u003c/p\u003e\n"],["\u003cp\u003eThe manifest includes triggers for various events like homepage access, file authorization, link previews, and actions to create third-party resources.\u003c/p\u003e\n"],["\u003cp\u003eEach extension point within the manifest specifies a \u003ccode\u003erunFunction\u003c/code\u003e which is the Apps Script function to be executed upon triggering the extension point.\u003c/p\u003e\n"]]],["The provided content details the `DocsAddOnManifest` and `DocsExtensionPoint` for customizing Google Docs add-ons. `DocsAddOnManifest` properties include: `homepageTrigger` to override common homepage settings, `onFileScopeGrantedTrigger` to execute code upon file scope authorization, `linkPreviewTriggers` for link previews, and `createActionTriggers` for creating external resources. `DocsExtensionPoint` has a `runFunction` field, specifying the endpoint triggered upon activation. These components define how add-ons appear and function within Google Docs.\n"],null,[]]