How to build an interactive Google Sheets dashboard with Gemini and Apps Script

Turn an accounts receivable sheet into a live web dashboard using Gemini to write the Apps Script code. You describe your data cells and design, Gemini builds the page, and you deploy it as a web app. A free Google account is enough.

YouTube video: The Easiest Way to Create a Secure Dashboard Using Google Apps Script

YouTube’s video details do not confirm captions. Check CC in the player for available tracks.

8 chapters. Tap a step to jump to it.Chapters from the creator
Choose a chapter (8)
Video length
6 min 21 s
Time to do it
45 minutes
Difficulty
Medium
Steps
8

What you need

Steps

  1. Open your Google Sheet and note the exact tab names and cell ranges for every number you want on the dashboard. Write them down before you start.

  2. Open Gemini, attach your sheet, and paste a prompt listing each tab and cell range. Ask it to confirm it has the data and not write code yet.

  3. Ask Gemini to mock the dashboard in Canvas as a single HTML page with placeholder numbers. Describe the layout, colours, fonts and charts you want.

  4. Once you like the mockup, ask Gemini to write Code.gs with a getDashboardData() function that reads your exact cells. Request a testData() function that logs anything empty or null.

  5. Run testData() in the Apps Script editor and check the log. Fix any empty values before moving on.

  6. Ask Gemini to build the real dashboard: a doGet() function serving Dashboard.html that loads data with google.script.run.getDashboardData(). Set number formats and a loading message.

  7. Add interactivity: click a chart bar to filter the invoice list, click a client for a side panel, add a search box, and make Refresh reload data with green or red highlights on changed numbers.

  8. In the Apps Script editor, click Deploy, then Test deployments, and open the web app link to check your dashboard.

Tips and common mistakes

Always list exact cell ranges instead of letting Gemini search the sheet, so it reads the right numbers.

Tell Gemini to only read values and never recalculate, so your sheet formulas stay in charge of the maths.

If something breaks, paste the full error message into Gemini and ask what is causing it and how to fix it.

Keep display logic separate from calculations so the dashboard only shows what the sheet already works out.

Questions

Do I need to know how to code?

No. Gemini writes the Apps Script and HTML for you. You mainly describe your data locations and the design you want, then test the result.

Will this work on a free Google account?

Yes. Apps Script and web app deployments work on a free account, and you deploy from Deploy, then Test deployments, to get your link.

What if a number shows up blank on the dashboard?

Run the testData() function and check the log. It lists anything that came back empty, which usually means a wrong cell reference.

The notes are drafted automatically from video details and general task knowledge. How the guide was prepared

Report a correction

More in Money & Office

See all