google-workspace-addon

Installation
SKILL.md

Building a Google Workspace add-on

A Workspace add-on is server-side Apps Script (.gs) that renders CardService cards in the host sidebar (Docs, Sheets, …). No frontend, no DOM, no Node — you write trigger functions that return cards. Source lives in integrations/google-workspace-addon/. It is a thin client over your own public REST API: CardService renders the UI, UrlFetchApp calls the API with a Bearer key. Read this before the first file; the command-level playbook is itsryanarmani/scripts scripts/google-workspace-addon/README.md.

When to use

  • Triggers: 'build a Google Workspace add-on', 'Apps Script CardService', 'appsscript.json oauthScopes', 'publish to the Google Workspace Marketplace', 'UrlFetchApp can't reach my API', 'OAuth verification rejected', 'clasp push', 'Google Workspace Marketplace SDK'.
  • No fetch in Apps Script: UrlFetchApp needs the script.external_request scope and a urlFetchWhitelist entry. oauthScopes must match across manifest, consent screen and code.
  • Homepage triggers return Cards; action handlers return ActionResponses. User keys go in user properties, not script properties. The real wall is Google's OAuth verification (demo video, days to weeks), not the listing form.
  • Siblings: canva-app, adobe-express-addon, figma-plugin, shopify-app, connector-directory-submission.

The trap that wastes a day: there is no fetch

Installs
1
GitHub Stars
1
First Seen
Nov 15, 2026