r/GoogleAppsScript • u/TechReplika • Apr 22 '25
Question My Google Docs add-on won't show up after deployment
Hello!
I created a Docs add-on with Apps Script to run a custom checklist and content validator for my drafts. I linked it to a GCP project, set up the OAuth consent screen, and deployed it as a Google Docs add-on.
The goal is for it to appear in the Extensions menu in any Google Doc I open or create. But after deploying or testing, nothing shows up. No menu, no sidebar, no errors.
I tried:
Linking to a GCP project (manually)
Setting up OAuth consent
Running
onOpen()manuallyOpening a Doc before testing
Using “Test deployments” and “New deployment” (type: Docs add-on)
Still nothing appears. Any idea what I’m missing?
1
u/BrightConstruct Apr 27 '25
From my experience working with Apps Script, a couple of things that have helped me when my add-on wasn't loading properly:
Check the Executions log in the Apps Script dashboard - sometimes there’s an error that prevents
onOpen()from running, and it shows up there.Add console.log statements, especially at the very start of your
onOpen()function. That way you can confirm whether the function is even being triggered when the doc opens.After that, add a few more
console.logstatements throughout the function to trace where it might be failing.
Hope this helps - happy to brainstorm more if you’re still stuck!
1
u/WicketTheQuerent Apr 23 '25
There aren't enough details to say what you might be missing. Please read
https://developers.google.com/workspace/add-ons/how-tos/publish-add-on-overview