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

Supercharge Your Google Docs: Clean Up Messy Documents with Google Apps Script

If you’ve ever copied and pasted content into a Google Doc, you know the pain: Over time, your documents can become cluttered and hard to manage. But what if you could automate the cleanup process in a single click? With Google Apps Script, you can! Below, I’ll share a script that cleans up your Google … Read more

Google Apps Script for Google Docs: Comprehensive Guide

Google Apps Script for Google Docs: Comprehensive Guide Google Apps Script is a cloud-based JavaScript platform that allows you to automate tasks and extend the functionality of Google Docs. This guide covers the basics, key methods, detailed examples, and exercises to master Google Apps Script with Google Docs. What is Google Apps Script? Google Apps … Read more