Gemini-Powered Google Docs Summaries Rewrites and AI Writing Tools

📘 Lesson 7 — Gemini-Powered Google Docs (Summaries, Rewrites & AI Writing Tools) Blog Post #7 in the Apps Script + APIs + Gemini Series Google Sheets is about data.Google Docs is about thinking, writing, and meaning. In this lesson, you’ll bring Gemini directly into Google Docs, allowing users to summarize documents, rewrite sections, and … Read more

Building Custom Menus and Sidebars in Google Docs with Google Apps Script

Create Real Tools Inside Docs (Not Just Scripts) Most Google Apps Script tutorials stop at automation.But the real power starts when you turn scripts into tools users can interact with—directly inside Google Docs. In this article, you’ll learn how to create custom menus and sidebars that transform a Google Doc into a mini application. Why … Read more

How to Use Libraries in Google Apps Script Bound to Google Docs

Goal: Reuse code across multiple Docs projects by adding a library to a bound script (a script attached to a Google Doc), then calling library functions from the Doc. What is a Google Apps Script Library? A library is a reusable Apps Script project you publish so other scripts can include it. Instead of copy/pasting … Read more

Apps Script and Gemini Powered Google Sheets Tools

📘 Lesson 6 — Gemini-Powered Google Sheets Tools (Menus, Selections & AI Output) Blog Post #6 in the Apps Script + APIs + Gemini Series Calling Gemini is powerful.But calling Gemini inside Google Sheets is transformative. In this lesson, you’ll learn how to turn Gemini into a native Sheets assistant—able to explain data, summarize selections, … Read more

Calling Gemini from Google Apps Script

📘 Lesson 5 — Calling Gemini from Google Apps Script (Text Prompts → AI Responses) Blog Post #5 in the Apps Script + APIs + Gemini Series Up to this point, you’ve learned how to: Now it’s time to bring AI into your Apps Script projects. In this lesson, you’ll learn how to call Google’s … Read more

Apps Script Examples Gemini Embedding

Below are ready-to-paste Google Apps Script examples you can add to your blog post, covering the two most useful embedding workflows: Replace YOUR_API_KEY_HERE with your key.These examples use the Generative Language API style endpoint. A) Minimal: Create an embedding for a text string B) Store document chunks + embeddings in Google Sheets This creates a … Read more

API Keys Secrets and Secure Configuration in Google Apps Script

📘 Lesson 4 — API Keys, Secrets & Secure Configuration in Google Apps Script Blog Post #4 in the Apps Script + APIs + Gemini Series If you’ve ever seen code like this: …you’ve already seen a problem. In this lesson, you’ll learn how to properly store and manage secrets (API keys, tokens, configuration values) … Read more

Google Docs Cleanup Toolkit

https://github.com/lsvekis/Doc-Cleanup-Toolkit User & Developer Guide This guide explains what the Google Docs Cleanup Toolkit does, how to use it safely, and how each part of the system fits together. 1. What This Toolkit Is The Google Docs Cleanup Toolkit is a Google Apps Script project that helps you: It is designed to be: 2. Who … Read more

Clean Up a Google Doc with Apps Script

Clean Up a Google Doc with Apps Script: Bullets → Dashes, Headings Down a Level, and No More Blank-Line Spam If you’ve ever copied content into Google Docs from a website, PDF, or another editor, you’ve probably seen the usual mess: This post walks through three simple Google Apps Script functions that clean up an … Read more

Build Your First Google Apps Script Web App

📘 Lesson 3 — Build Your First Google Apps Script Web App (HTML + APIs) Blog Post #3 in the Apps Script + APIs + Gemini Series Up until now, you’ve been running Apps Script functions from the editor or triggering them from Sheets and Docs. In this lesson, everything changes. You’ll build a real … Read more