Build a Google Drive RAG System in Apps Script

🚀 Apps Script + Gemini Mastery — Issue #4 https://github.com/lsvekis/rag-script-Gemini-Rag Bring context-aware AI answers to your own documents — summaries, explanations, knowledge extraction, and more. ⭐ What You Will Build in Issue #4 A fully functioning RAG pipeline, completely in Apps Script: This is the same technique used in advanced AI apps — now fully … Read more

Google Docs Gemini AI Toolkit 5 more Exercises

Gemini just made Google Docs a whole lot smarter. In this upgrade, you’ll unlock five new AI-powered tools that supercharge your writing workflow—expanding content, rewriting tone, generating titles, extracting bullet-point insights, and even proofreading your text. With a clean Apps Script file and a custom “Gemini AI” menu, any Google Doc becomes your own intelligent … 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

Supercharge Google Docs with Gemini AI

Github https://github.com/lsvekis/20-Gemini-Exercises 📘 Google Docs + Gemini AI — Complete Guide for Beginners Build AI-powered writing tools directly inside Google Docs using Apps Script This guide walks you through five AI tools you can add to any Google Doc using Apps Script and Google’s Gemini API. You’ll learn how each function works, how to use … 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

100 Useful Google Docs Apps Script Functions (That Every Docs Power-User Should Know)

Google Docs + Apps Script is a magic combo for automating writing workflows, templates, formatting, and reporting. https://github.com/lsvekis/100-Useful-Google-Docs-Apps-Script-Functions In this post, you’ll get 100 tiny utility functions you can drop into your own projects. Each one is: Tip: Create a single .gs file called docsHelpers.gs and paste all the functions there. Then call them from … Read more

Build a Google Docs AI Chatbot with Apps Script and Gemini

​​GitHub https://github.com/lsvekis/Google-Docs-AI-Chatbot-using-Apps-Script-Gemini PDF Have you ever wished you could drop a Google Doc into a chatbot and ask questions about it—and have the bot answer only from that document? In this post, you’ll build exactly that: An Apps Script-powered web app that lets the user select a Google Doc, then chat with an AI agent … Read more

Supercharge Google Docs with Doc Power Tools 10 Must-Have Apps Script Utilities

Google Docs is already a versatile writing tool, but with Apps Script you can make it truly powerful. I’ve created a single-file utility pack called Doc Power Tools that adds a custom menu to your Google Docs with 10 of the most-requested automation features—things like inserting a clickable Table of Contents, cleaning formatting, running mail … Read more

Copy Google Docs Heading Styles with Apps Script

Why This Post Exists If you’ve tried to clone heading styles (H1–H6, Title, Subtitle) from one Google Doc to another using Apps Script, you probably hit this wall: Invalid JSON payload received. Unknown name “updateNamedStyles”… Yep—updateNamedStyles isn’t supported for write operations in the Docs API (at least for now). You can read the named styles, … Read more

100 Common Google Docs Apps Script Examples

This document provides a comprehensive collection of Google Apps Script examples tailored for Google Docs. Each script is designed to automate common tasks, enhance productivity, and extend the functionality of your documents. 1. Basic Document Access & Creation These scripts cover the fundamental ways to access existing documents, create new ones, and get references to … Read more