AI Content Generator for Google Docs

Issue #2 https://github.com/lsvekis/apps-Script-Gemini-Repo AI Content Generator for Google Docs Write blog posts, lesson plans, summaries, outlines & formatted documents using Gemini — all from a custom Apps Script menu. ⭐ What You Will Build in Issue #2 A full AI Content Generator inside Google Docs with menu items like: AI Tools    → Generate Blog Post … Read more

How to Chunk Data in Google Apps Script

https://github.com/lsvekis/Chunk-your-data-Google-Apps-Script How to Chunk Data in Google Apps Script (So You Don’t Hit “Exceeded Maximum Execution Time”) If you work with large spreadsheets or big Drive folders in Google Apps Script, you’ve probably seen this error: Exception: Exceeded maximum execution time Most Apps Script executions have a hard time limit (often around 6 minutes per … Read more

Your First API Call with Google Apps Script UrlFetchApp Guide

📘 Lesson 1 — Your First API Call with Google Apps Script (UrlFetchApp Guide) Blog Post #1 in the Apps Script + APIs + Gemini Series Working with APIs is one of the most important skills you can learn as a Google Apps Script developer. Whether you’re building dashboards, automating workflows, or integrating AI tools … Read more

Gemini and Google Workspace Toolkit

Github https://github.com/lsvekis/20-Gemini-Exercises Google Docs & Google Sheets AI Helpers with Custom Menus This toolkit lets you add Gemini-powered AI features directly into: All with: 🧱 1. Project Structure You’ll create two separate container-bound projects: A) Google Docs toolkit (Doc-bound) Files: B) Google Sheets toolkit (Sheet-bound) Files: The same SharedHelpers.gs code can be reused in both … Read more

Lesson 4 – Leveling Up Your Gemini RAG Assistant

Github https://github.com/lsvekis/Google-Apps-Script-APIs-and-Gemini 4A: RAG + API Data · 4B: Sheet Vector Index · 4C: Chat History By now, you’ve already built a powerful foundation: In Lesson 4, we’re going to level this up in three big steps: By the end, you’ll have an assistant that: 📘 Lesson 4A — Combine RAG + API Data in a … Read more

Lesson 3 Adding Embeddings Retrieval RAG to Your Gemini API Project

Github https://github.com/lsvekis/Google-Apps-Script-APIs-and-Gemini In Lessons 1 and 2, you learned how to: – Call public APIs using Apps Script – Read text from a Google Drive folder – Combine both sources into a Gemini prompt – Build a full UI web app Now it’s time to level up. In Lesson 3, we introduce: – Chunking (splitting documents … Read more

Fixing Google Docs Formatting: How to Convert Bullet Points Into Dashes Using Apps Script

Anyone who works regularly in Google Docs knows the pain:You paste content from the web, a PDF, an email, or another document—and suddenly your bullets have weird spacing, broken formatting, or mystery blank lines that refuse to go away. You try deleting them manually.You try changing line spacing.You even try Apps Script code others recommend… … Read more

Build an API + Drive + Gemini Web App

📘 Lesson 2 — Build an API + Drive + Gemini Web App (No Indexing, Just Context) Github https://github.com/lsvekis/Google-Apps-Script-APIs-and-Gemini In Lesson 1, you learned how to: Now in Lesson 2, we’ll go one level up: You’ll build a chat-style web app where each question is answered using: No embeddings, no indexing — just direct context: … Read more

Getting Data from APIs with Google Apps Script

Github Repo https://github.com/lsvekis/Google-Apps-Script-APIs-and-Gemini In this project, your Hybrid AI Orchestrator pulls in real data from the web using APIs and then lets AI (local model + Gemini) interpret that data. To do that, we need to understand one key tool: UrlFetchApp — the Apps Script class that lets you call APIs. In this lesson you’ll … Read more

Demote All Headings in a Google Doc Using Apps Script

(H1 → H2, H2 → H3, etc.) When working with long Google Docs—course outlines, documentation, manuscripts, or AI-generated content—you often need to shift all heading levels down by one. For example: Doing this manually in a long document is tedious. Fortunately, Google Apps Script makes it possible to automate this task in seconds. This post … Read more