Build Real Products with LLMs, RAG, and Intelligent Interfaces
Tell us what's wrong and we'll take a look.
Thanks – we got it. We'll review and follow up if needed.
Artificial Intelligence is no longer experimental - it's already embedded in how we work, teach, and collaborate. But most AI resources focus on flashy demos, abstract theory, or autonomous systems that simply don't belong in real organizational environments.
This book takes a different approach.
Practical AI with Google Apps Script is a hands-on, system-level guide to building safe, trustworthy, and production-ready AI tools directly inside Google Workspace using Google Apps Script.
Instead of building standalone AI apps that ignore permissions, governance, and accountability, you'll learn how to design AI that works where people already work - inside Google Docs, Sheets, Forms, Drive, and Gmail - without breaking trust.
What This Book Teaches YouThis book goes far beyond basic AI API calls. You'll learn how to:
- Integrate AI responsibly into Google Docs and Sheets
- Build AI sidebars, helpers, and assistants using Apps Script
- Design AI workflows that support humans instead of replacing them
- Use Retrieval-Augmented Generation (RAG) safely with Google Drive
- Enforce validation, structured outputs, and guardrails
- Handle errors, retries, quotas, and performance limits
- Scale AI tools across teams and institutions
- Maintain and evolve AI systems over time
Every example is grounded in real constraints: security reviews, IT policies, academic integrity, performance limits, and long-term maintenance.
A Human-Centered AI PhilosophyThroughout the book, a clear principle is enforced:
AI informs. Code decides. Humans approve.
You'll learn how to:
This makes the book especially valuable for educators, developers, and organizations that need AI tools they can defend, explain, and trust.
Real Projects, Not Toy ExamplesYou'll build complete, reusable systems such as:
- AI assistants inside Google Docs
- AI-powered spreadsheet analysis tools
- Forms → AI → workflow automation pipelines
- Drive-based knowledge bots using RAG
- AI quality and document cleanup tools
- Insight dashboards that explain data instead of altering it
Each project includes architecture explanations, design decisions, and safety considerations - not just code.
Who This Book Is For✔ Google Apps Script developers
✔ JavaScript developers working with Workspace
✔ Educators integrating AI responsibly
✔ Instructional designers and institutions
✔ Internal tooling and automation teams
✔ Anyone who needs AI to work in real environments
If you've ever thought "AI looks powerful, but I don't trust it yet" - this book is for you.
What Makes This Book DifferentUnlike most AI books, this one focuses on:
- Responsible AI design
- Long-term maintainability
- Governance and transparency
- Human-in-the-loop workflows
- Real Google Workspace constraints
You won't just learn how to use AI - you'll learn how to engineer intelligent systems that people actually trust.
Includes a Full GitHub Reference RepositoryThe book is paired with a complete GitHub reference implementation containing:
- Docs and Sheets add-ons
- AI service layers
- Prompt and validation systems
- RAG-Lite Drive search
- Workflow automation examples
Everything is designed to be reused, adapted, and extended.
If you want to build AI that actually belongs in Google Workspace - this book shows you how.
Laurence Svekis is an experienced web application developer. He has worked on multiple enterprise-level applications, hundreds of websites, business solutions, and many unique and innovative web applications. He has expertise in HTML, CSS, JavaScript, jQuery, Bootstrap, PHP, and MySQL and is also passionate about web technologies, web application development, programming, and online marketing with a strong focus on social media and SEO. He is always willing to help his students experience what technology has to offer and looks forward to sharing his knowledge and experiences with the world.
Readwise Books is an ebook & audiobook platform that automatically logs how much you and your friends read, making it fun and easy to read more. Learn more →
Enter your email to continue. We'll create your account if you're new here.